EasyEngine / easyengine

Command-line control panel for Nginx Server to manage WordPress sites running on Nginx, PHP, MySQL, and Let's Encrypt
https://easyengine.io
MIT License
2.12k stars 431 forks source link

Error when enabling SSL with creation or updating #1823

Closed iamimmanuelraj closed 6 months ago

iamimmanuelraj commented 8 months ago

This issue tracker is only for issues related to EasyEngine. Please use https://github.com/EasyEngine/easyengine/discussions for support questions.

If you feel the issue is a EasyEngine specific issue, please attach the output of the following commands.

System Information

Server: Docker Engine - Community Engine: Version: 26.0.0 API version: 1.45 (minimum version 1.24) Go version: go1.21.8 Git commit: 8b79278 Built: Wed Mar 20 15:17:48 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0

image image

Happens when using --ssl-le when creating or updating site

FIX : go to your site: /opt/easyengine/sites/example.com and run docker compose down then docker-compose -f docker-compose.yml up -d nginx and docker compose up then you can rerun the command with --ssl and it will work

Thanks to @xieyt for the fix

dlackty commented 7 months ago

For those who uses ubuntu 20.04, you could downgrade docker-ce via following command as a workaround:

apt-get install docker-ce=5:25.0.5-1~ubuntu.20.04~focal
mrrobot47 commented 6 months ago

The issue has been fixed in https://github.com/EasyEngine/easyengine/releases/tag/v4.7.0 Which supports latest docker and docker compose

mrrobot47 commented 6 months ago

Update your setup using command

ee cli update