ddev

How can I find out what's going wrong with a ddev container, or see the logs?

半腔热情 提交于 2020-01-15 14:10:52
问题 I'm working on a project using ddev and I don't know how to troubleshoot things because they're hidden in the containers they run in. For example, I've tried ddev logs but it doesn't give me enough information. 回答1: ddev logs is the first line of investigation. It gets the logs of the web container (both the nginx error log and the php-fpm error log, mixed together). Extra approaches: You could probably (temporarily) remove any custom nginx/php/mysql configuration that you might have added to

How do I get xdebug/step-debugging working with ddev?

南笙酒味 提交于 2020-01-03 02:26:08
问题 I've been working with ddev on my Drupal projects, and now want to use xdebug so I have step-debugging with PhpStorm (or really any IDE would be fine). But I can't seem to get it to stop on breakpoints. I tried to follow the instructions in ddev docs but that doesn't do get me going, and I don't know what to do next. I did: Set the 172.28.99.99 IP address as discussed there Enabled xdebug using config.yaml xdebug_enabled: true and ddev start (and checked with phpinfo to see that xdebug was

How do I get xdebug/step-debugging working with ddev?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-03 02:25:16
问题 I've been working with ddev on my Drupal projects, and now want to use xdebug so I have step-debugging with PhpStorm (or really any IDE would be fine). But I can't seem to get it to stop on breakpoints. I tried to follow the instructions in ddev docs but that doesn't do get me going, and I don't know what to do next. I did: Set the 172.28.99.99 IP address as discussed there Enabled xdebug using config.yaml xdebug_enabled: true and ddev start (and checked with phpinfo to see that xdebug was

How to access phpmyadmin on DDEV Windows 10 pro localhost with SSL record too long error

别等时光非礼了梦想. 提交于 2019-12-24 20:38:49
问题 I am using DDEv and Docker with Windows 10 pro to set up a localhost install of drupal 8.8 using Composer. I have set up and configured the local drupal installation (it is a fresh install) and it appears to be running correctly, but in the admin section of the drupal site I receive a warning to change write permissions of sites/default/settings.php. I tried to change settings using Filezilla, but it appears that local files in Filezilla do not provide access to write permissions? When I

Communication between two ddev projects

回眸只為那壹抹淺笑 提交于 2019-12-24 11:07:41
问题 I got two ddev projects that needs to interact with each other. When a ran into some issues, I check the resolved IP for the connection. I did it by ssh into project1 and ping project2 ( ping project2.ddev.local ) The domain resolves to 127.0.0.1 So every request I send to this domain will stay in the current container and is not routet to the other project. Steps to reproduce: Start two separate ddev containers and ssh into one of them. Try to ping the the other project by using the ddev

What's the fastest way to install and set up TYPO3 locally?

房东的猫 提交于 2019-12-23 09:39:28
问题 I want to install and set up TYPO3 on my local machine. What's the best practice and fastest way to do so? 回答1: For running TYPO3 on a local machine you need a web server running on your machine. This can be done in different ways: Native Web Server, PHP and database on a Linux based machine Virtual Machine (VirtualBox, VMWare, Parallels, etc.) Vagrant Docker Currently the fastest way to a "non power user" in my opinion is ddev. ddev is a user-friendly possibility to run a perfect environment

I get an `ngnix 403 Forbidden' when starting ddev

空扰寡人 提交于 2019-12-14 03:55:59
问题 After starting my ddev project and hitting it with the web browser I suddenly started getting `ngnix 403 Forbidden / directory index of "/var/www/html/" is forbidden' or just '403 Forbidden', and I can't figure out why. This worked earlier. 回答1: This could mean that Your project directory is not mounted Or the project directory is mounted but there is no index.php or index.html in the docroot (or that the docroot is misconfigured, so to nginx and ddev it appears no index is available) To find

Project files missing in container DDEV / Typo3 Windows 10

倖福魔咒の 提交于 2019-12-12 01:05:03
问题 I have Docker Toolbox V18.03 running on a Windows 10 machine, together with DDEV 1.0 and Typo3 . When I run ddev start , the containers are starting and I can access to the container with ddev ssh . But the project files from my host are not copied to the container. This solutions here I get an `ngnix 403 Forbidden' when starting ddev won't fix my issue ... 回答1: That basically means that docker-toolbox is not mounting your project at all, and of course nothing about ddev can work in that case

Where did the ssh client go in ddev v1.3.0?

僤鯓⒐⒋嵵緔 提交于 2019-12-11 13:38:31
问题 I use ssh inside the ddev web container, and it was there just fine until ddev v1.3.0. Where did it go and how do I get it back? 回答1: Unfortunately the base container used for the web container dropped the openssh-client Debian package in this upgrade and we didn't catch that. It will be fixed in v1.4.0 or sooner (November 2018) In the meantime, you can: (easiest and fastest): Add webimage: drud/ddev-webserver:20181017_add_ssh to your .ddev/config.yaml (don't forget to remove it next time you

How can I enable an Apache module on ddev?

好久不见. 提交于 2019-12-11 06:37:28
问题 I'm using webserver-type: apache-fpm with ddev and need to enable a module. How do I do that? 回答1: You can use a2enmod in the web container and then apachectl graceful to restart apache to pick up the changes. So ddev ssh and then a2enmod headers && apache2ctl graceful (if you were enabling the "headers" module) Using ddev exec: ddev exec "a2enmod headers && apache2ctl graceful" Using a post-start hook: hooks: post-start: - exec: a2enmod headers && apache2ctl graceful 来源: https:/