mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
CloudPanel fails to start after reboot if a site's logs folder is deleted #90
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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