mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-13 03:37:41 -05:00
[GH-ISSUE #3247] Pangolin 1.19.0 upgrade failed with missing SQLite column #30174
Reference in New Issue
Block a user
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 @rinseaid on GitHub (Jun 12, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3247
Originally assigned to: @oschwartz10612 on GitHub.
Describe the Bug
After upgrading my self-hosted Pangolin instance from 1.18.4 to 1.19.0, Pangolin would not start.
The container logs showed this error:
It looked like Pangolin thought the 1.19.0 migration had already finished, but the database was still missing at least one of the new columns from that migration.
I checked the SQLite database and saw
1.19.0listed inversionMigrations, but theorgstable did not havesettingsEnableGlobalNewtAutoUpdate.I was able to recover by:
config/db/db.sqlite1.19.0row fromversionMigrationsAfter that, the 1.19.0 migration ran again and Pangolin started normally.
Environment
To Reproduce
I don't have exact steps beyond the upgrade itself.
In my case:
no such column: "settingsEnableGlobalNewtAutoUpdate"1.19.0inversionMigrations, but the column is missing fromorgsExpected Behavior
The upgrade should finish cleanly, or if the migration fails, Pangolin should be able to retry it on the next startup.
@oschwartz10612 commented on GitHub (Jun 12, 2026):
Hum you were coming from pure 1.18.4? Thats strange... When you updated did you quickly stop and start the container or anything that could have caused the migration to partiall run?
@anzi-tech commented on GitHub (Jun 12, 2026):
I am currently getting the same error coming from 1.18.4. No interruptions to the migration occurred. I did not need to drop any entries from my versionMigrations table after rolling back to 1.18.4 (no DB changes seemed to be made in my case).
@rinseaid commented on GitHub (Jun 12, 2026):
I don't think so - I think it was running about 10 minutes before I noticed and started the recovery.
@oschwartz10612 commented on GitHub (Jun 12, 2026):
@anzi-tech I think this is a 2nd different issue which I will try to fix in the next patch
@rinseaid commented on GitHub (Jun 12, 2026):
I looked further into my Doco-CD logs (how I'm deploying my Pangolin manifest) and noticed that the upgrade was waiting on the container healthcheck.
The deploy started at
2026-06-11 19:47:59 -04:00and Doco-CD marked it failed at2026-06-11 19:52:32 -04:00with:Doco-CD logged the elapsed time as
4m34.954s, then immediately restarted the Pangolin container as part of its reconciliation.So it appears the container was stopped after about 4 minutes 35 seconds when the deployment controller restarted the unhealthy container.