#upload directory got changed

1 messages · Page 1 of 1 (latest)

dense briar
#

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

formal templeBOT
#

:wave: Hey @dense briar,

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

#

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.

formal templeBOT
exotic merlin
#

What do you mean symlink @dense briar ?

dense briar
#

I was messing with LXC immich in another instance and was creating symlink for upload folder.. but I removed that lxc though

exotic merlin
#

Could you ls -la /mnt/hdd/data/media/photos/immich/immich_files/ and ls -la /mnt/hdd/data/media/photos/immich/immich_files/upload/ ?

dense briar
#

added my docker compose and env file using pastebin

exotic merlin
#

Andf inally
ls -la /mnt/hdd/data/media/photos/immich/immich_files/upload/upload

dense briar
exotic merlin
#

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?

dense briar
#

i did a backup restore at some point.. I guess it is to do with the env file as you mentioned

dense briar
exotic merlin
#

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

dense briar
#

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

exotic merlin
#

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

Is sufficient

dense briar
#

upload folder is on a different drive

exotic merlin
#

Did you mount it directly to the folder then?

#

Or do you mean UPLOAD_DIRECTORY

#

It can be confusing, I know

dense briar
#

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