I am trying to install magento on my linux machine. I am using ddev quick start for magento . https://ddev.readthedocs.io/en/stable/users/quickstart/#magento-2
I am getting the following error for ddev launch
:
503: No ddev back-end site available.
This is the ddev-router container: There is no back-end webserver at the URL you specified. You may want to use "ddev start" to start the site.
I was initially encountreing 404 nginx errors upon launching, after which I ran the following.
ddev poweroff
docker rm -f $(docker ps -aq)
ddev restart
The above resolved the 404 error. But now I am seeing the 503. I have tried the following things from the troubleshooting --
- ddev poweroff docker rm -f $(docker ps -aq)
- ddev debug dockercheck
- ddev debug test
- Restart Docker
- Try the simplest possible DDEV project
- sudo service nginx stop
- sudo apachectl stop
- Method 2: Fix port conflicts by configuring your project to use different ports
- sudo lsof -i :443 -sTCP:LISTEN
- sudo lsof -i :8443 -sTCP:LISTEN (EMPTY)
my .ddev/config.yaml file looks like this
I am using docker ce, not docker desktop. I am using ubuntu with the following details--
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
Due to issues with filename encryption, the magento folder resides outside the home directory.