hunterwinter11
IImmich
•Created by hunterwinter11 on 9/21/2023 in #help-desk-support
Immich DB Broken after update
I updated to the latest version of Immich, and my postgres db has broken. I had the image set as just postgres, so I think it must have updated and broke it. I tried to change the version to postgres:15, but then I get the error:
The database was created using collation version 2.31, but the operating system provides version 2.36.
2023-09-21 17:11:38.126 AMERICADENVER [53] HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE immich REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.
What is the best way to fix this?
8 replies
IImmich
•Created by hunterwinter11 on 7/1/2023 in #help-desk-support
Storage migration not moving some photos
I am having an issue where all of my screenshots are not being moved by the storage migration job.
Here is the error I am getting:
[Nest] 7 - 06/30/2023, 6:26:56 PM WARN [StorageTemplateService] Unable to save new originalPath to database, undoing move for path upload/library/a2b3ad97-2791-4054-917b-b04c19796d85/2023/June/FullSizeRender+3.jpg - filename FullSizeRender - id 46a9fdd3-d9d8-47ce-843b-b1c3ca3b28b2
[Nest] 7 - 06/30/2023, 6:26:56 PM WARN [StorageTemplateService] QueryFailedError: duplicate key value violates unique constraint "UQ_4ed4f8052685ff5b1e7ca1058ba"
at PostgresQueryRunner.query (/usr/src/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:211:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async UpdateQueryBuilder.execute (/usr/src/app/node_modules/typeorm/query-builder/UpdateQueryBuilder.js:83:33)
at async updateSubject (/usr/src/app/node_modules/typeorm/persistence/SubjectExecutor.js:380:38)
at async Promise.all (index 0)
at async SubjectExecutor.executeUpdateOperations (/usr/src/app/node_modules/typeorm/persistence/SubjectExecutor.js:422:9)
at async SubjectExecutor.execute (/usr/src/app/node_modules/typeorm/persistence/SubjectExecutor.js:99:9)
at async EntityPersistExecutor.execute (/usr/src/app/node_modules/typeorm/persistence/EntityPersistExecutor.js:140:21)
at async AssetRepository.save (/usr/src/app/dist/infra/repositories/asset.repository.js:84:24)
at async StorageTemplateService.moveAsset (/usr/src/app/dist/domain/storage-template/storage-template.service.js:111:21)
1 replies
IImmich
•Created by hunterwinter11 on 6/24/2023 in #help-desk-support
Using existing photos on Synology
I am hosting Immich on my Synology, and currently I only have images uploaded from Mobile in Immich. They are located in, "/volume1/homes/name/Photos/Mobile/a2b3ad97-2791-4054-917b-b04c19796d85" The last folder is created by Immich, and I believe it is stopping Synology Photos from indexing them. I want to be able to have them uploaded by Immich and show up in Synology Photos also.
All of my other photos from my camera and not uploaded from mobile are stored in "/volume1/homes/name/Photos/Pictures/year/month"
Whats the best way to have all of my images in "/volume1/homes/name/Pictures" show up in Immich, so that the photos from Mobile are still uploaded to the /Mobile folder, but not in a subfolder with the "uuid"?
immich-server:
image: ghcr.io/immich-app/immich-server:release
command: ["start-server.sh"]
container_name: Immich-server
hostname: immich-server
#user: 1026:101
security_opt:
- no-new-privileges:true
env_file:
- stack.env
volumes:
- /volume1/homes/name/Photos/Mobile:/usr/src/app/upload/library
- /volume3/dockerssd/immich/upload/upload:/usr/src/app/upload/upload
- /volume3/dockerssd/immich/upload/encoded-video:/usr/src/app/upload/encoded-video
- /volume3/dockerssd/immich/upload/thumbs:/usr/src/app/upload/thumbs
- /volume1/homes/name/Photos:/volume1/homes/name/Photos
restart: always
depends_on:
immich-redis:
condition: service_healthy
immich-db:
condition: service_started
typesense:
condition: service_started
2 replies
IImmich
•Created by hunterwinter11 on 5/20/2023 in #help-desk-support
Mobile images not uploading
I have been having an issue with the mobile app on IOS. One single image has been uploaded successfully in the past month. The rest aren’t getting uploaded. When I go into the backup area, the bar is moving showing that they are “uploading” but if I restart the app the same file name acts like it is uploading.
15 replies