Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate file ending of movie files in iOS live pictures #9390

Open
1 of 3 tasks
pauleseifert opened this issue May 11, 2024 · 0 comments
Open
1 of 3 tasks

duplicate file ending of movie files in iOS live pictures #9390

pauleseifert opened this issue May 11, 2024 · 0 comments

Comments

@pauleseifert
Copy link

The bug

Hi everyone,

I'm back on a fresh install on the newest version of immich. There seems to be a small bug in double assignment of the file extensions in iOS .heic pictures. They consist of a jpeg with the .heic ending and a separate movie file with a .mov ending. When running the storage migration job, this leads to the movie file being named IMG_5196.MOV.mov instead of IMG_5196.MOV.

Other video files are fine.

[Nest] 7  - 05/11/2024, 3:01:16 PM     LOG [MediaService] Attempting to finish incomplete move: upload/upload/5cfed9ba-bee6-4021-9e32-21fe2ba98334/ef/f0/eff00ad2-cf8c-4bdf-9212-4a2583e3c754.mov => upload/library/admin/2024/May/IMG_5196.MOV.mov
[Nest] 7  - 05/11/2024, 3:01:16 PM     LOG [MediaService] Found file at old location
[Nest] 7  - 05/11/2024, 3:01:16 PM   DEBUG [MediaService] Attempting to rename file: upload/upload/5cfed9ba-bee6-4021-9e32-21fe2ba98334/ef/f0/eff00ad2-cf8c-4bdf-9212-4a2583e3c754.mov => upload/library/admin/2024/May/IMG_5196.MOV.mov
[Nest] 7  - 05/11/2024, 3:01:16 PM   DEBUG [MediaService] Unable to rename file. Falling back to copy, verify and delete
[Nest] 7  - 05/11/2024, 3:01:16 PM   DEBUG [MediaService] File size check: 2663722 === 2663722
[Nest] 7  - 05/11/2024, 3:01:16 PM   DEBUG [MediaService] File checksum check: QIgNalqElVniov+2816i1ncBg7o= === QIgNalqElVniov+2816i1ncBg7o=
[Nest] 7  - 05/11/2024, 3:01:16 PM     LOG [MediaService] Attempting to finish incomplete move: upload/upload/5cfed9ba-bee6-4021-9e32-21fe2ba98334/30/ec/30ec6c97-7050-4ed8-b6a7-8a6db2876650.HEIC => upload/library/admin/2024/May/IMG_5196.HEIC
[Nest] 7  - 05/11/2024, 3:01:16 PM     LOG [MediaService] Found file at old location
[Nest] 7  - 05/11/2024, 3:01:16 PM   DEBUG [MediaService] Attempting to rename file: upload/upload/5cfed9ba-bee6-4021-9e32-21fe2ba98334/30/ec/30ec6c97-7050-4ed8-b6a7-8a6db2876650.HEIC => upload/library/admin/2024/May/IMG_5196.HEIC

My storage template is as follows:
Screenshot 2024-05-11 at 17 35 34

The OS that Immich Server is running on

docker

Version of Immich Server

v1.103.1

Version of Immich Mobile App

v1.103

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

1. upload .heic file
2. run storage migration job

Relevant log output

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant