immich_server | [Nest] 19 - 05/26/2025, 8:30:30 PM LOG [Api:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 05/26/2025, 8:30:30 PM ERROR [Microservices:DatabaseRepository] Kysely migrations failed: Error: corrupted migrations: expected previously executed migration 1747664684909-AddAlbumAuditTables to be at index 3 but 1745902563899-AddAssetVisibilityColumn was found in its place. New migrations must always have a name that comes alphabetically after the last executed migration. immich_server | Error: corrupted migrations: expected previously executed migration 1747664684909-AddAlbumAuditTables to be at index 3 but 1745902563899-AddAssetVisibilityColumn was found in its place. New migrations must always have a name that comes alphabetically after the last executed migration. immich_server | at #ensureMigrationsInOrder (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:495:23) immich_server | at #getState (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:441:42) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async run (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:409:31) immich_server | at async /usr/src/app/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_redis | 1:M 26 May 2025 18:30:30.901 * 100 changes in 300 seconds. Saving... immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/dist/repositories/database.repository.js:353:36) immich_redis | 1:M 26 May 2025 18:30:30.901 * Background saving started by pid 395 immich_server | at async /usr/src/app/dist/services/database.service.js:105:17 immich_server | at async /usr/src/app/dist/repositories/database.repository.js:374:27 immich_server | microservices worker error: Error: corrupted migrations: expected previously executed migration 1747664684909-AddAlbumAuditTables to be at index 3 but 1745902563899-AddAssetVisibilityColumn was found in its place. New migrations must always have a name that comes alphabetically after the last executed migration., stack: Error: corrupted migrations: expected previously executed migration 1747664684909-AddAlbumAuditTables to be at index 3 but 1745902563899-AddAssetVisibilityColumn was found in its place. New migrations must always have a name that comes alphabetically after the last executed migration. immich_server | at #ensureMigrationsInOrder (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:495:23) immich_server | at #getState (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:441:42) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async run (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:409:31) immich_server | at async /usr/src/app/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/dist/repositories/database.repository.js:353:36) immich_server | at async /usr/src/app/dist/services/database.service.js:105:17 immich_server | at async /usr/src/app/dist/repositories/database.repository.js:374:27 immich_server | microservices worker exited with code 1