Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jeremy Simmons
    @jeremysimmons
    turns out my nfsd was disabled after the update.
    and /etc/exports was gone
    Randy Fay
    @rfay
    You can just run the install script and will be fine then.
    Jeremy Simmons
    @jeremysimmons
    thanks @rfay - I just found those here: https://ddev.readthedocs.io/en/stable/users/performance/#macos-nfs-setup, have rerun and all is fine and well again
    bizarre that upgrading to big-sur wiped that out
    Randy Fay
    @rfay
    Glad you got it going
    Fabian Iwand
    @mootari

    Hi, whenever I run a command via ddev (e.g. ddev composer) I get the message

    not adding command drush (/Users/*****/.ddev/.global_commands/web/drush) because it was already added to project *****

    How can I get rid of that message?

    2 replies
    Andrew McCormick
    @buckeye_fan_twitter
    having an issue with adding a second docroot to my project. The second docroot works, but now all my traffic is being routed to the second docroot even when using the main site's URL.
    the URL for my main project is eecom.test
    the URL for my second site is eeu.eecom.test so I have the following defined root /var/www/html/eeu; and server_name eeu.eecom.test; and have simply called the conf file eeu.conf . I've also defined additional_hostnames: [eeu.eecom] in my projects config.yaml.
    If I remove that secondary conf file, everything works as expected. Am I missing a step?
    48 replies
    Randy Fay
    @rfay
    @digit42 I got notification of your message, but can't figure out where it is. Maybe you deleted it. You said "Hi, sorry if this is not the right place to post. I have the same problem as @cobyl but with one difference: I also get this connection refused error but don't have any services running on ports 443 or 80"
    20 replies
    Andrew McCormick
    @buckeye_fan_twitter
    @rfay just fyi. I got a new Chromebook specifically so I could run Docker and do more actual work on my Chromebook (my old Chromebook was never going to get the Crostini support).
    I read your article here: https://www.ddev.com/ddev-local/ddev-docker-chromebook/ which was great to get started.
    A few things I'd add:
    • I suggest adding a sudo password sudo passwd [username] . I had issues installing Linuxbrew because by default there is no password set, but it kept asking for a sudo password for some reason. Once I re-installing using a sudo password, I had no issues. This could be a just me type issue.
    • you mentioned using the LiveHosts chrome ext. This worked ok. But even better was just installing Firefox in the Linux container. By doing so, Firefox runs in the container and thus doesn't need any redirects for the domains. Just install via flatpack (https://support.mozilla.org/en-US/kb/run-firefox-chromeos). The biggest reason to do this is that I can now access sites via https in Firefox.
      Other than I got Docker and DDEV running without issue. Thanks for the guide.
    3 replies
    CreateSean
    @CreateSean
    Hi - I've been using DDEV on windows with hyper-v and am happy enough, but I wanted to see the difference using WSL and ubuntu. I've followed the install instructions but now I don't know how to find my existing projects which are in D://sites/<project-name>
    I've got DDev installed on WSL but don't know how to do anything at this point. I've got 20+ projects working in Windows Hyper-v. Where do I go from here? The docs don't really explain what to do after installing in WSL https://ddev.readthedocs.io/en/stable/#homebrewlinuxbrew-macoslinux
    6 replies
    Jeremy Simmons
    @jeremysimmons
    howdy yall. anyone having any issues running ddev ddev version v1.16.5 w/ Docker Desktop 3.1 MacOS?
    4 replies
    Guilherme LΓΊcio
    @guilhermecaixeta
    Hi all, I've a doubt about how to enable the log-bin in the MariaDB container, I've been using the version 10.2 and I already tried override the docker-composer configuration do add the command, I also tried use the command folder and none of these worked for me. Has someone that could help me with this?
    4 replies
    Nick Weisser
    @nickw108
    Hi there, I started up DDEV local after some time and see an expired SSL certificate. Didn't find any documentation on how to fix that. Here's a screenshot https://www.evernote.com/l/AIyTBeCx2ShFW7xSn_mm02_T7iIENVkhXQ8
    8 replies
    Nick Weisser
    @nickw108
    Hello again, I'd like to use https://github.com/netz98/n98-magerun for a Magento 1 project and didn't find any documentation about it. I thought it's already included in DDEV πŸ€”
    4 replies
    S Wulf
    @DustRaven
    Hi all :) I'm currently trying to follow https://susi.dev/ddev-phpstorm-integration to add ddev as php remote interpreter in phpstorm, but somehow I get "Connection refused" when trying to ssh into the ddev container
    44 replies
    Thomas
    @alpham8
    Hey guys, after Linux Distro upgrade, when I try to run ddev start, I got this error message: The docker version currently installed does not meet ddev's requirements: Invalid Semantic Version What does that mean?
    docker --version shows me: Docker version 20.10.3_ce, build 46229ca1d815 and ddev --version: ddev version v1.15.3.
    I'm on openSUSE Tumbleweed 20210208
    33 replies
    S Wulf
    @DustRaven
    It's me again :D I'm having a problem with CORS which I can't seem to solve... I'm sending custom header fields which are rejected by preflight when I try to load google fonts
    3 replies
    I tried to add headers to index.php, in the nginx conf, via nelmio cors... Nothing seems to work
    cmuench4
    @cmuench:muench.dev
    [m]

    @rfayI have a question about the tools listed on this page: https://www.ddev.com/ddev-local/

    What means "on the horizon"? Is there the idea to provide special containers for e.g. nodejs development?

    2 replies
    cmuench4
    @cmuench:muench.dev
    [m]
    @rfay for me it's not so Important to have n98-magerun pre-installed. Maybe it's useful for not so experienced people to have the tool always available.
    2 replies
    The tool is the most used cli extension. In OpenMage (M1) is no build-in cli tool. There is n98-magerun the only option.
    For M1 it's more important.
    cmuench4
    @cmuench:muench.dev
    [m]
    M1 is officially retired but there are hundreds of thousands shops still running on it.
    Also there is the OpenMage fork to fix security issues and to make it compatible to the latest PHP versions.
    I personally do not stick on M1, but other people do.
    2 replies
    Fabian Iwand
    @mootari
    @rfay There's a minor misspelling in a headline on https://github.com/drud/awesome-ddev: "Podcassts"
    6 replies
    Tommy McGahee
    @tommymcgahee

    Hello! I am trying to add browsersync to a ddev installation and am stumped at one part. When I run a script to create a dynamic proxy I get the below, but https://localhost:3000 won't resolve on my MacBook. FWIW I am running this in a node container outside of the DDEV stack using this run command, so I'm wondering if it's just outside of DDEV's routing and can't resolve the hostname?

    docker run --name "${PWD##*/}"-node -i -t --rm -p 3000:3000 -p 8000:8000 -p 3001:3001 --user 1000:1000 --workdir /var/www/html -v pwd:/var/www/html:cached -v pwd/node_modules node:latest bash

    node@b0df5d6bbde7:/var/www/html/tailwindcss$ npm run sync

    sync
    browser-sync start --proxy 'https://frameworks-replacement-sandbox.ddev.site/' --files '../shtdocs/assets/css/*.css'

    [Browsersync] Proxying: https://frameworks-replacement-sandbox.ddev.site

    [Browsersync] Access URLs:

       Local: https://localhost:3000
    External: https://172.17.0.2:3000

          UI: http://localhost:3001

    UI External: http://localhost:3001

    [Browsersync] Watching files...
    [Browsersync] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

    6 replies
    Randy Fay
    @rfay
    @tommymcgahee I hope you saw I answered in thread.
    Tommy McGahee
    @tommymcgahee
    Thank you! I will check it out.
    Fabian Iwand
    @mootari

    In https://ddev.readthedocs.io/en/stable/users/extend/database_types/ under Caveats, the last bullet point reads:

    Snapshots are always per-database-type. So if you have snapshots from MariaDB 10.2 and you switch to MariaDB 10.5, don't expect to be able to restore the old snapshot.

    The examples puts two versions of the same database type against each other, so I'm not sure about intended takeaway here. Presumably "per database type" is correct and the example has to be fixed?

    4 replies
    Fabian Iwand
    @mootari
    Hi, I'm encountering routing issues: I can access a project's files at https://127.0.0.1:PORT, but not at https://NAME.ddev.site. For the latter, only the webroot path "/" is accessible, every path below responds with "503: No ddev back-end site available". How can I analyze / debug this problem?
    3 replies
    Tommy McGahee
    @tommymcgahee

    @rfay I have browsersync running in its own container and it works when viewed at https://localhost:3000 or http://localhost:3001. I am trying to follow the stackoverflow answer that you sent the other day to make the browsersync proxy available at one of the web container ports but am having some trouble.

    This is my full custom YAML file. Would you mind taking a look and letting me know what's wrong? (I am having trouble getting markdown to accept my full code block so apologies for the formatting)

    version: '3.6'
    services:
    tailwindcss:
    container_name: ddev-${DDEV_SITENAME}-tailwindcss-postcss
    image: node:15.7
    user: "node"
    restart: "no"
    environment:

      - "TAILWIND_MODE=watch"
    labels:
      com.ddev.site-name: ${DDEV_SITENAME}
      com.ddev.platform: ddev
      com.ddev.app-type: php
      com.ddev.approot: $DDEV_APPROOT
    volumes:
      - "../:/var/www/html:cached"
    working_dir: /var/www/html/tailwindcss
    stdin_open: true
    command: ["npm", "run", "watch"]

    web:

    # ports are a list of exposed *container* ports
    expose: 
      - "3000"
    environment:
      - HTTP_EXPOSE=${DDEV_ROUTER_HTTP_PORT}:80,${DDEV_MAILHOG_PORT}:8025,3001:3000
      - HTTPS_EXPOSE=${DDEV_ROUTER_HTTPS_PORT}:80,${DDEV_MAILHOG_HTTPS_PORT}:8025,3000:3000

    browsersync:
    container_name: ddev-${DDEV_SITENAME}-browsersync
    image: node:15.7
    user: "node"
    restart: "no"
    labels:
    com.ddev.site-name: ${DDEV_SITENAME}
    com.ddev.platform: ddev
    com.ddev.app-type: php
    com.ddev.approot: $DDEV_APPROOT
    volumes:

      - "../:/var/www/html:cached"
    working_dir: /var/www/html/tailwindcss
    command: ["npm", "run", "sync"]
    Tommy McGahee
    @tommymcgahee

    @rfay I have browsersync running in its own container and it works when viewed at https://localhost:3000 or http://localhost:3001. I am trying to follow the stackoverflow answer that you sent the other day to make the browsersync proxy available at one of the web container ports but am having some trouble.

    This is my full custom YAML file. Would you mind taking a look and letting me know what's wrong? (I am having trouble getting markdown to accept my full code block so apologies for the formatting)

    Gist for the above since I can no longer directly edit it: https://gist.github.com/tommymcgahee/af8c83ca7c96c0d6377ccf75b46c978a

    7 replies
    Fabian Iwand
    @mootari
    Hi, do I keep ddev from rewriting a Drupal 7 settings file? Is there a setting to leave the file untouched?
    3 replies
    piep
    @piep:datenburg.org
    [m]

    Hi @all

    Perhaps someone here can help me:

    I love ddev for wordpress, really nice tool!

    The only 2 things I don't understand:

    How can disable to cli stdout output from th cli?
    Is there an way to disable the WP_DEBUG config by cli in the wp-conf-ddev?

    5 replies
    Thomas
    @alpham8

    I tried to set Environment Variables. So I edited the config.yaml with the additional following content:

    web_environment:
      - SHOPWARE_ENV=ddev

    But

    echo $SHOPWARE_ENV

    When using

    ddev ssh

    Shows nothing. What did I wrong?

    3 replies
    shuffgy
    @Shuffgy_twitter
    Hi, all. At work, I will soon (have to) switch from a Windows laptop to a MacBook M1. Now I just read that there is no support of MySQL with Docker and DDEV. However, all TYPO3 pages of the company run with MySQL. I assume that no one here works at Oracle and has more information about this, but maybe someone has tips / workarounds or knows if there is a solution for it? πŸ˜‡πŸ™ˆ
    2 replies
    Stefan Ivic
    @stefanivic
    Hello everyone, is there any way to access a local API from the docker container ? I have an ExpressAPI running on my machine ( not in docker ) that I wanna GET from inside the docker app.
    1 reply
    cmuench
    @cmuench:muench.dev
    [m]
    @rfay:
    Is there something broken with ddev.com ?
    Randy Fay
    @rfay
    Yes @cmuench:muench.dev - DDEV the company shut down completely a month ago, and took ddev.com with it a couple of days ago. I copied the content to https://ddevhq.org and updated all the links on https://github.com/drud/awesome-ddev to point there. DDEV-Local will continue, the transition plan is not completely clear yet. https://github.com/drud/ddev/discussions/3005
    10 replies
    Thomas
    @alpham8
    How can I completely uninstall the mkcert CA file? For a new site the certificate is not working - I get the browser warning
    12 replies
    Thomas
    @alpham8
    Can one ddev instance talk to another one? I need it for a Vue storefront
    5 replies
    Thomas
    @morgy:matrix.org
    [m]
    Hello, how do I access web_environment variables from config.yaml for global .ddev/commands?
    8 replies
    tirgrig
    @tirgrig
    Hi, all. I have many problems width ddev, docker, docker-compose. After change OS on openSuse Leap 15.2.
    1. The following exception probably indicates you are offline or have misconfigured DNS resolver(s)///// [Composer\Downloader\TransportException]
      curl error 28 while downloading https://repo.packagist.org/packages.json: Resolving timed out after 10000 milliseconds //// i get this after $ ddev composer create .... docker-compose version 1.25.1, build a82fef0
      docker-py version: 4.2.0
      CPython version: 3.6.13
      OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
    2. after ddev start i get 502: Unresponsive/broken ddev back-end site. I don't now why? 3. after ddev start Instrumentation is opted in, but SegmentKey is not available. Can they please help me???
    20 replies
    S Wulf
    @DustRaven
    Hi everyone :) Is there a way to use npm inside the container natively in PHPStorm?
    I can't seem to add a remote node.js interpreter like the php one >.>
    image.png
    4 replies
    Thomas
    @morgy:matrix.org
    [m]
    What's the best way to flush the php opcache for the web container? service php7.4-fpm restart just "kills" everything, like using ddev restart, just worse 😁
    5 replies
    Martin Tillmann
    @Mtillmann
    Hi Guys, after a recent windows update the router wont come up. I can't find anything specific to this issue, does anyone have a suggestion: ERROR: for ddev-router Cannot start service ddev-router: Ports are not available: listen tcp 127.0.0.1:8025: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
    4 replies
    morgy
    @morgy:matrix.org
    [m]
    WSL2: I'm getting mkcert may not be properly installed, we suggest installing it for trusted https support [...] but echo $CAROOT returns /mnt/c/Users/foo/AppData/Local/mkcert. mkcert -install is executed on Windows and WSL. What's wrong here?
    15 replies