WindmillWWindmill
Powered by
ElectrumE
Windmill•2mo ago•
3 replies
Electrum

Migration '20260107133344' in postgres fails

Hello,

When upgrading from 1.601.1 to 1.60.3.0 I am getting this error:

{"timestamp":"2026-01-09T14:13:30.699776Z","level":"INFO","message":"Acquiring global PG lock for potential migration with pid: Some(1874)","target":"windmill_api::db"}                                                                                                       
{"timestamp":"2026-01-09T14:13:30.702578Z","level":"INFO","message":"Acquired global PG lock","target":"windmill_api::db"}                    
{"timestamp":"2026-01-09T14:13:30.708501Z","level":"INFO","message":"Started applying migration 20260107133344: fix custom user instance","target":"windmill_api::db"}                                                                                                          {"timestamp":"2026-01-09T14:13:30.710040Z","level":"INFO","message":"Finished applying migration 20260107133344","target":"windmill_api::db"} Error: Error migrating db: Migrating database: while executing migration 20260107133344: error returned from database: role "custom_instance_user" does not exist 
{"timestamp":"2026-01-09T14:13:30.699776Z","level":"INFO","message":"Acquiring global PG lock for potential migration with pid: Some(1874)","target":"windmill_api::db"}                                                                                                       
{"timestamp":"2026-01-09T14:13:30.702578Z","level":"INFO","message":"Acquired global PG lock","target":"windmill_api::db"}                    
{"timestamp":"2026-01-09T14:13:30.708501Z","level":"INFO","message":"Started applying migration 20260107133344: fix custom user instance","target":"windmill_api::db"}                                                                                                          {"timestamp":"2026-01-09T14:13:30.710040Z","level":"INFO","message":"Finished applying migration 20260107133344","target":"windmill_api::db"} Error: Error migrating db: Migrating database: while executing migration 20260107133344: error returned from database: role "custom_instance_user" does not exist 


This is within a K8S cluster running 1.34.0. Postgres is on 18.1 via CNPG.
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Worker stuck in migration mode
pixeleetPpixeleet / help
2y ago
Stuck in migration hell during upgrade.
pixeleetPpixeleet / help
2y ago
Postgres err: insufficient data left in message
David ZhangDDavid Zhang / help
2y ago
windmill postgresqldb migration
m00.kMm00.k / help
14mo ago