immich_redis | 1:C 20 Sep 2025 17:07:47.367 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo immich_redis | 1:C 20 Sep 2025 17:07:47.368 # Redis version=6.2.17, bits=64, commit=00000000, modified=0, pid=1, just started immich_redis | 1:C 20 Sep 2025 17:07:47.368 # 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 17:07:47.368 * monotonic clock: POSIX clock_gettime 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, 5:07:51 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 5:07:51 PM WARN [Microservices:DatabaseService] DEPRECATION WARNING: The pgvecto.rs extension is deprecated and support for it will be removed very soon. immich_server | See https://immich.app/docs/install/upgrading#migrating-to-vectorchord in order to switch to the VectorChord extension instead. immich_server | [Nest] 7 - 09/20/2025, 5:07:51 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 5:07:51 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 | 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_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_machine_learning | [09/20/25 17:07:48] INFO Starting gunicorn 23.0.0 immich_machine_learning | [09/20/25 17:07:48] INFO Listening at: http://[::]:3003 (8) immich_machine_learning | [09/20/25 17:07:48] INFO Using worker: immich_ml.config.CustomUvicornWorker immich_machine_learning | [09/20/25 17:07:48] INFO Booting worker with pid: 9 immich_machine_learning | [09/20/25 17:07:50] INFO Started server process [9] immich_machine_learning | [09/20/25 17:07:50] INFO Waiting for application startup. immich_machine_learning | [09/20/25 17:07:50] INFO Created in-memory cache with unloading after 300s immich_machine_learning | of inactivity. immich_machine_learning | [09/20/25 17:07:50] INFO Initialized request thread pool with 6 threads. immich_machine_learning | [09/20/25 17:07:50] INFO Application startup complete. 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_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 | syncing data to disk ... ok 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, 5:07:55 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 5:07:56 PM WARN [Microservices:DatabaseService] DEPRECATION WARNING: The pgvecto.rs extension is deprecated and support for it will be removed very soon. immich_server | See https://immich.app/docs/install/upgrading#migrating-to-vectorchord in order to switch to the VectorChord extension instead. immich_server | [Nest] 7 - 09/20/2025, 5:07:56 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 5:07:56 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_postgres | immich_postgres | 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 | --auth-local and --auth-host, the next time you run initdb. immich_postgres | waiting for server to start....2025-09-20 17:07:01.090 UTC [49] LOG: redirecting log output to logging collector process immich_postgres | 2025-09-20 17:07:01.090 UTC [49] HINT: Future log output will appear in directory "log". immich_postgres | done immich_postgres | server started 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.... done immich_postgres | server stopped immich_postgres | immich_postgres | PostgreSQL init process complete; ready for start up. immich_postgres | immich_postgres | 2025-09-20 17:07:01.476 UTC [1] LOG: redirecting log output to logging collector process immich_postgres | 2025-09-20 17:07:01.476 UTC [1] HINT: Future log output will appear in directory "log". 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, 5:08:00 PM LOG [Microservices:EventRepository] Initialized websocket server immich_server | [Nest] 7 - 09/20/2025, 5:08:00 PM WARN [Microservices:DatabaseService] DEPRECATION WARNING: The pgvecto.rs extension is deprecated and support for it will be removed very soon. immich_server | See https://immich.app/docs/install/upgrading#migrating-to-vectorchord in order to switch to the VectorChord extension instead. immich_server | [Nest] 7 - 09/20/2025, 5:08:00 PM WARN [Microservices:DatabaseRepository] Migration "1744910873969-InitialMigration" failed immich_server | [Nest] 7 - 09/20/2025, 5:08:00 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_redis | 1:M 20 Sep 2025 17:07:47.369 * Running mode=standalone, port=6379. immich_redis | 1:M 20 Sep 2025 17:07:47.369 # Server initialized immich_redis | 1:M 20 Sep 2025 17:07:47.369 # 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 17:07:47.369 * Ready to accept connections compadre@Ranchito:~/docker/immich$ 1