Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ghost
    @ghost~5d8e11f7d73408ce4fcc3bc9
    Is there a command for my error logs for a ddev container?.
    Randy Fay
    @rfay
    @crydotsnake ddev logs. ddev logs -s db for db container, etc. Try ddev -h for help, ddev logs -h or ddev help logs for specific command help
    Ghost
    @ghost~5d8e11f7d73408ce4fcc3bc9
    Thanks.
    Have DDEV Trouble with .htaccess files?.
    Are there some issues right now?.
    Randy Fay
    @rfay
    .htaccess files are for Apache. Nginx is the default webserver for ddev, and nginx ignores htaccess. But you can easily switch to Apache in the config.yaml.
    Ghost
    @ghost~5d8e11f7d73408ce4fcc3bc9
    Okay.
    Ghost
    @ghost~5d8e11f7d73408ce4fcc3bc9
    New PR is out! :)) drud/ddev-contrib#19
    Randy Fay
    @rfay
    Excellent
    Ghost
    @ghost~5d8e11f7d73408ce4fcc3bc9
    :D
    Andreas van Hulst
    @motormord
    Hello @all! Is it possible to provide MariaDB 10.3 in ddev? or to create an individual DB container?
    Randy Fay
    @rfay
    There's not direct support at this time, but you're the first to ask I think.
    Could you say why you want 10.3?
    in the SQL section ;-)
    Randy Fay
    @rfay
    I'm definitely surprised at that requirement, wonder why it is. But it would be good for us to have 10.3, even though the workaround isn't hard. Could you make an issue requesting it?
    Andreas van Hulst
    @motormord
    @rfay Sure, issue #1870. Thanks a lot
    Randy Fay
    @rfay
    Started working on that already, inspired by you, thanks
    But as I answered in the issue there's a good workaround for the short term.
    Ghost
    @ghost~5d8e11f7d73408ce4fcc3bc9
    Dont forget my PR ! :D
    Randy Fay
    @rfay
    I absolutely won't, just too many things pressing, and traveling the next couple of weeks, but looking forward to that landing. Thanks for it!
    Ghost
    @ghost~5d8e11f7d73408ce4fcc3bc9
    No problem! :)))
    Dominik Weber
    @do-web
    How can i change the mysql default user,pw and database?
    Dominik Weber
    @do-web
    @rfay ?
    Randy Fay
    @rfay
    Hi @do-web - I would recommend adding a new user, not changing. You can't change the db/db/db/db setup that ddev provides, but you can ddev mysql -uroot -proot and do anything you want: GRANT ALL ON db.* TO mynewuser IDENTIFIED BY 'somepassword';
    Dominik Weber
    @do-web
    ok thanks, and how can i import / export with the import-db command the other database?
    Randy Fay
    @rfay
    The way I usually would do it would be ddev mysql -uroot -proot <databasename> < db.sql or gzip -dc db.sql.gz | ddev mysql -uroot -proot <databasename>. There are several other ways.
    Dominik Weber
    @do-web
    How can i disable a php extension e.g. igbinary
    Randy Fay
    @rfay
    Just ddev exec phpdismod igbinary (or ddev ssh and phpdismod igbinary
    Randy Fay
    @rfay
    If you want to permanently disable, change the igbinary config by changing php config, See https://ddev.readthedocs.io/en/latest/users/extend/customization-extendibility/#providing-custom-php-configuration-phpini - I'm not 1000% sure I know how to do that right. What problem are you trying to solve?
    Dominik Weber
    @do-web
    I just want to permanently disable the igbinary extension, cause of typo3 warning
    And i cant delete a project from ddev list, ddev stop --unlist name, is not working
    Cause of renaming a project i have the project twice in the list, so i also tried to delete both, nothing worked here to delete it from the list
    Randy Fay
    @rfay
    Just kill the offending item by editing ~/.ddev/global_config.yaml and removing the lines
    Dominik Weber
    @do-web
    i already looked there, but the entry is only in there once, but in ddev list it appears twice
    Another question is, how can I create an image for the production environment with ddev? Is there any guidance or proven procedure
    Randy Fay
    @rfay
    Please ddev poweroff. Then ddev list. It should show exactly and only what you see in ~/.ddev/global_config.yaml. If you see anything else, just kill the whole project_info section.
    ddev-local doesn't have any support for using its docker images for production use. It's focused on local development, and the docker images are highly tuned for local dev. For example... passwordless sudo in the container.
    Dominik Weber
    @do-web
    ok thanks!
    Dominik Weber
    @do-web
    Hi everyone, the fallowing do not work: webimage_extra_packages: [php7.3-ldap] can anyone help please?
    Service 'web' failed to build: The command '/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests php7.3-ldap' returned a non-zero code: 100'
    Randy Fay
    @rfay
    @do-web I imagine that's the same as drud/ddev#1947 and it's fixed in v1.12.0, so if you're not on v1.12.0, please upgrade.
    Dominik Weber
    @do-web
    ok thanks
    Simon
    @crydotsnake
    hi all
    Simon
    @crydotsnake
    Randy Fay
    @rfay
    Welcome @crydotsnake
    Simon
    @crydotsnake
    Thanks :))))
    Dominik Weber
    @do-web
    Hi, i have a problem. 3 Seconds after a php call i get 502 error: recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 172.18.0.6, server: _, request: "PATCH /webhooks/2 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:" how can i check whats wrong?
    Randy Fay
    @rfay
    Hi @do-web - that's what you're seeing in ddev logs, right? That's normally when the fpm worker dies for some reason. If ddev logs doesn't give you any more clues, then try changing PHP version (especially to newer) in case a php bug has been fixed. Otherwise try to figure out exactly what piece of code triggers it.