I
Immich•3d ago
Peter

Upload path change with asustor portainer app store install

Help to change upload path..for some reason the asustor immich app install, you cannot change the upload path.. the app gets installed with portainer, so even though the documents state how to change in the traditional sense, using this method of install it seems I cannot find the way to change the upload path.
101 Replies
Immich
Immich•3d ago
:wave: Hey @Peter, 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. :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.
NoMachine
NoMachine•3d ago
do you have any kind of terminal or any way to inspect the container? maybe that'll bring some light if they are using an env variable or something hardcoded. I find weird the app it's distributed as an apk https://www.asustor.com/es/app_central/app_detail?id=1733&type=&model=
ASUSTOR
ASUSTOR NAS - Immich
Immich is a high performance self-hosted photo and video management solution. Easily back up, organize, and manage your photos on your own server. Immich helps you browse, search and organize your photos and videos with ease, without sacrificing your privacy. Note: 1. The app takes times to initialize after installation, please wait a moment. 2...
NoMachine
NoMachine•3d ago
since portainer is supported, maybe it's better to install the standard version using portainer instead of the asustor one
Peter
PeterOP•3d ago
Hi @NoMachine yes that is the app which is found in the asustor app store. it is weird that it is an apk? i will take some screenshots now for you i dont know exactly how to program the portainer version--
Peter
PeterOP•3d ago
No description
No description
No description
Peter
PeterOP•3d ago
i find this, but i cannot edit it
No description
Peter
PeterOP•3d ago
No description
NoMachine
NoMachine•3d ago
looks like you cannot edit it. if you don't have much on your library your best bet is do a manual install using portainer, so you have control over all the configuration https://immich.app/docs/install/portainer
Peter
PeterOP•3d ago
yes i see that, i have tried to do it manually hoever for some reason i dont know how to do it properly. if i get stuck could you please assist?
Peter
PeterOP•3d ago
so i try to do, but it says, unable to stack
No description
NoMachine
NoMachine•3d ago
you may have more luck asking on an asustor forum
Peter
PeterOP•3d ago
yea ok. appreciate that 🙂
Mraedis
Mraedis•3d ago
Is Immich available on some kind of internal app store @Peter ? And could you tell me your issue with using /share/Docker/lmmich/data ?
Peter
PeterOP•2d ago
hello, yes the app is located in asustor. since this, i have decided to delete and start from scratch , trying to install in portainer directly. its proven to be difficult for me 😅 . so far ive managed to install immich, with the help of bigbear youtube, however im still stuck
Peter
PeterOP•2d ago
after installed it myself via portainer, i am having difficulty find out my nas folder structure to point to. i always get errors.
No description
Peter
PeterOP•2d ago
reaching for help, what would you need from me to understand how to fix this?
Mraedis
Mraedis•2d ago
Well you need to first mount the volume/folder to the container through your compose, then yuo can import it in the GUI
Peter
PeterOP•2d ago
how to do that
Mraedis
Mraedis•2d ago
Under the line with ${UPLOAD_LOCATION}:/usr/src/app/upload add, for instance, /path/to/your/folder:/mnt/foldername Then mount /mnt/foldername in the GUI https://immich.app/docs/guides/external-library/
Peter
PeterOP•2d ago
somewhere here?
No description
Mraedis
Mraedis•2d ago
No description
Peter
PeterOP•2d ago
i just dont know my path file strucutre in this nas.
Mraedis
Mraedis•2d ago
No description
Peter
PeterOP•2d ago
No description
Mraedis
Mraedis•2d ago
Can you open a shell on the nas?
Peter
PeterOP•2d ago
maybe, i dont know how
Mraedis
Mraedis•2d ago
Well I don't either :p
Peter
PeterOP•2d ago
lol
Mraedis
Mraedis•2d ago
"Shell In A Box" on the app store
Mraedis
Mraedis•2d ago
Or enable terminal in the settings to remote SSH https://www.asustor.com/en/online/online_help?id=24
ASUSTOR
Peter
PeterOP•2d ago
ok i anabled, i am on a mac, do i go to terminal
Mraedis
Mraedis•2d ago
Do you know how to ssh at all? 👀
Peter
PeterOP•2d ago
bahaha im a novice
Mraedis
Mraedis•2d ago
Just to be clear, you're doing pretty advanced things and this might not be a good idea if you don't know what you're doing
Peter
PeterOP•2d ago
i can tell. i didnt want to go down this rabbit hole, however i was not satisfied with the regular photo app in the nas. immich seems so much better its frustrating that its so complex howwever =/
Mraedis
Mraedis•2d ago
It's not, actually, it's your asustor making things hard 😄
Peter
PeterOP•2d ago
hahaha i came from synology, so much easier
Mraedis
Mraedis•2d ago
So Terminal -> ssh usernameforAsustor@AsustorIP see what that gives you
Peter
PeterOP•2d ago
No description
Mraedis
Mraedis•2d ago
can you which find (Yes those are commands)
Peter
PeterOP•2d ago
hahaha i was going to say... it says /usr/bin/find
Mraedis
Mraedis•2d ago
Hurray we have find
Peter
PeterOP•2d ago
whats that
Mraedis
Mraedis•2d ago
It'll let you find the folder you want
Peter
PeterOP•2d ago
ok
Mraedis
Mraedis•2d ago
what folder do you want mounted? full name
Peter
PeterOP•2d ago
like a photos folder where the photos are stored
Mraedis
Mraedis•2d ago
But surely your folder has a name
Peter
PeterOP•2d ago
photos
Mraedis
Mraedis•2d ago
Or did you not make it yet?
Peter
PeterOP•2d ago
just photos very original lol
Mraedis
Mraedis•2d ago
Any filename already in this folder? Something stupid like IMG2455.jpg is fine Caps matters.
Peter
PeterOP•2d ago
oh right thats what you mean yes there are many of those wait IMG_20230805_174531.jpg chose anything
Mraedis
Mraedis•2d ago
Ok now in the terminal find / -name IMG_20230805_174531.jpg
Peter
PeterOP•2d ago
gees, it just had a dummy spit
Peter
PeterOP•2d ago
No description
Mraedis
Mraedis•2d ago
Classic.
Peter
PeterOP•2d ago
oh wait, its populating now somwhat yes found something /share/Photos/Peter/2023/08/08/IMG_20230805_174531.jpg and also /volume1/Photos/Peter/2023/08/08/IMG_20230805_174531.jpg these are the 2 that stick out
Mraedis
Mraedis•2d ago
Alright so could be that they are the same thing
Peter
PeterOP•2d ago
ok, it looks like it just differnet first part
Mraedis
Mraedis•2d ago
does ls -la /share/ and ls -la /volume1/ shed any light? ONe might be a link to the other
Peter
PeterOP•2d ago
when i do that the share shows all the folders, and the volume shows those folders and some .@filenames too
Mraedis
Mraedis•2d ago
Going to guess that you'll need to use share So /share/Photos/Peter or without the /Peter part if you want to mount everything
Peter
PeterOP•2d ago
ok - /share/Photos/:/mnt/share/Photos/
Peter
PeterOP•2d ago
like that?
No description
Mraedis
Mraedis•2d ago
You can name the right hand part whatever you want, it could be /mnt/Blargenfloogles as far as docker is concerned Just make sure you don't conflict names with other folders Whatever you put on the right is what you put in the GUI
Peter
PeterOP•2d ago
huh...mind blown, does not sound logical at all. so..
Mraedis
Mraedis•2d ago
Why is that not logical
Peter
PeterOP•2d ago
/share/Photos/:/mnt/whatever name i want
Mraedis
Mraedis•2d ago
It's just a link, you choose the name of the link
Peter
PeterOP•2d ago
ok, so lets say i put - /share/Photos/:/mnt/photos is that enough? you mean after /mnt/ "thisnameisatag" ? you have been super helpful so far btw ty i should also change the upload location to the same folder the same way?
Mraedis
Mraedis•2d ago
You could change the upload folder the same way, yes, but you'll need to move the files or wipe the database
Peter
PeterOP•2d ago
No description
Mraedis
Mraedis•2d ago
noooooooooo
Peter
PeterOP•2d ago
sry, i dont understnad . there is no photos in the uploads folder
Mraedis
Mraedis•2d ago
not like that You don't ever change /usr/src/app/upload
Peter
PeterOP•2d ago
oh man ok UNDO
Mraedis
Mraedis•2d ago
/share/Photos/Uploads:/usr/src/app/upload -> Yes BUT Don't put /usr/src/app/upload inside an external library so you can't both have /share/Photos/Uploads:/usr/src/app/upload and /share/Photos:/mnt/photos
Peter
PeterOP•2d ago
ok, im just follwoing you, i really dont know what im doing and what part of the code does what tbh. im trying to understand and learn, but i am just verbatim right now so right now, i have this - ${UPLOAD_LOCATION}:/usr/src/app/upload - /share/Photos/:/mnt/photos - /etc/localtime:/etc/localtime:ro and then what do i do to change the upload location
Mraedis
Mraedis•2d ago
${UPLOAD_LOCATION} comes from the env file, you change it either through the env file, or in your case the dropdown list in the portainer GUI, or you sneakily change it right in the compose
Peter
PeterOP•2d ago
i wish i could learn and understand this better, its defiantly a particular train of thought process
Mraedis
Mraedis•2d ago
You don't ever change /usr/src/app/upload because that's the part the software will be looking for left hand side from : is path on the container host, right hand side is inside the container
Peter
PeterOP•2d ago
i dont know the the compose
Mraedis
Mraedis•2d ago
Yes you do lol you're editing it right now
Peter
PeterOP•2d ago
ooo, compose is the software code?
Peter
PeterOP•2d ago
here then?
No description
Mraedis
Mraedis•2d ago
Yeah there you can change the upload location
Peter
PeterOP•2d ago
ok, is that the right way to put it in?
Mraedis
Mraedis•2d ago
In your terminal try: find /share -type d -name postgres
Peter
PeterOP•2d ago
ok
Mraedis
Mraedis•2d ago
No, you've left a . at the front . is linux for "current directory"
Peter
PeterOP•2d ago
oh ok i did that, and not found meaning nothing comes up
Mraedis
Mraedis•2d ago
mmmm gotta go get my kids though :p
Peter
PeterOP•2d ago
do i update the stack ok then
Mraedis
Mraedis•2d ago
bbl
Peter
PeterOP•2d ago
ok
Mraedis
Mraedis•2d ago
try it with /var/lib instead of /share
Peter
PeterOP•2d ago
says permission denied i think i give up gees.. ive pulled out all my hair, now im bald haha
Mraedis
Mraedis•2d ago
You just need to explore the file system a bit, get to know linux
Peter
PeterOP•2d ago
Haha , I know what you mean. But all I see is black with white text. Maybe one day I'll take the time out to learn, you have helped me to understanding somethings tho
Mraedis
Mraedis•2d ago
It's not helping that asustor is not exactly a normal linux install It's in fact a very special one 🙃

Did you find this page helpful?