Upgrade to v1.6 fails when using PostgreSQL due to SQLite migration attempt #464

Closed
opened 2025-11-13 12:01:22 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Blacks-Army on GitHub (Jul 1, 2025).

When upgrading Pangolin to version 1.6 using a PostgreSQL database, the container attempts to run migrations against a SQLite database. Since the SQLite database does not exist, the migration fails and the container does not start.

The startup process should check the database type before attempting any migrations, or respect the existing database configuration.

I can provide more details (logs, configuration, etc.) by tomorrow if needed.

Originally created by @Blacks-Army on GitHub (Jul 1, 2025). When upgrading Pangolin to version 1.6 using a PostgreSQL database, the container attempts to run migrations against a SQLite database. Since the SQLite database does not exist, the migration fails and the container does not start. The startup process should check the database type before attempting any migrations, or respect the existing database configuration. I can provide more details (logs, configuration, etc.) by tomorrow if needed.
Author
Owner

@miloschwartz commented on GitHub (Jul 2, 2025):

Ah yeah- typo in the migrations file. Just release a 1.6.2 patch which I think should fix this. Lmk!

@miloschwartz commented on GitHub (Jul 2, 2025): Ah yeah- typo in the migrations file. Just release a 1.6.2 patch which I think should fix this. Lmk!
Author
Owner

@Blacks-Army commented on GitHub (Jul 2, 2025):

It works now thanks

@Blacks-Army commented on GitHub (Jul 2, 2025): It works now thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#464