Help with changing my storage location

Hi when I have the default storage location, immich works and I can view it on a web browser. But I want to change the storage location to my raid5 array but when I change the location, it stops working on the web browser. What's the correct way to change the storage location? And I want to store all immich related things in my raid5 array (theyre just hard drives externally. I use sdd for the boot drive and i dont want to clog it)
70 Replies
Immich
Immich2mo ago
:wave: Hey @illiteratewaffle, 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:
F4mouZSt4r
F4mouZSt4r2mo ago
change the locations in the .env file https://immich.app/docs/guides/custom-locations
illiteratewaffle
illiteratewaffleOP2mo ago
I have
No description
Mraedis
Mraedis2mo ago
What is the error message
illiteratewaffle
illiteratewaffleOP2mo ago
No description
illiteratewaffle
illiteratewaffleOP2mo ago
but it connects when I have the default location up
illiteratewaffle
illiteratewaffleOP2mo ago
No description
illiteratewaffle
illiteratewaffleOP2mo ago
No description
Mraedis
Mraedis2mo ago
This is horrible, don't do this That's the webpage, what is the actual error message in docker? docker compose logs
illiteratewaffle
illiteratewaffleOP2mo ago
i was following this
No description
illiteratewaffle
illiteratewaffleOP2mo ago
hang on let me get the logs real quick
Mraedis
Mraedis2mo ago
Yes and you don't need it
illiteratewaffle
illiteratewaffleOP2mo ago
what's the command for logs?
Mraedis
Mraedis2mo ago
literally this
illiteratewaffle
illiteratewaffleOP2mo ago
ah sorry im blind
illiteratewaffle
illiteratewaffleOP2mo ago
im not sure what im looking for heres the last several lines
illiteratewaffle
illiteratewaffleOP2mo ago
@Mraedis unsure if this is helpful but when i run docker ps: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a4a594030130 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" 5 minutes ago Restarting (1) 27 seconds ago immich_server 09581649f6e9 ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" 5 minutes ago Up 5 minutes (healthy) immich_machine_learning 7ece8bca273c ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" 9 minutes ago Up 9 minutes (health: starting) 5432/tcp immich_postgres c1a90e615f16 valkey/valkey:8-bookworm "docker-entrypoint.s…" 24 minutes ago Up 24 minutes (healthy) 6379/tcp immich_redis 4c6e0885a96c postgres:14 "docker-entrypoint.s…" 35 minutes ago Up 35 minutes 5432/tcp immich-postgres 852b6aea1728 redis:6 "docker-entrypoint.s…" 35 minutes ago Up 35 minutes 6379/tcp immich-redis
illiteratewaffle
illiteratewaffleOP2mo ago
No description
Mraedis
Mraedis2mo ago
Did you move the files/folders or do you want to start anew? ah I see your issue
illiteratewaffle
illiteratewaffleOP2mo ago
lets start anew i dont have any images or files
Mraedis
Mraedis2mo ago
you have multiple postgres containers on the network
illiteratewaffle
illiteratewaffleOP2mo ago
wait what?
Mraedis
Mraedis2mo ago
you have multiple copies of immich_postgres and immich_redis right there in your output
illiteratewaffle
illiteratewaffleOP2mo ago
Ok I did have a raspberry pi that ran immich with external drives and it worked. It stays? and then i took that guy out since it was slow oh ok
Mraedis
Mraedis2mo ago
No it's likely something that went wrong when you were composing earlier
illiteratewaffle
illiteratewaffleOP2mo ago
uhh okay
Mraedis
Mraedis2mo ago
docker compose down
illiteratewaffle
illiteratewaffleOP2mo ago
done
Mraedis
Mraedis2mo ago
and docker stop immich-redis docker stop immich-postgres sorry with a -
illiteratewaffle
illiteratewaffleOP2mo ago
👍
Mraedis
Mraedis2mo ago
Just to be clear, can you show your compose?
illiteratewaffle
illiteratewaffleOP2mo ago
when i run the docker stop, just the name shows up How do I do that? sorry im unfamiliar with linux haha
Mraedis
Mraedis2mo ago
it's the file docker-compose.yml
illiteratewaffle
illiteratewaffleOP2mo ago
okay
illiteratewaffle
illiteratewaffleOP2mo ago
No description
illiteratewaffle
illiteratewaffleOP2mo ago
No description
Mraedis
Mraedis2mo ago
alright remove all those custom locations and keep only the UPLOAD_LOCATION one and etc localtime
illiteratewaffle
illiteratewaffleOP2mo ago
got it
Mraedis
Mraedis2mo ago
then compose up docker compose up -d Obviously
illiteratewaffle
illiteratewaffleOP2mo ago
No description
illiteratewaffle
illiteratewaffleOP2mo ago
the server cant seem to go up
Mraedis
Mraedis2mo ago
Getting closer what does docker compose logs say now
Mraedis
Mraedis2mo ago
Did you have anything uploaded already or not yet?
illiteratewaffle
illiteratewaffleOP2mo ago
nothing im just setting it up lol
Mraedis
Mraedis2mo ago
delete everything inside of /mnt/raid5/immich except for the compose and env (and compose up again of course)
illiteratewaffle
illiteratewaffleOP2mo ago
hang on im just confirming that youve got it right. I have an ssd where i installed immich on and i connected external hard drives and i want to store my images on the external hard drives i appreciate the help btw
Mraedis
Mraedis2mo ago
Only the images?
illiteratewaffle
illiteratewaffleOP2mo ago
Images and their metadata (is that what you call it?)
Mraedis
Mraedis2mo ago
yes
illiteratewaffle
illiteratewaffleOP2mo ago
Okay yeah
Mraedis
Mraedis2mo ago
and /mnt/raid5/immich only contains immich things right? no pictures yet?
illiteratewaffle
illiteratewaffleOP2mo ago
No pictures at all on the computer I installed docker on home/user/immich-app and /mnt/raid5/ is the external hard drives should i delete everything from the installation spot?
Mraedis
Mraedis2mo ago
Yeah so just wipe everything inside of /mnt/raid5/immich if the folder does not exist, please create it though
illiteratewaffle
illiteratewaffleOP2mo ago
i keep doing sudo rm -rf /mnt/raid5/immich but the directory keeps popping up is there a better way of emptying out that folder 😂
Mraedis
Mraedis2mo ago
yeah, did you stop the containers?
illiteratewaffle
illiteratewaffleOP2mo ago
docker compose down no configuration file provided: not found lmfao im okay with not deleting the old files and just creating new folders to start anew
Mraedis
Mraedis2mo ago
did you keep the compose inside of that folder? 🙃
illiteratewaffle
illiteratewaffleOP2mo ago
oh shit i realized i ran docker compose down outside of the folder where i installed docker in hang ong Okay its wiped
Mraedis
Mraedis2mo ago
and up it goes again
illiteratewaffle
illiteratewaffleOP2mo ago
same issue, the server cant seem to start up
illiteratewaffle
illiteratewaffleOP2mo ago
No description
Mraedis
Mraedis2mo ago
so weird I really need to go to sleep but I suggest another down, removing the container images and re-pulling 👀
illiteratewaffle
illiteratewaffleOP2mo ago
do you think it could be a permissions issue? i mean theyre just drives that were attached ah well thank you for your time good night
Mraedis
Mraedis2mo ago
docker system prune -a I believe Does it create folders inside? if yes, it's not a permissions issue
illiteratewaffle
illiteratewaffleOP2mo ago
yes oh weird alright
Mraedis
Mraedis2mo ago
Keep us posted! Going to bed
illiteratewaffle
illiteratewaffleOP2mo ago
good night thank you

Did you find this page helpful?