mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #904] Shiori can't migrate from 1.6.3 to last commit in master, if you use Postgres or Mariadb #410
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#410
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 @Monirzadeh on GitHub (May 10, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/904
Originally assigned to: @fmartingr on GitHub.
Data
c107e974caDescribe the bug / actual behavior
Shiori can't done migration from last release 1.6.3 to last we have in master (currently is commit
c107e974ca) if you use postgres database and you will get this errorExpected behavior
Shiori can migrate without any error if you use Postgres
To Reproduce
Steps to reproduce the behavior:
SHIORI_DATABASE_URLSHIORI_DATABASE_URLand run withgo run main.go serverERROR: relation "shiori_system" does not exist at character 37Notes
It not happen for Sqlite and happen in pg and mariadb
@fmartingr commented on GitHub (May 11, 2024):
If my assumption is correct is weird that is not happening for SQLite, should happen for all engines. I will take a look at this later in the date or tomorrow, should be an easy fix.
@fmartingr commented on GitHub (May 12, 2024):
Hey @Monirzadeh I can't replicate this. I create my PSQL database with 1.6.3, when I run the
masterbranch I get theshiori_systemdatabase properly.I got a different error though: https://github.com/go-shiori/shiori/pull/906
@Monirzadeh commented on GitHub (May 12, 2024):
@fmartingr i test again. i have this in pg log
and this in shiori log
i remove time from logs
@Monirzadeh commented on GitHub (May 12, 2024):
i test that on mariadb too and similar thing happen
mariadb log
shiori log
i remove time from logs