mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 22:45:55 +03:00
[GH-ISSUE #1174] May I ask if 1.15.5 can be upgraded to the latest version? How can I complete the data migration? #482
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @iihorse on GitHub (Dec 6, 2025).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/1174
hello, My image version is 1.15.5, and the mounted 'archive' folder is 20.2G. It uses the default SQLite database and the shiori.db file is 58.8M. When I upgraded the image version to 'latest', the container could not start properly and the backend error was: FATA[2025-12-06T16:20:06Z] Error running migration error="failed to run migrations: failed to run migration from 0.4.0 to 0.5.0: failed to run transaction: failed to execute migration 0.4.0 to 0.5.0: constraint failed: FOREIGN KEY constraint failed (787)"。
May I ask if 1.15.5 can be upgraded to the latest version? How can I complete the data migration?
@MatthewGP commented on GitHub (Dec 9, 2025):
@iihorse I think you will need to upgrade to v1.5.4 first. If that doesn't auto migrate for you, you may need to read Sqlite migration to FTS5 and try that.
After you upgrade to 1.5.4, I would suggest you then update to v1.6.3, next 1.7.4, and finally 1.8.0. I don't believe you 'must' do those intermediate step upgrades, but I personally would just to make sure any changes made in a feature release are applied.
@iihorse commented on GitHub (Dec 10, 2025):
It works, Finally! Thanks bro, great work.