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
Internal Server Error with any user related interaction on newest release #115
Comments
Hi, I'm afraid I can't reproduce this. Running standard docker/docker-compose on Ubuntu 20.04 I've just spun up a new container, new That's with no reverse proxy in front of it, then I tried again with my Nginx reverse proxy in front of it. I tried with and without the calibre mod as well and it's not throwing any issues for me. For good measure I tried with my usual container which has a LDAP backend and I was also able to create a local user without any problems. Only thing I can suggest is to try without Traefik as it's the only difference that springs to mind although I acknowledge that the errors don't "scream out" that that's the cause of the isssue. |
I've been running this image for a long time (keeping up with latest) using traefik, and this is a first for me - I've never had this error until this image. I can reliably fix the problem by changing the script I posted above to use |
It was easier than I thought to test without traefik - I updated the script to remove the |
Yeah, I've been running it myself since it was released. I still can't reproduce it here though. |
Why do you have the |
Same errors - missing packages has to be something in the image/container, right?
|
There's an unknown locale error there too, but I have no idea where it's coming from. |
@duckpuppy Might be worth opening an issue upstream. The packages we install haven't changed and the python packages we use are all defined in |
That issue does look related, down to the language error. I have |
I found the issue, and it's in Calibre-web and is also not present in 0.6.9 for some reason. The source location in the locale error above points to code in Calibre-web that populates a drop-down in the user form containing all the languages of all books in the database. I reverted to the 0.6.9 image and pulled up a user to see that list - it contained the |
I'm going to be honest, I had to look at Wikipedia to even find out what Aleut was. Interesting. Now I've got something to go on I'll have a play here. |
Closes #115 Closes janeczku/calibre-web#1823
Expected Behavior
Clicking on a user in the admin interface, creating a new user using the UI button, or clicking your logged-in user name to view your profile and settings should work.
Current Behavior
Application returns an Internal Server Error (500) response.
Steps to Reproduce
latest
Environment
OS: Debian Buster
CPU architecture: x86_64
How docker service was installed: Installed from Docker Hub
Command used to create docker container (run/create/compose/screenshot)
Created via the docker puppet module
Relevant bit of create script (container is recreated each time the service starts by the script removing the existing one):
Docker logs
The docker logs are free of errors. However, this is what is shown in the browser (for trying to create a new user, but the final cause is the same in all cases)
It's always not being able to find
pkg_resources
, which Google tells me is a faulty or missing setuptools install.The text was updated successfully, but these errors were encountered: