Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Error on Node settings edit #5051

Open
3 tasks done
F0x06 opened this issue Mar 30, 2024 · 3 comments
Open
3 tasks done

500 Error on Node settings edit #5051

F0x06 opened this issue Mar 30, 2024 · 3 comments
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.

Comments

@F0x06
Copy link

F0x06 commented Mar 30, 2024

Current Behavior

500 SERVER ERROR

Expected Behavior

Working normaly.

Steps to Reproduce

  1. Start provided docker-compose.example.yml file
  2. Create admin account with docker compose exec panel php artisan p:user:make
  3. Log-in
  4. Create Location:
    • Short Code: my-location
  5. Create Node:
    • Name: test
    • Total Memory: 2048
    • Memory Over-Allocation: 0
    • Total Disk Space: 2048
    • Disk Over-Allocation: 0
    • FQDN: localhost
  6. Go to the "Settings" tab of your node and try to change anything, then click "Save Changes"
  7. "500 SERVER ERROR"

Panel Version

1.11.5

Wings Version

n/a

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

Log files are empty.

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
@F0x06 F0x06 added the not confirmed Report seems plausible but requires additional testing or 3rd part confirmation. label Mar 30, 2024
@Boy132
Copy link
Contributor

Boy132 commented Mar 30, 2024

This is not a bug, please visit the Discord for configuration issues.

@F0x06
Copy link
Author

F0x06 commented Mar 30, 2024

This is not a bug, please visit the Discord for configuration issues.

Thank you for the response. I understand that this might be stemming from a configuration issue. In my experience, unhandled 500 errors often point towards areas where error handling could potentially be enhanced.

Could you provide more detailed information on common causes for this error, or any specific configurations that are often overlooked?.

I encountered this issue when reinstalling my whole setup I had for years. Everything works except node edition, as a workaround I had to change the settings on the database.

Thanks

@F0x06
Copy link
Author

F0x06 commented Mar 30, 2024

Apparently this was caused by a permission error on the log files folder, by default it's owned by root when using local path mounts, for example - "/srv/pterodactyl/logs:/app/storage/logs", the issue is not present when using docker volumes. fixed by using this command docker compose exec panel chown -R nginx: /app/storage/logs/, found on discord https://discord.com/channels/122900397965705216/493443683685892096/1150639872198070282

Basically if anything gone wrong on the node settings that involves a log message, the error is triggered.

A possible fix could be to ensure correct ownership of /app/storage/logs/ on the entrypoint script of the container ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.
Projects
None yet
Development

No branches or pull requests

2 participants