Sigma-Production / ptero-eggs

Nginx egg Host your Website on pterodactyl panel
Other
72 stars 91 forks source link

Server won't boot on freash install #53

Open Lebbbbb opened 10 months ago

Lebbbbb commented 10 months ago

I am using the NGIX egg with wordpress set to 0.

[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from finnie2006/nginx-ptero 
Status: Image is up to date for ghcr.io/finnie2006/nginx-ptero:latest 
Digest: sha256:333ae8f3ab88b589f09a9d409da0e3640f8622fa1f3438099d3e8d41422ae2ce 
[Pterodactyl Daemon]: Finished pulling Docker container image
:/home/container$ ./start.sh
container@pterodactyl~ Server marked as running...
⟳ Starting PHP-FPM...
⟳ Starting Nginx...
✓ Successfully started
nginx: [alert] could not open error log file: open() "/home/container/logs/error.log" failed (2: No such file or directory)
2023/09/07 07:40:52 [emerg] 18#18: open() "/home/container/logs/error.log" failed (2: No such file or directory)
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 1
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
finnie2006 commented 10 months ago

Try creating the missing file /home/container/logs/error.log

Lebbbbb commented 10 months ago

Thanks, It worked. I put the html files in /home/container/webroot/ right?

finnie2006 commented 10 months ago

Yes that is correct