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
Instance Reboot at Admin/Instance/Setting doesn't reboot and block auto login from login pages #383
Comments
The problem cannot be reproduced, the reboot works fine, we have tested over Ubuntu 22 and Debian 11 with X86 and ARM64 architectures. |
@cloudpanel-io are you sure you tested the reboot from /admin/instance/settings instead of /admin/instance/services? the Reboot button at /admin/instance/settings is missing CSRF Token and cause it only redirect to /login instead of actual rebooting the server also in the source code source code itself admin/instance/services.html.twig come with csrf token but admin/instance/settings.html.twig does not pass in csrf token, it should be 100% replicate-able from your side There are another issues with login page that should auto login when user is already authenticated |
Thanks, @glendonyeo, for testing the patch with me on Discord. The bug will be fixed with the next version, 2.4.1, at the end of January. If you don't want to wait, you can do the following: Login to your server via SSH as root user and execute the following command2:
|
Fixed in v2.4.1. |
CloudPanel version(s) affected
2.4.0
Description
When rebooting server from Admin/Instance/Setting page server doesn't really reboot, it only log event and redirecting back to /login page and when attempt to relogin, it will keep checking on /admin/instance/restart endpoint & redirect back to login page
How to reproduce
Possible Solution
Additional Context
No response
The text was updated successfully, but these errors were encountered: