External library mapping issue
Hello everyone!
Nice to meet you all!
I might have a dumb question, but cant figure out...
I am on a Proxmox server, I have just installed Imitch on a VM by following all the steps described into the "Docker Compose" section of the website, including the edit of the .env file for the folder location, with /mnt/Photos. I have verified, I have access to this folder through the VM in SSH.
I can start the web UI, no issue, but we I try to map my external library by following the instructions from the website, I am facing a challenge:
- As per instructions, I have added as well the path of my local folder /mnt/Photos into the docker-compose.yml, saved, restarted my VM
-Went into the web UI, to the external library section up to the point I need to enter the /usr/src/app/external into the path, which is immediately showing "path failed verification". I have tried as well with /mnt/Photos but same path failed verification issue...
I've browsed FAQ and this Discord sections but haven't seen anything related to that, I think I must be missing something obvious... Any chance to show me the way? ๐
Thank you in advance! Happy to provide more information if needed ๐
zig
25 Replies
:wave: Hey @zigjack,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJAChecklist
I have...
1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: 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)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like
fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.GitHub
immich-app immich ยท Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
FAQ | Immich
User
GitHub
Issues ยท immich-app/immich
High performance self-hosted photo and video management solution. - Issues ยท immich-app/immich
Kindly post the info the bot requested , especially your compose file.
Sure, here you are
So the way you have it now, the path is the UI should be
/mnt/Photos
obviously
Nothing stands out from the compose files or such
Is this a volume on your proxmox server, or is it a network mount or ... ? What is the filesystem?This is a mount point I am using for some time already (with Photoprism) that I have in my node with CIFS through /fstab. The folder is stored into my standalone server with TrueNas on it, so ZFS. Any challenge with that? Should not as long as I can see the folder through my VM in SSH, at least, I assume
That all sounds good, yes
You are doing compose up after every edit?
Can you navigate to the path in the container? You can open a shell with
docker exec -it immich_server /bin/bash
I was restarting the VM, I suppose this has the same effect, but I just tried and had "yaml: line 23: block sequence entries are not allowed in this context" I assume this is not the expected feedback...?
Did it
Ah, you miswrote
env_file: - .env
Put that on the next line
And stop restarting the VM ๐ you only need to docker compose up -d
Indentation is important for YAMLOh god... I must haven't noticed that change... ๐
Thank you! Indeed the path is accepted now, but now If I click "scan" it goes very quickly still showing 0 assets and 0 size, and still 0 jobs as well in the jobs folder...
Anything visible inside the VM?
Sure

(Before you ask, same thing with a standard user ๐ )
Oh sorry I meant inside the container
The question is does it actually mount ๐
Looks like yes

Is PhotoPrism inside a docker container or directly on the VM?
My guess is now that it's some kind of permission issue
You could try to
head
or tail
any image file from inside the container to see if you're allowed to readPhotoprism was a headache, I have removed everything, but it was into a CT, so nothing related to my new Immich VM.
Not sure if this is what to be exected?

yeah a bunch of nonsense is fine
That's just (part of) the image header,
Ok so it's all mounted, readable...
I don't suppose you have any exclusion paths defined?
Correct, no exclusion... Just restarted the VM (dont hit me ๐ ), still the same...
Deleted the external library, remapped it, now I hqve something showing... I suppose there was an error kept in the loop in the initial settings... Jobs have triggered as well. So looking fine! ๐
Hurray
Thank you very much for your kind assisstance! How can I formally "thank you"?
Just a thumbs up is fine for me, if you're ready you can /close the thread
This thread has been closed. To re-open, use the button below.