I
Immich2w ago
arnob

upload directory got changed

My original upload location is "/mnt/hdd/data/media/photos/immich/immich_files/upload/upload" where there is a folder for my profile which starts with 48721b69..... When I am uploading new photo using my mobile, it is now getting created 1 step above "/mnt/hdd/data/media/photos/immich/immich_files/upload" after creating a new profile folder using 48721b69... I did not change my .env file or docker-compose.yml file and the .env had this upload location from the beginning "UPLOAD_LOCATION=/mnt/hdd/data/media/photos/immich/immich_files" So, what am I doing wrong? Could there be something to do with symlink? Docker compose: https://pastebin.com/ir7QjTeJ Env file: https://pastebin.com/DHpdEdZH
Pastebin
docker-compose.yml - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
env file - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
17 Replies
Immich
Immich2w ago
:wave: Hey @arnob, 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 Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Mraedis
Mraedis2w ago
What do you mean symlink @arnob ?
arnob
arnobOP2w ago
I was messing with LXC immich in another instance and was creating symlink for upload folder.. but I removed that lxc though
Mraedis
Mraedis2w ago
Could you ls -la /mnt/hdd/data/media/photos/immich/immich_files/ and ls -la /mnt/hdd/data/media/photos/immich/immich_files/upload/ ?
arnob
arnobOP2w ago
No description
No description
arnob
arnobOP2w ago
added my docker compose and env file using pastebin
Mraedis
Mraedis2w ago
Andf inally
ls -la /mnt/hdd/data/media/photos/immich/immich_files/upload/upload
arnob
arnobOP2w ago
No description
Mraedis
Mraedis2w ago
alright so it definitely used to be /upload/upload your env file is set for /upload though It's also badly set for encoded-video and profile for that matter Did you backup-restore to your LXC or what did you do there?
arnob
arnobOP2w ago
i did a backup restore at some point.. I guess it is to do with the env file as you mentioned both my encoded video folder and profile is empty.. I guess these are not working for me
Mraedis
Mraedis2w ago
They're not at /mnt/hdd/data/media/photos/immich/encoded-video ? Do you have space to duplicate the folders? Because I think the safest way forward is to merge everything
arnob
arnobOP2w ago
oh sorry encoded video is correctly there but profile is empty If I setup everything from scratch using immich go from my google photo, what is better way for setting following folders? UPLOAD_LOCATION=/mnt/hdd/data/media/photos/immich/immich_files THUMB_LOCATION=/mnt/immichconfig/thumbs ENCODED_VIDEO_LOCATION=/mnt/hdd/data/media/photos/immich/encoded-video PROFILE_LOCATION=/mnt/hdd/data/media/photos/immich/profile
Mraedis
Mraedis2w ago
Unless you've uploaded profile pictures it will be empty You don't actually need to specify those directories if they're on the same drive
UPLOAD_LOCATION=/mnt/hdd/data/media/photos/immich/immich_files
THUMB_LOCATION=/mnt/immichconfig/thumbs
UPLOAD_LOCATION=/mnt/hdd/data/media/photos/immich/immich_files
THUMB_LOCATION=/mnt/immichconfig/thumbs
Is sufficient
arnob
arnobOP2w ago
upload folder is on a different drive
Mraedis
Mraedis2w ago
Did you mount it directly to the folder then? Or do you mean UPLOAD_DIRECTORY It can be confusing, I know
arnob
arnobOP2w ago
haha yes sorry I am windows user basically so my terms may be wrong I have my hard drive mounted to /hdd in proxmox Then I mounted /mnt to the lxc of immich-docker So the uploads of photos go to hdd. If I rebuild, I would now have an 'upload' folder/directory in below location as I understand: UPLOAD_LOCATION=/mnt/hdd/data/media/photos/immich/immich_files
Immich
Immich2w ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?