#Help adding External library

1 messages ยท Page 1 of 1 (latest)

twin edge
#

I tried both "D:\Fun\Photos" and "D:\Fun\Photos" without double quotes. Both didn't work

devout lichen
#

Shouldn't need quotes as far as I know. Do you have your external drive mounted to the immich docker services?

twin edge
#

how do I do that? i directly giving the path where I stored my photos in my laptop

devout lichen
#

Can you post your compose file? For however you deploy immich.

twin edge
devout lichen
#

You'll need to add the drive location to the volume section. I'm not entirely sure of the format you need for Windows.

volumes:
  - ${UPLOAD_LOCATION}:/usr/src/app/upload
  - /etc/localtime:/etc/localtime:ro
  - D:\Fun\Photos:<internal location>
twin edge
#

I updated like this and restarted docker. It didn't work ๐Ÿ˜ฆ

twin edge
#

i also tried

twin edge
#

Alex helped me to resolve this issue in another message thread. I am all set on this

tough bane
#

Hey every1 just wanted to see if this thread could be shared here? ๐Ÿ™ thanks in advance

#
  • "D:/.DATA media:/mnt/media/my-media:ro"
    - "C:/Users/username/Desktop/my test:/mnt/media/win:ro"

these are my mount locations

#

the external drive is under D and C is the local filesystem, but once I add the external libraries and re-scan, no changes happen in the size of the items

elder anvil
#

I did and this is all I had to do

thorny moat
#

Sometimes it doesn't work because the path changes. you should first mount the External with fstab, then follow the immich instruction

tough bane
# elder anvil

Turns out this worked perfectly!

But I couldnt use my external drive, had to copy all of the assets over to my local drive and then set that as the primary location.

Thanks Marcus appreciate the help ๐Ÿ™