-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix: 500 error on redirect from Upload to Info page #42
Comments
Are you seeing any errors in your container logs? Could you provide more details, such as how often these errors occur and under what circumstances, e.g., uploading a certain image format, image size, etc. |
Sorry here are the logs:
|
Also images are jpg 1-2MB. Happens on upload. |
I see. Are those errors random, or do they correlate with the browser tab being inactive for some time? |
Every time I do an upload. I've tried both my PC and iPad |
I don’t see any issues that could be causing this problem. There are only a couple of 404 errors in your log, which don’t seem to be related to the issue itself. I may need to debug it on a fresh system and will follow up later. It would also be helpful to know what system you’re running on. Additionally, you could submit your Docker or Docker Compose configuration (without any sensitive information). |
Running kubernetes not docker. Another thing I've noticed is the admin links usually get sent to /profile page. I have to type url manually or open as a new tab instead. Really odd. I tried a fresh install just to be sure something didn't get broken during migration from an older version. Seeing the same issues. |
I haven’t tested the project to see if it can run on kubernetes. I believe the main challenge would be correctly setting up the persistent volumes. Additionally, if you have multiple replicas, there could be issues with session handling between different pods. So yeah, most likely it won't run on k8s by default. I definitely want to add kubernetes support down the road. However, I don’t currently have it set up in my homelab, as I had to disassemble it. This makes it challenging to test at the moment. |
Should not be an issue with the PVCs as the images are being uploaded just need to F5 that 500 page and it works fine after. More wondering if it's some kind of hiccup with traefik. |
Oh, so the images are eventually being uploaded. I’ll try to recreate the issue and see if I can fix it from the application layer. |
Yea the actual upload is fine. I get the 500 error then just refresh the page and it shows the image info page as it should. I can then set private/public and delete and everything without issue. |
Getting weird 500 errors. Mostly seeing them on upload. If I refresh the page it will load fine.
The text was updated successfully, but these errors were encountered: