docmost-redis | 1:C 06 Sep 2026 11:26:52.375 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. docmost-redis | 1:C 06 Sep 2026 11:26:52.375 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo docmost-redis | 1:C 06 Sep 2026 11:26:52.375 * Redis version=7.4.11, bits=64, commit=00000000, modified=0, pid=1, just started docmost-redis | 1:C 06 Sep 2026 11:26:52.375 * Configuration loaded docmost-redis | 1:M 06 Sep 2026 11:26:52.376 * Increased maximum number of open files to 10032 (it was originally set to 1024). docmost-redis | 1:M 06 Sep 2026 11:26:52.376 * monotonic clock: POSIX clock_gettime docmost-redis | 1:M 06 Sep 2026 11:26:52.377 * Running mode=standalone, port=6379. docmost-redis | 1:M 06 Sep 2026 11:26:52.377 * Server initialized docmost-redis | 1:M 06 Sep 2026 11:26:52.381 * Creating AOF base file appendonly.aof.1.base.rdb on server start docmost-redis | 1:M 06 Sep 2026 11:26:52.389 * Creating AOF incr file appendonly.aof.1.incr.aof on server start docmost-redis | 1:M 06 Sep 2026 11:26:52.389 * Ready to accept connections tcp docmost-postgres | The files belonging to this database system will be owned by user "postgres". docmost-postgres | This user must also own the server process. docmost-postgres | docmost-postgres | The database cluster will be initialized with locale "en_US.utf8". docmost-postgres | The default database encoding has accordingly been set to "UTF8". docmost-postgres | The default text search configuration will be set to "english". docmost-postgres | docmost-postgres | Data page checksums are disabled. docmost-postgres | docmost-postgres | fixing permissions on existing directory /var/lib/postgresql/data ... ok docmost-postgres | creating subdirectories ... ok docmost-postgres | selecting dynamic shared memory implementation ... posix docmost-postgres | selecting default max_connections ... 100 docmost-postgres | selecting default shared_buffers ... 128MB docmost-postgres | selecting default time zone ... Europe/Budapest docmost-postgres | creating configuration files ... ok docmost-postgres | running bootstrap script ... ok docmost-postgres | sh: locale: not found docmost-postgres | 2026-09-06 11:26:53.029 CEST [35] WARNING: no usable system locales were found docmost-postgres | performing post-bootstrap initialization ... ok docmost-postgres | initdb: warning: enabling "trust" authentication for local connections docmost-postgres | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. docmost-postgres | syncing data to disk ... ok docmost-postgres | docmost-postgres | docmost-postgres | Success. You can now start the database server using: docmost-postgres | docmost-postgres | pg_ctl -D /var/lib/postgresql/data -l logfile start docmost-postgres | docmost-postgres | waiting for server to start....2026-09-06 11:26:53.769 CEST [41] LOG: starting PostgreSQL 16.15 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit docmost-postgres | 2026-09-06 11:26:53.772 CEST [41] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" docmost-postgres | 2026-09-06 11:26:53.785 CEST [44] LOG: database system was shut down at 2026-09-06 11:26:53 CEST docmost-postgres | 2026-09-06 11:26:53.794 CEST [41] LOG: database system is ready to accept connections docmost-postgres | done docmost-postgres | server started docmost-postgres | CREATE DATABASE docmost-postgres | docmost-postgres | docmost-postgres | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* docmost-postgres | docmost-postgres | waiting for server to shut down....2026-09-06 11:26:53.946 CEST [41] LOG: received fast shutdown request docmost-postgres | 2026-09-06 11:26:53.950 CEST [41] LOG: aborting any active transactions docmost-postgres | 2026-09-06 11:26:53.953 CEST [41] LOG: background worker "logical replication launcher" (PID 47) exited with exit code 1 docmost-postgres | 2026-09-06 11:26:53.955 CEST [42] LOG: shutting down docmost-postgres | 2026-09-06 11:26:53.958 CEST [42] LOG: checkpoint starting: shutdown immediate docmost-postgres | 2026-09-06 11:26:54.083 CEST [42] LOG: checkpoint complete: wrote 926 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.023 s, sync=0.089 s, total=0.128 s; sync files=301, longest=0.006 s, average=0.001 s; distance=4283 kB, estimate=4283 kB; lsn=0/1925D58, redo lsn=0/1925D58 docmost-postgres | 2026-09-06 11:26:54.097 CEST [41] LOG: database system is shut down docmost-postgres | done docmost-postgres | server stopped docmost-postgres | docmost-postgres | PostgreSQL init process complete; ready for start up. docmost-postgres | docmost-postgres | 2026-09-06 11:26:54.181 CEST [1] LOG: starting PostgreSQL 16.15 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit docmost-postgres | 2026-09-06 11:26:54.181 CEST [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 docmost-postgres | 2026-09-06 11:26:54.181 CEST [1] LOG: listening on IPv6 address "::", port 5432 docmost-postgres | 2026-09-06 11:26:54.188 CEST [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" docmost-postgres | 2026-09-06 11:26:54.197 CEST [57] LOG: database system was shut down at 2026-09-06 11:26:54 CEST docmost-postgres | 2026-09-06 11:26:54.207 CEST [1] LOG: database system is ready to accept connections docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:28:17.842Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:28:18.127Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:28:18.149Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:28:18.277Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:28:18.277Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:28:24.334Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:28:24.581Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:28:24.613Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:28:24.773Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:28:24.773Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:28:30.873Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:28:31.148Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:28:31.169Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:28:31.292Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:28:31.292Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:28:37.603Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:28:37.835Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:28:37.860Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:28:38.032Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:28:38.033Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:28:44.800Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:28:45.047Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:28:45.073Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:28:45.206Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | {"level":"error","time":"2026-09-06T09:28:45.206Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:28:52.665Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:28:52.895Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:28:52.922Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:28:53.073Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:28:53.073Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:29:02.220Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:29:02.465Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:29:02.487Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:29:02.611Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:29:02.611Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:29:15.072Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:29:15.375Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:29:15.399Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:29:15.538Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:29:15.538Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:29:34.431Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:29:34.695Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:29:34.716Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:29:34.884Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:29:34.884Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:30:06.457Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:30:06.689Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:30:06.711Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:30:06.830Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:30:06.830Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1. docmost | docmost | > docmost@0.25.3 start /app docmost | > pnpm --filter ./apps/server run start:prod docmost | docmost | docmost | > server@0.25.3 start:prod /app/apps/server docmost | > cross-env NODE_ENV=production node dist/main docmost | docmost | {"level":"info","time":"2026-09-06T09:31:03.944Z","pid":43,"hostname":"136cff373e66","context":"RedisModule","msg":"default: the connection was successfully established"} docmost | {"level":"info","time":"2026-09-06T09:31:04.196Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Establishing database connection"} docmost | {"level":"info","time":"2026-09-06T09:31:04.219Z","pid":43,"hostname":"136cff373e66","context":"DatabaseModule","msg":"Database connection successful"} docmost | {"level":"error","time":"2026-09-06T09:31:04.343Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","msg":"Failed to run database migration. Exiting program."} docmost | {"level":"error","time":"2026-09-06T09:31:04.343Z","pid":43,"hostname":"136cff373e66","context":"DatabaseMigrationService","err":{"type":"Error","message":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing","stack":"Error: corrupted migrations: previously executed migration 20260213T085259-notifications is missing\n at #ensureNoMissingMigrations (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23)\n at #getState (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async run (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31)\n at async /app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32\n at async DefaultConnectionProvider.provideConnection (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)\n at async #migrate (/app/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20)\n at async MigrationService.migrateToLatest (/app/apps/server/dist/database/services/migration.service.js:36:36)\n at async DatabaseModule.onApplicationBootstrap (/app/apps/server/dist/database/database.module.js:50:13)\n at async callModuleBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/hooks/on-app-bootstrap.hook.js:51:9)\n at async NestApplication.callBootstrapHook (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application-context.js:274:13)\n at async NestApplication.init (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:105:9)\n at async NestApplication.listen (/app/node_modules/.pnpm/@nestjs+core@11.1.13_@nestjs+common@11.1.11_class-transformer@0.5.1_class-validator@0.1_12f3fd19d13f7701792c53839f3f8286/node_modules/@nestjs/core/nest-application.js:175:13)\n at async bootstrap (/app/apps/server/dist/main.js:82:5)"},"msg":"corrupted migrations: previously executed migration 20260213T085259-notifications is missing"} docmost | /app/apps/server: docmost |  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  server@0.25.3 start:prod: `cross-env NODE_ENV=production node dist/main` docmost | Exit status 1 docmost |  ELIFECYCLE  Command failed with exit code 1.