#Template Migration Job + Untracked Files

1 messages · Page 1 of 1 (latest)

rugged raft
#

Every time I try to run the template migration job, I run into a bunch of errors before the job is killed by one in particular.

valid spokeBOT
#

:wave: Hey @rugged raft,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: I have read applicable release notes.
  3. :blue_square: I have reviewed the FAQs for known issues.
  4. :blue_square: I have reviewed Github for known issues.
  5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :blue_square: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

rugged raft
#

Each line is preceded by

/usr/src/app/upload/upload/ee22b129-04e6-4908-ad6b-b76b999ad2f4
#

Take note of the last few lines of the docker logs:

[Nest] 7  - 05/15/2024, 4:59:21 PM   ERROR [JobService] Unable to run job handler (storageTemplateMigration/storage-template-migration): Error: EPERM: operation not permitted, lstat 'upload/library/admin/2024/04/._28-at05:25-IMG_9064.MOV.xmp'
[Nest] 7  - 05/15/2024, 4:59:21 PM   ERROR [JobService] Error: EPERM: operation not permitted, lstat 'upload/library/admin/2024/04/._28-at05:25-IMG_9064.MOV.xmp'
[Nest] 7  - 05/15/2024, 4:59:21 PM   ERROR [JobService] Object:
{}
ashen frigate
#

Looks like an issue with file permissions. The files in the upload folder should be owned by user 1000

#

Or at least that user should have read/write

rugged raft
#
cakedayy@potato:~/docker_apps/immich/mount$ ls -ln
total 0
drwxr-xr-x  1 1000 1000 72 May  8 03:20 encoded-video
drwxr-xr-x  1 1000 1000 10 May 15 21:30 library
drwxr-xr-x  1 1000 1000 72 May  8 03:20 thumbs
drwxr-sr-x+ 1 1000 1000 72 May  6 18:34 upload
#

the microservices container is on another machine and accessing these folders over NFS