ptero-eggs icon indicating copy to clipboard operation
ptero-eggs copied to clipboard

Server won't boot on freash install

Open Lebbbbb opened this issue 2 years ago • 3 comments

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.

Lebbbbb avatar Sep 07 '23 07:09 Lebbbbb

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

finnie2006 avatar Sep 07 '23 07:09 finnie2006

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

Lebbbbb avatar Sep 07 '23 08:09 Lebbbbb

Yes that is correct

finnie2006 avatar Sep 07 '23 08:09 finnie2006