Easyengine breaks after server reboot

未关闭
#1,420 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
linux, nginx, php

调研方向

在 Ubuntu 18 上使用 EasyEngine 4.0.14 重现报告的操作序列:创建一个 SSL WordPress 站点,重启 EC2 实例,然后再创建另一个站点。跟踪 nginx-proxy 与 /opt/easyengine/config/config.yml 的端口比较;重启后创建站点成功且不出现端口不匹配错误即表示完成。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
PHP
星标
2.2k
派生
422
平均合并
2 小时 15 分钟
30 天内合并 PR
9

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

EasyEngine/easyengine 的其他 Issue

查看 EasyEngine/easyengine 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。