José Daniel Ramos Chaves
08/03/2026, 4:25 PMError: backend job init failed, exiting
db init failed: Custom Error:
Migration file of version 'm20260622_000001_add_org_id_to_short_urls' is missing,
this migration has been applied but its file is missing
DB_SCHEMA_VERSION mismatch : expected 45, found 46; running db upgrade
Environment:
• OpenObserve image: public.ecr.aws/zinclabs/openobserve:v0.91.5
• Previous deployment was using:
• public.ecr.aws/zinclabs/openobserve:latest
• The previous deployment was running successfully until last Friday.
• The last ECS deployment before the issue was around May 25, 2026.
• Data is restored from EFS backup.
I checked the SQLite migration table:
SELECT * FROM seaql_migrations ORDER BY version;
and it contains:
m20260622_000001_add_org_id_to_short_urls|1782944723
So the database shows that this migration was applied, but the OpenObserve binary cannot find the migration file.
Does anyone could provide some hints?José Daniel Ramos Chaves
08/03/2026, 5:22 PMseaql_migrations table:
m20260622_000001_add_org_id_to_short_urls
After removing this migration record, the OpenObserve instance was able to complete database initialization successfully.
Could you please confirm the purpose/status of this migration? It appears to exist in the database migration history but is not included in the migration files available in the images we tested. Was this migration introduced and later removed/changed, or is there a recommended way to handle this scenario during a restore?Gorakhnath Yadav (OpenObserve)
08/04/2026, 9:18 AMShrinath Rao
08/04/2026, 9:40 AMlatest image to v0.91.5, and that is actually a downgrade for your database.
Our latest is a release candidate for v0.92 and we are currently in the testing/beta phase for that. So you can either use that beta version (might have unresolved bugs) or you can keep using it with the manual row deletion that is already done as I read your messages.
Regarding that particular migration file,
Once, we make a fresh stable release, the db issue will handle itself Cc - @Gorakhnath Yadav (OpenObserve) @Yashodhan @Prabhat Sharmawas added in PR #12829 on 2026-06-23. It adds anm20260622_000001_add_org_id_to_short_urlscolumn to theorg_idtable so short URLs can be scoped to an organization. It was never removed or reverted. It exists in every build from that date onward, including our current code. The reason your image doesn't have it is simply thatshort_urlswas built before that date, so the migration file isn't compiled into it.v0.91.5
José Daniel Ramos Chaves
08/04/2026, 12:50 PMlatest tag is actually pointing to version 0.91.1. As part of my troubleshooting, I updated the ECS task definition to pin the image to 0.91.5 instead of using latest.José Daniel Ramos Chaves
08/04/2026, 12:54 PMShrinath Rao
08/04/2026, 1:08 PMJosé Daniel Ramos Chaves
08/04/2026, 1:10 PMShrinath Rao
08/07/2026, 1:09 PMv0.92.0 ! Try if upgrading the version helps your case !José Daniel Ramos Chaves
08/07/2026, 1:11 PM