#Enabling Storage Engine does not move images

1 messages · Page 1 of 1 (latest)

glad pier
#

Hello, I've been using Immich with basically the default settings (no template engine) for a while and have uploaded about 3000 images through the app's backup feature so far.

Recently I wanted to actually have the uploaded images in a usable folder structure to access outside of Immich so I enabled the Storage Template Engine.
I run on TrueNAS SCALE using the latest Immich version SCALE provides (1.115.0), though this has happened on previous versions as well.

What I did from the base setup (Storage Template engine disabled, uploads/ folder with unreadable names and directories such as a2/e0/.../<guid>.jpg):

  • Set up storage labels for every account
  • Set up some albums (though not every image is in an album)
  • Set a library folder in the TrueNAS App Settings (/mnt/tank/apps/immich/library which should work as the upload folder is /mnt/tank/apps/immich/upload and was working fine)
  • Enabled the Template Engine
  • Set a template (I took it from a FAQ or GitHub page: {{y}}/{{#if album}}{{album}}{{else}}Other/{{MM}}{{/if}}/{{filename}}, though I also tried it without the conditionals beforehand)
  • Ran the Storage Template Migration Job from the Jobs page (multiple times now)

If I read the docs correctly I thought all images should be moved to /library/ and be under the path set by the template once the migration job runs but nothing seems to happen in my case.

I'd love to read logs of perhaps the job to maybe see something there but I don't know where they would be stored.
Thanks in advance for any help

dry graniteBOT
#

:wave: Hey @glad pier,

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. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :ballot_box_with_check: 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.

dry graniteBOT
ruby wolf
#

Please post the info the bot requested

glad pier
#

Turns out it's some EPERM: operation not permitted permission error I'll probably have to figure out outside of Immich; should be doable now I know where the logs are.