SMAW
IImmich
•Created by SMAW on 3/11/2023 in #help-desk-support
relation "IDX_sharedlink_albumId" already exists
Since a reboot I get this error :
immich-server_1 | [Nest] 1 - 03/11/2023, 1:52:47 PM ERROR [ExceptionHandler] relation "IDX_sharedlink_albumId" already exists
immich-server_1 | QueryFailedError: relation "IDX_sharedlink_albumId" already exists
immich-server_1 | at PostgresQueryRunner.query (/usr/src/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:211:19)
immich-server_1 | at processTicksAndRejections (node:internal/process/task_queues:96:5)
immich-server_1 | at async AddIndexForAlbumInSharedLinkTable1677535643119.up (/usr/src/app/dist/apps/immich/libs/infra/src/db/migrations/1677535643119-AddIndexForAlbumInSharedLinkTable.js:9:9)
immich-server_1 | at async MigrationExecutor.executePendingMigrations (/usr/src/app/node_modules/typeorm/migration/MigrationExecutor.js:223:17)
immich-server_1 | at async DataSource.runMigrations (/usr/src/app/node_modules/typeorm/data-source/DataSource.js:249:35)
immich-server_1 | at async DataSource.initialize (/usr/src/app/node_modules/typeorm/data-source/DataSource.js:137:17)
Probably I need to fix something in the PostgresDB but since I've no knowledge about postgres, I hope there is somebody here that can help....
I'm running a default setup on the latest version
11 replies