CloudPanel fails to start after reboot if a site's logs folder is deleted #90

Closed
opened 2026-04-05 20:25:27 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @M4RKUS28 on 5/13/2025

CloudPanel version(s) affected

2.5.1

Description

If the logs folder inside a site's directory ("logs") is deleted—such as via the Web File Manager—CloudPanel becomes completely unavailable after a server reboot. This is because nginx fails to start, as it cannot access the missing logs/nginx/ path.

How to reproduce

Open the Web File Manager in CloudPanel.

Navigate to an existing site.

Delete the logs/ folder.

Reboot the server.

CloudPanel becomes inaccessible because nginx cannot start (error regarding missing logs/nginx/ path)

Possible Solution

No response

Additional Context

No response

*Originally created by @M4RKUS28 on 5/13/2025* ### CloudPanel version(s) affected 2.5.1 ### Description If the logs folder inside a site's directory ("logs") is deleted—such as via the Web File Manager—CloudPanel becomes completely unavailable after a server reboot. This is because nginx fails to start, as it cannot access the missing logs/nginx/ path. ### How to reproduce Open the Web File Manager in CloudPanel. Navigate to an existing site. Delete the logs/ folder. Reboot the server. CloudPanel becomes inaccessible because nginx cannot start (error regarding missing logs/nginx/ path) ### Possible Solution _No response_ ### Additional Context _No response_
Sign in to join this conversation.