immich_server: microservices worker exited with code 1 Killing api process Initializing Immich v1.136.0 Detected CPU Cores: 16 Starting api worker Starting microservices worker [Nest] 7 - 09/29/2025, 8:58:27 PM LOG [Microservices:EventRepository] Initialized websocket server [Nest] 7 - 09/29/2025, 8:58:28 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 8931 rows [Nest] 7 - 09/29/2025, 8:58:28 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 11933 rows [Nest] 7 - 09/29/2025, 8:58:28 PM LOG [Microservices:DatabaseRepository] Running migrations, this may take a while [Nest] 18 - 09/29/2025, 8:58:29 PM LOG [Api:EventRepository] Initialized websocket server [Nest] 7 - 09/29/2025, 8:58:29 PM ERROR [Microservices:DatabaseRepository] Kysely migrations failed: Error: corrupted migrations: previously executed migration 1753464178233-RenameApiKeyPermissions is missing Error: corrupted migrations: previously executed migration 1753464178233-RenameApiKeyPermissions is missing at #ensureNoMissingMigrations (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:487:23) at #getState (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:439:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async run (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:409:31) at async /usr/src/app/server/node_modules/kysely/dist/cjs/kysely.js:569:32 at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) at async #migrate (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:365:36) at async /usr/src/app/server/dist/services/database.service.js:105:17 at async /usr/src/app/server/dist/repositories/database.repository.js:413:27 microservices worker error: Error: corrupted migrations: previously executed migration 1753464178233-RenameApiKeyPermissions is missing, stack: Error: corrupted migrations: previously executed migration 1753464178233-RenameApiKeyPermissions is missing at #ensureNoMissingMigrations (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:487:23) at #getState (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:439:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async run (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:409:31) at async /usr/src/app/server/node_modules/kysely/dist/cjs/kysely.js:569:32 at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) at async #migrate (/usr/src/app/server/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:365:36) at async /usr/src/app/server/dist/services/database.service.js:105:17 at async /usr/src/app/server/dist/repositories/database.repository.js:413:27 microservices worker exited with code 1 Killing api process Initializing Immich v1.136.0