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
Hello, i've been using postgres db for my jellyseerr instance for a few days but it recently broke after updating and it fails to start. There are some errors i receive related to the db migration.
After investigating, I think the best solution would be to :
Delete your PostgreSQL database and restart with a fresh install, if you don't have that much data.
Or ignore the migrations and try to fix manually your PostgreSQL database to match the new schema.
This issue is coming from the PR implementing PostgreSQL, which introduced unwanted changes to SQLite databases.
A fix has already been made for this, but it introduced breaking changes.
If your instance was running the develop branch just after the Postgres PR has been merged (44a9221 or a bit later), you could try something like that to fix your db:
DELETEFROM migrations;
INSERT INTO migrations VALUES
(1, 1734786061496, 'InitialMigration1734786061496'),
(2, 1734786596045, 'AddTelegramMessageThreadId1734786596045'),
(3, 1734809898562, 'FixNullFields1734809898562');
ALTERTABLE"user_settings" ADD IF NOT EXISTS "telegramMessageThreadId" character varying;
Could you please try this and tell me if it solves your issue? This shouldn't happen anymore for new instances.
Description
Hello, i've been using postgres db for my jellyseerr instance for a few days but it recently broke after updating and it fails to start. There are some errors i receive related to the db migration.
Version
develop@sha256:3fb9e6409c9a4d54630c72cc46c2f4eda6e66ca1753a093c734c7c7cd40c9a09
Steps to Reproduce
Update to the newest version.
Screenshots
No response
Logs
Platform
desktop
Database
PostgreSQL
Device
Linux Server
Operating System
Talos OS
Browser
Chrome
Additional Context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: