tl_jacobT

@rubenf I'm seeing the following migration error when upgrading from v1.554.0 to v1.561.0 ``` 2025-1

@rubenf I'm seeing the following migration error when upgrading from v1.554.0 to v1.561.0
2025-10-16T18:12:51.094722Z  INFO windmill-api/src/db.rs:187: Finished applying migration 20251006143822
Error: Error migrating db: Migrating database: while executing migration 20251006143822: error returned from database: null value in column "value" of relation "global_settings" violates not-null constraint


Checking my db I don't see any null settings values
windmill=# SELECT * from global_settings where value is NULL;
 name | value | updated_at
------+-------+------------


Which points me to the migration might be the thing that is trying to insert a null value: https://github.com/windmill-labs/windmill/blob/6dfa4ff5ba26bc4912b1be1a9709728cf6c2d119/backend/migrations/20251006143822_ducklake_instance_settings_better.down.sql#L3. I don't have ducklake settings
windmill=# select name from global_settings;
         name
-----------------------
 jwt_secret
 dev_instance
 retention_period_secs
 disable_stats
 job_default_timeout
 oauths
 base_url
 license_key
Was this page helpful?