Error Request failed with status code 500 Internal Server Error #920
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#920
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've been getting the following after updating ("
Error Request failed with status code 500 Internal Server Error
")I cannot access any of my lists or data currently
Here is the API log:
I am going to grab the debug log if there is one and post later.
Here is the compose file:
That's interesting because you specified version 0.17.1 in your compose file but the failing migration is not in that version. Only in the unstable (
latest
tag in docker).I've pushed a fix for the error from the logs in
7e229a1b83
. Please try once a new unstable release is ready (should take ~30min, once this ci build passes).I'm closing this now as resolved, feel free to reopen or ping me if it doesn't work.
I did move to the latest and it broke and went back to 0.17.1 & 0.17.0 so it might be that. However, it was still broken on latest.
I will double check - thanks!
With the latest release used:
At least it's a new error now!
Hopefully fixed in
2a80e552cc
, please try the new unstable once it's released (~30min again).What mysql version are you running btw?
Maria DB 10.3.24 on my Synology.
https://drone.kolaente.de/vikunja/api/3164 👎
Should work now (https://drone.kolaente.de/vikunja/api/3165/1/19)
Works - kind of.
I seem to have lost all my tasks and the page is empty.
What exact steps did you do?
I updated to
latest
. Noticed I was getting500
errors and then the tasks dissapeared.I reverted to
0.17.1
and then found the issues above. I'm now back onlatest
and I have the same issues. I've checked thedb
and the tasks are present and I'm not getting any log entries showing connection issues to thedb
.I mean, what exact steps did you do in the frontend that lead to the error? Something I can use to reproduce it?
Simply browsing try did work without issues and that runs on the latest commit.
You might also want to check that you're running the actual latest version, not just the
latest
docker image tag. Check if the commit hash from the api version in the about dialoge matches the latest commit from this repo.Can you enable database logging and send me the output?
Reverting from unstable to a stable version won't really have an effect as the migrations were already executed. The db in that state most likely doesn't match what the api expects. It is only supported to update, not downgrade.
Good shout on checking version - I deleted all images and pulled the latest ones back down.
Here is my log now:
Experiencing the same problem. Was running 0.16 on a previous server, just migrated the files to a new server and upgraded vikunja to 0.17.1 when I was at it.
When I try to log in i now get an error
Request failed with status code 502
Same log output as @Rustymage as well. Just tried your latest build
sha256:20b14845f08941fa6d4650ca718bb60f1bd6c2b44cf021a671c360a7120b474d
but getting the same problem and still cant log in.Current docker-compose file:
env-file:
I just enabled database logging output
VIKUNJA_LOG_DATABASE=stdout
, but its not showing anything else then what is already in the stdoutJust got it fixed, altering the database manually for user_tokens column token type to VARCHAR(450) from TEXT as mentioned in the error output fixes it.
Looks like the commit is having trouble migrating it on its own? But anyway, manually editing it fixes it.
That's interesting because it looks like it did create the new table and then tried to modify it in the process. I guess you originally hit the same Error as @Rustymage ("Data too long")?
I've pushed a fix in
4cf7c459da
which allows the migration to run again if it failed previously. Please check if it works with that (build is running, should take the usual ~30min).Again, the
latest
docker tag contains the status from the main branch. That's unstable, not 0.17.1. If you want to use 0.17.1, use the0.17.1
tag.Sweet and thanks, reverting to
0.17.1
now and manually editing the token back to TEXT to see if the migration happens correctly this time. Reporting back in 30.Downgrading back to older versions will probably cause other issues down the road so I wouldn't reccommend doing that.
Noted, I fourtunatly made a copy of my database and files before I upgraded so it should be good. :)
You should be pretty smug then because I didn't :(
Back up & running!
Thank you both.
Edit: Have a coffee on me 🥇