Motion photos not showing?
I just setup Immich for the first time, v1.79.1 via docker on Ubuntu.
Is there anything extra that needs to be done to get motion photos to work? I've tried uploading them from web and my Pixel 7 but no motion photos button is showing. The Motion Photos section of search is empty. There are no pending or failed jobs.
3 Replies
in the logs I see an error
immich_microservices | [Nest] 7 - 09/29/2023, 2:44:20 AM ERROR [MetadataExtractionProcessor] Failed to extract live photo upload/upload/27b6f46b-617f-44f4-b880-a8cddc83ec4f/bd808f7c-f9f0-47d0-88ab-2a178db0afc8.jpg: QueryFailedError: null value in column "libraryId" of relation "assets" violates not-null constraint
immich_microservices | QueryFailedError: null value in column "libraryId" of relation "assets" violates not-null constraint
immich_microservices | at PostgresQueryRunner.query (/usr/src/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:211:19)
immich_microservices | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_microservices | at async InsertQueryBuilder.execute (/usr/src/app/node_modules/typeorm/query-builder/InsertQueryBuilder.js:106:33)
immich_microservices | at async SubjectExecutor.executeInsertOperations (/usr/src/app/node_modules/typeorm/persistence/SubjectExecutor.js:260:42)
immich_microservices | at async SubjectExecutor.execute (/usr/src/app/node_modules/typeorm/persistence/SubjectExecutor.js:92:9)
immich_microservices | at async EntityPersistExecutor.execute (/usr/src/app/node_modules/typeorm/persistence/EntityPersistExecutor.js:140:21)
immich_microservices | at async AssetRepository.save (/usr/src/app/dist/infra/repositories/asset.repository.js:152:24)
immich_microservices | at async MetadataExtractionProcessor.applyMotionPhotos (/usr/src/app/dist/microservices/processors/metadata-extraction.processor.js:215:31)
immich_microservices | at async MetadataExtractionProcessor.handleMetadataExtraction (/usr/src/app/dist/microservices/processors/metadata-extraction.processor.js:152:9)
https://github.com/immich-app/immich/pull/4218
Should be resolved in the next release
GitHub
fix(server): android live motion by jrasm91 · Pull Request #4218 · ...
Library Id wasn't being set for this new/extracted asset.
I see, thanks!