You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a fresh installation I'm starting Shiori for the first time and and get:
[shiori] | 2024/10/13 02:09:07 error during commit: sql: transaction has already been committed or rolled back
[shiori] | 2024/10/13 02:09:07 error during commit: sql: transaction has already been committed or rolled back
[shiori] | time="2024-10-13T02:09:07+01:00" level=fatal msg="Error running migration" error="failed to run migration from 0.2.0 to 0.3.0: failed to add has_content column to book mark table: pq: column »has_content« of relation »bookmark« exists already"
There is not data nor any relations in the database before I start Shiori.
The 0.3.0 migration checks the output for the column existence by comparing the error with the string: column "has_content" of relation "bookmark" already exists, yours is sightly different because it does not use quotes. We need to add a better way to handle that.
Edit: Made (not tested) this dirty patch, leaving it here until I (or someone) can make a proper PR
Data
Describe the bug / actual behavior
After a fresh installation I'm starting Shiori for the first time and and get:
There is not data nor any relations in the database before I start Shiori.
Expected behavior
Shiori should start without errors.
To Reproduce
Use the latest docker-image with postgresql:
in
compose.yml
.The text was updated successfully, but these errors were encountered: