Skip to content
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

[BUG] 4.0.0.741 fails migrating from 3.0.10 #274

Closed
1 task done
theotherp opened this issue Dec 31, 2023 · 2 comments
Closed
1 task done

[BUG] 4.0.0.741 fails migrating from 3.0.10 #274

theotherp opened this issue Dec 31, 2023 · 2 comments

Comments

@theotherp
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm running an ls.io container. The previous version running was 3.0.10 which ran fine. Updating to the latest tag (version 4.0.0.741) results in a malformed database error. I tried repairing the database but get loads of constraint violation errors (excerpt):

➜  ~/.config/appdata/sonarr sqlite3 sonarr.db ".recover" | sqlite3 sonarr.repaired.db
Error: near line 42: stepping, UNIQUE constraint failed: Config.Id (19)
Error: near line 66: stepping, UNIQUE constraint failed: RootFolders.Id (19)

Manually restoring the latest backup made by the previous version and starting v4 results in the same migration errors. Manually restoring the database and starting v3 works fine.

Expected Behavior

I guess the migration should run.

Steps To Reproduce

I'd be willing to provide my database file privately.

Environment

- OS: Ubuntu 22.04
- How docker service was installed: I don't remember and it shouldn't matter.

CPU architecture

x86-64

Docker creation

Cause you asked for it...: https://i.imgur.com/QGnQsrL.png

Container logs

Log is too long for GH: https://pastebin.com/ukc57h4R
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@theotherp
Copy link
Author

Ah fuck I'm on the wrong github repo. Sorry ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant