easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

Easyengine breaks after server reboot

Open pojke opened this issue 5 years ago • 2 comments

This is a serious bug in the latest version. Ubuntu 18, AWS EC2, follow the steps:

  1. Install EE
  2. Create WP site with SSL
  3. Reboot the EC2 instance
  4. Create another WP site

The error:

ubuntu@ip-172-31-7-49:~$ sudo ee site create test.com
Error: Ports of current running nginx-proxy and ports specified in EasyEngine config file don't match.
+-------------------+-------------------------------------------------------------------------+
| OS                | Linux 4.15.0-1039-aws #41-Ubuntu SMP Wed May 8 10:43:54 UTC 2019 x86_64 |
| Shell             | /bin/bash                                                               |
| PHP binary        | /usr/bin/php7.2                                                         |
| PHP version       | 7.2.18-1+ubuntu18.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/ubuntu                                                            |
| EE packages dir   |                                                                         |
| EE global config  | /opt/easyengine/config/config.yml                                       |
| EE project config |                                                                         |
| EE version        | 4.0.14                                                                  |
+-------------------+-------------------------------------------------------------------------+

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

pojke avatar May 23 '19 09:05 pojke

Please check this https://github.com/EasyEngine/easyengine/issues/1251

kfathy194 avatar May 24 '19 22:05 kfathy194

Thanks @kfathy194 for response. It took me days to figure out what the problem is. The problem is Nginx Proxy docker container config file. For version 4.10 I had this config added

proxy_connect_timeout 1800;
proxy_send_timeout 1800;
proxy_read_timeout 1800;

After the upgrade to 4.14 this creates an error:

Error: Ports of current running nginx-proxy and ports specified in EasyEngine config file don't match.

What's changed between versions and how do I increase the timeout of Proxy Docker now?

pojke avatar May 29 '19 03:05 pojke