-
-
Notifications
You must be signed in to change notification settings - Fork 447
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
Login fails after upgrade #864
Comments
Please attach the full FWIW, I don't think its related to special characters. The DB doesn't store the password, it stores a salt and a hash. It may be due to a refactoring I did to make make the transition to sqlite easier. It would be helpful to get the traceback, this can be done by enabling verbose logging. In a standard installation this can be done by adding Alternatively the traceback is sent to the browser. If you open the dev console (usually by right clicking on the page and selecting |
Thanks for the speedy reply! Please find attached the logs for 2024-05-26 and 2024-05-27. The end of the latter is based on the last-known good version mentioned above as I wanted to run a print job, so don't be surprised if there are no errors at the end. |
Thanks, I see the problem. I removed the Commit 3b1c21a should resolve this issue by attempting to install lmdb if its missing. The container will need to be rebuilt to include this commit. You will need to remove For a container, the lmdb installation wont persist, but that should be fine. It will only be needed during the initial conversion. Edit: The patch will only work if pip is installed. If pip isn't installed in the container then the dockerfile needs to be modified to install lmdb itself. |
Also, some recommendations based on observations from your log:
|
I updated my installation to 4fe89d5, which unfortunately broke the login again. Log attached. Thanks also for the recommendations. Will have a look... |
Unfortunately the container failed to build the wheel. I suspect that the solution will be to update the dockerfile to install lmdb itself. |
The runtime image does not contain any build tools, so no packages can be installed. This is also in an effort to have reproducible images. I'm currently unavailable, but I probably can spend some time this weekend to get the necessary package into the moonraker image.
Iirc setting the provider to none disables also the machine endpoints of moonraker, making it impossible to shut down the host via the API. That's why I opted to add some systemd utilities into the container and configure the provider like this. |
…raker moonraker: add additional requirements related to Arksine/moonraker#864
@ginkel Tag |
Works like a charm, thanks a lot for the speedy fix! 😃 |
What happened
I am using the
mkuf/moonraker:latest
Docker image to run moonraker inside Docker. Yesterday this image has been updated to a recent moonraker version (based on commit 73df63d). Part of that update seems to have been the migration of the users table to sqlite.Since applying that update I can no longer login to moonraker via fluidd. I suspect this is caused by the sqlite migration.
When attempting to login, the logs just state:
My password contains some special characters, not sure if that's a possible cause.
The image causing trouble is based on commit c958120. The last known good image is based on commit 73df63d. Reverting to the last-known good version and restoring a backup of the
moonraker-db
directory solves the issue./cc @mkuf
Client
Fluidd
Browser
Chrome, Firefox
How to reproduce
Upgrade from 73df63d to c958120.
Additional information
The text was updated successfully, but these errors were encountered: