I
Immichโ€ข4mo ago
zigjack

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
Immich
Immichโ€ข4mo ago
: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_01GY0DAKGXDEHE263BCAYEGFJA
Immich
Immichโ€ข4mo ago
Checklist 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.
GitHub
Issues ยท immich-app/immich
High performance self-hosted photo and video management solution. - Issues ยท immich-app/immich
Mraedis
Mraedisโ€ข4mo ago
Kindly post the info the bot requested , especially your compose file.
zigjack
zigjackOPโ€ข4mo ago
Sure, here you are
Mraedis
Mraedisโ€ข4mo ago
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?
zigjack
zigjackOPโ€ข4mo ago
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
Mraedis
Mraedisโ€ข4mo ago
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
zigjack
zigjackOPโ€ข4mo ago
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
Mraedis
Mraedisโ€ข4mo ago
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
env_file:
- .env
env_file:
- .env
Indentation is important for YAML
zigjack
zigjackOPโ€ข4mo ago
Oh 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...
Mraedis
Mraedisโ€ข4mo ago
Anything visible inside the VM?
zigjack
zigjackOPโ€ข4mo ago
Sure
No description
zigjack
zigjackOPโ€ข4mo ago
(Before you ask, same thing with a standard user ๐Ÿ™‚ )
Mraedis
Mraedisโ€ข4mo ago
Oh sorry I meant inside the container The question is does it actually mount ๐Ÿ™‚
zigjack
zigjackOPโ€ข4mo ago
Looks like yes
No description
Mraedis
Mraedisโ€ข4mo ago
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 read
zigjack
zigjackOPโ€ข4mo ago
Photoprism was a headache, I have removed everything, but it was into a CT, so nothing related to my new Immich VM.
zigjack
zigjackOPโ€ข4mo ago
Not sure if this is what to be exected?
No description
Mraedis
Mraedisโ€ข4mo ago
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?
zigjack
zigjackOPโ€ข4mo ago
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! ๐Ÿ˜‰
Mraedis
Mraedisโ€ข4mo ago
Hurray
zigjack
zigjackOPโ€ข4mo ago
Thank you very much for your kind assisstance! How can I formally "thank you"?
Mraedis
Mraedisโ€ข4mo ago
Just a thumbs up is fine for me, if you're ready you can /close the thread
Immich
Immichโ€ข4mo ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?