Cannot create new site (Error: Cannot create/start proxy container)
I've already got 1 wp-type website running on my server, I had no issues creating this one and it's working fine, I can access the site etc. But when I went to create a 2nd website, I get this error when attempting to create the site:
"Cannot create/start proxy container. Please make sure port 80 and 443 are free."
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
EE 4.0.0-rc.1
+-------------------+----------------------------------------------------------------------------+
| OS | Linux 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 |
| Shell | /bin/bash |
| PHP binary | /usr/bin/php7.2 |
| PHP version | 7.2.11-3+ubuntu16.04.1+deb.sury.org+1 |
| php.ini used | /etc/php/7.2/cli/php.ini |
| EE root dir | phar://ee.phar |
| EE vendor dir | phar://ee.phar/vendor |
| EE phar path | /home/ecommerce |
| EE packages dir | |
| EE global config | /opt/easyengine/config/config.yml |
| EE project config | |
| EE version | 4.0.0-rc.1 |
+-------------------+----------------------------------------------------------------------------+
I power cycled my server and now my 1st website has been deleted from the server :\ -- I'm not using AWS EC2's or anything like that -- my storage is not ephemeral it's all dedicated SSD, RAM CPU etc. How could it have been deleted?? What dir is the database stored in so I can see if that's been wiped too?
And now I can't even re-create my 1st website because of the same error as above.
I self-uninstalled and re-installed. I can create multiple sites now. My previous install I was on an older version of EE before upgrading to RC1 -- this one now is obviously a fresh install straight to RC1. I'll monitor it over the coming days to see if it stops me from creating sites again.
I still want to know how it was possible for all my files to be deleted, I am nervous that will happen again if I ever need to power cycle my server. That would be a disaster (although there is an additional SSD attached to the server that clones the main drive daily).
@b167er Can you use v4 stable to create a test site and let us know if the issue still persists?
@kirtangajjar - I am facing similar issue on EE4.
+-------------------+------------------------------------------------------------------------------------------------------------+
| OS | Darwin 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X8 |
| | 6_64 x86_64 |
| Shell | /bin/zsh |
| PHP binary | /usr/local/Cellar/php/7.2.12/bin/php |
| PHP version | 7.2.12 |
| php.ini used | /usr/local/etc/php/7.2/php.ini |
| EE root dir | phar://ee.phar |
| EE vendor dir | phar://ee.phar/vendor |
| EE phar path | /Users/prasadnevase |
| EE packages dir | |
| EE global config | /Users/prasadnevase/easyengine/config/config.yml |
| EE project config | |
| EE version | 4.0.0 |
+-------------------+------------------------------------------------------------------------------------------------------------+
The following helped me to solve the issue:
- Checked if localhost is running.
telnet localhost 80 - It was running. Means port 80 was being used. Checked which other service was using port 80
sudo lsof -i ':80' - This showed me that apache was running and using port 80. So, I stopped that service
sudo apachectl stop - Then checked again if the port is free now.
sudo lsof -i ':80' - port was free
After this ee site create worked fine.
I self-uninstalled and re-installed. I can create multiple sites now.
The issue seems resolved as apache causing the issue for @ItsMePN. While for @b167er it was beta update specific and will not be faced in the stable version.
Closing the issue.