root@Ranchito:~/immich# docker compose up -d [+] Running 4/4 ✔ Container immich_postgres Runn... 0.0s ✔ Container immich_machine_learning Started 0.2s ✔ Container immich_redis Started 0.2s ✔ Container immich_server Starte... 0.2s root@Ranchito:~/immich# docker compose up -d [+] Running 4/4 ✔ Container immich_postgres Runn... 0.0s ✔ Container immich_machine_learning Running 0.0s ✔ Container immich_redis Running 0.0s ✔ Container immich_server Runnin... 0.0s root@Ranchito:~/immich# docker compose -lgs unknown shorthand flag: 'l' in -lgs root@Ranchito:~/immich# docker compose -logs unknown shorthand flag: 'l' in -logs root@Ranchito:~/immich# docker compose logs immich_machine_learning | [09/20/25 18:10:17] INFO Starting gunicorn 23.0.0 immich_machine_learning | [09/20/25 18:10:17] INFO Listening at: http://[::]:3003 (8) immich_machine_learning | [09/20/25 18:10:17] INFO Using worker: immich_ml.config.CustomUvicornWorker immich_machine_learning | [09/20/25 18:10:17] INFO Booting worker with pid: 9 immich_machine_learning | [09/20/25 18:10:19] INFO Started server process [9] immich_machine_learning | [09/20/25 18:10:19] INFO Waiting for application startup. immich_machine_learning | [09/20/25 18:10:19] INFO Created in-memory cache with unloading after 300s immich_machine_learning | of inactivity. immich_machine_learning | [09/20/25 18:10:19] INFO Initialized request thread pool with 6 threads. immich_machine_learning | [09/20/25 18:10:19] INFO Application startup complete. immich_redis | 1:C 20 Sep 2025 18:10:16.509 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo immich_redis | 1:C 20 Sep 2025 18:10:16.509 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started immich_redis | 1:C 20 Sep 2025 18:10:16.509 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf immich_redis | 1:M 20 Sep 2025 18:10:16.510 * monotonic clock: POSIX clock_gettime immich_redis | 1:M 20 Sep 2025 18:10:16.510 * Running mode=standalone, port=6379. immich_redis | 1:M 20 Sep 2025 18:10:16.510 # Server initialized immich_redis | 1:M 20 Sep 2025 18:10:16.510 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can 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. immich_redis | 1:M 20 Sep 2025 18:10:16.510 * Ready to accept connections immich_postgres | Using HDD storage immich_postgres | The files belonging to this database system will be owned by user "postgres". immich_postgres | This user must also own the server process. immich_postgres | immich_postgres | The database cluster will be initialized with locale "en_US.utf8". immich_postgres | The default database encoding has accordingly been set to "UTF8". immich_postgres | The default text search configuration will be set to "english". immich_postgres | immich_postgres | Data page checksums are enabled. immich_postgres | immich_server | Initializing Immich v1.142.1 immich_server | skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2 immich_server | Detected CPU Cores: 6 immich_server | Starting api worker immich_server | Starting microservices worker immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] Creating VectorChord extension immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 1 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] Reindexing clip_index immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] Reindexing face_index immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] Reindexed clip_index immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] Reindexed face_index immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM LOG [Microservices:DatabaseRepository] Dropping pgvecto.rs extension immich_server | [Nest] 20 - 09/20/2025, 6:10:20 PM LOG [Api:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 6:10:20 PM ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_postgres | fixing permissions on existing directory /var/lib/postgresql/data ... ok immich_postgres | creating subdirectories ... ok immich_postgres | selecting dynamic shared memory implementation ... posix immich_postgres | selecting default max_connections ... 100 immich_postgres | selecting default shared_buffers ... 128MB immich_postgres | selecting default time zone ... Etc/UTC immich_postgres | creating configuration files ... ok immich_postgres | running bootstrap script ... ok immich_postgres | performing post-bootstrap initialization ... ok immich_postgres | syncing data to disk ... ok immich_postgres | immich_postgres | immich_postgres | initdb: warning: enabling "trust" authentication for local connections immich_postgres | You can change this by editing pg_hba.conf or using the option -A, or immich_postgres | --auth-local and --auth-host, the next time you run initdb. immich_postgres | Success. You can now start the database server using: immich_postgres | immich_postgres | pg_ctl -D /var/lib/postgresql/data -l logfile start immich_postgres | immich_postgres | 2025-09-20 18:06:06.036 GMT [48] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2025-09-20 18:06:06.036 GMT [48] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | waiting for server to start....2025-09-20 18:06:06.058 GMT [53] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2025-09-20 18:06:06.058 GMT [53] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | .2025-09-20 18:06:07.692 UTC [53] LOG: starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit immich_postgres | 2025-09-20 18:06:07.693 UTC [53] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" immich_postgres | 2025-09-20 18:06:07.696 UTC [54] LOG: database system was shut down at 2025-09-20 18:06:05 UTC immich_postgres | 2025-09-20 18:06:07.701 UTC [53] LOG: database system is ready to accept connections immich_postgres | done immich_postgres | server started immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker exited with code 1 immich_server | Killing api process immich_server | Initializing Immich v1.142.1 immich_postgres | CREATE DATABASE immich_postgres | immich_postgres | immich_postgres | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* immich_postgres | immich_postgres | waiting for server to shut down....2025-09-20 18:06:07.868 UTC [53] LOG: received fast shutdown request immich_postgres | 2025-09-20 18:06:07.868 UTC [53] LOG: aborting any active transactions immich_postgres | 2025-09-20 18:06:07.870 UTC [53] LOG: background worker "logical replication launcher" (PID 63) exited with exit code 1 immich_postgres | 2025-09-20 18:06:07.870 UTC [58] LOG: shutting down immich_postgres | 2025-09-20 18:06:07.884 UTC [53] LOG: database system is shut down immich_postgres | done immich_postgres | server stopped immich_postgres | immich_postgres | PostgreSQL init process complete; ready for start up. immich_postgres | immich_postgres | 2025-09-20 18:06:08.005 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2025-09-20 18:06:08.006 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf" immich_postgres | 2025-09-20 18:06:09.619 UTC [1] LOG: starting PostgreSQL 14.19 (Debian 14.19-1.pgdg12+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit immich_postgres | 2025-09-20 18:06:09.619 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 immich_postgres | 2025-09-20 18:06:09.619 UTC [1] LOG: listening on IPv6 address "::", port 5432 immich_postgres | 2025-09-20 18:06:09.622 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" immich_postgres | 2025-09-20 18:06:09.625 UTC [71] LOG: database system was shut down at 2025-09-20 18:06:07 UTC immich_postgres | 2025-09-20 18:06:09.630 UTC [1] LOG: database system is ready to accept connections immich_postgres | 2025-09-20 18:08:04.776 UTC [101] FATAL: role "root" does not exist immich_postgres | 2025-09-20 18:08:52.442 UTC [117] ERROR: cannot drop the currently open database immich_postgres | 2025-09-20 18:08:52.442 UTC [117] STATEMENT: DROP DATABASE IF EXISTS immich; immich_postgres | 2025-09-20 18:08:52.442 UTC [117] ERROR: current user cannot be dropped immich_postgres | 2025-09-20 18:08:52.442 UTC [117] STATEMENT: DROP ROLE IF EXISTS postgres; immich_postgres | 2025-09-20 18:08:52.442 UTC [117] ERROR: role "postgres" already exists immich_postgres | 2025-09-20 18:08:52.442 UTC [117] STATEMENT: CREATE ROLE postgres; immich_postgres | 2025-09-20 18:08:52.546 UTC [119] ERROR: database "immich" already exists immich_server | skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2 immich_server | Detected CPU Cores: 6 immich_server | Starting api worker immich_server | Starting microservices worker immich_server | [Nest] 8 - 09/20/2025, 6:10:25 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 8 - 09/20/2025, 6:10:25 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 1 rows immich_server | [Nest] 8 - 09/20/2025, 6:10:25 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows immich_server | [Nest] 8 - 09/20/2025, 6:10:25 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 8 - 09/20/2025, 6:10:25 PM ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_postgres | 2025-09-20 18:08:52.546 UTC [119] STATEMENT: CREATE DATABASE immich WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE = 'en_US.utf8'; immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker exited with code 1 immich_server | Killing api process immich_server | Initializing Immich v1.142.1 immich_server | skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2 immich_server | Detected CPU Cores: 6 immich_server | Starting api worker immich_server | Starting microservices worker immich_server | [Nest] 7 - 09/20/2025, 6:10:29 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 6:10:29 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 1 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:29 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:29 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 6:10:29 PM ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker exited with code 1 immich_server | Killing api process immich_server | Initializing Immich v1.142.1 immich_server | skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2 immich_server | Detected CPU Cores: 6 immich_server | Starting api worker immich_server | Starting microservices worker immich_server | [Nest] 7 - 09/20/2025, 6:10:34 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 6:10:34 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 1 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:34 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:34 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 6:10:34 PM ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker exited with code 1 immich_server | Killing api process immich_server | Initializing Immich v1.142.1 immich_server | skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2 immich_server | Detected CPU Cores: 6 immich_server | Starting api worker immich_server | Starting microservices worker immich_server | [Nest] 7 - 09/20/2025, 6:10:39 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 6:10:39 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 1 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:39 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:39 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 6:10:39 PM ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker exited with code 1 immich_server | Killing api process immich_server | Initializing Immich v1.142.1 immich_server | skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2 immich_server | Detected CPU Cores: 6 immich_server | Starting api worker immich_server | Starting microservices worker immich_server | [Nest] 7 - 09/20/2025, 6:10:45 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 6:10:45 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 1 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:45 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:45 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 6:10:45 PM ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker exited with code 1 immich_server | Killing api process immich_server | Initializing Immich v1.142.1 immich_server | skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2 immich_server | Detected CPU Cores: 6 immich_server | Starting api worker immich_server | Starting microservices worker immich_server | [Nest] 7 - 09/20/2025, 6:10:52 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 6:10:52 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 1 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:52 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows immich_server | [Nest] 7 - 09/20/2025, 6:10:52 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 6:10:52 PM ERROR [Microservices:DatabaseRepository] Migrations failed: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker error: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade, stack: Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade immich_server | at Object.up (/usr/src/app/server/dist/schema/migrations/1744910873969-InitialMigration.js:19:19) immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) immich_server | at async #migrateUp (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:557:17) immich_server | at async run (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:421:28) immich_server | at async /usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 immich_server | at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) immich_server | at async #migrate (/usr/src/app/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) immich_server | at async DatabaseRepository.runMigrations (/usr/src/app/server/dist/repositories/database.repository.js:325:36) immich_server | at async /usr/src/app/server/dist/services/database.service.js:110:17 immich_server | at async /usr/src/app/server/dist/repositories/database.repository.js:379:27 immich_server | microservices worker exited with code 1 immich_server | Killing api process root@Ranchito:~/immich#