I
Immich•4mo ago
FSUNate

Upload from phone not in UPLOAD_LOCATION

volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
Environment Variable
UPLOAD_LOCATION /share/CACHEDEV1_DATA/Documents/ImmichUploads
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
Environment Variable
UPLOAD_LOCATION /share/CACHEDEV1_DATA/Documents/ImmichUploads
I can't find a location of where they are being stored, but they are showing up in photos
30 Replies
Immich
Immich•4mo ago
:wave: Hey @FSUNate, 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
Immich
Immich•4mo ago
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.
GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
schuhbacca
schuhbacca•4mo ago
Is that actually how the env is formatted? It should be UPLOAD_LOCATION=/whatever/folder/structure Check next to where your docker compose is located
FSUNate
FSUNateOP•4mo ago
in portainer I import the env variables from a file
FSUNate
FSUNateOP•4mo ago
No description
schuhbacca
schuhbacca•4mo ago
Please share the full compose as well
FSUNate
FSUNateOP•4mo ago
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /share/CACHEDEV1_DATA/Media/Videos:/mnt/library1
- /share/CACHEDEV1_DATA/Media/Photos:/mnt/library2
- /etc/localtime:/etc/localtime:ro
- /dev/dri:/dev/dri # Intel QuickSync GPU access
devices:
- /dev/dri:/dev/dri # Additional device mapping
env_file:
- stack.env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
group_add:
- "video" # Ensure GPU access
environment:
- IMMICH_WORKERS_INCLUDE=api,microservices
- FFMPEG_HWACCEL=qsv
- LIBVA_DRIVER_NAME=iHD
networks:
- cloudflared_network

immich-machine-learning:
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /share/CACHEDEV1_DATA/Media/Videos:/mnt/library1
- /share/CACHEDEV1_DATA/Media/Photos:/mnt/library2
- /etc/localtime:/etc/localtime:ro
- /dev/dri:/dev/dri # Intel QuickSync GPU access
devices:
- /dev/dri:/dev/dri # Additional device mapping
env_file:
- stack.env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
group_add:
- "video" # Ensure GPU access
environment:
- IMMICH_WORKERS_INCLUDE=api,microservices
- FFMPEG_HWACCEL=qsv
- LIBVA_DRIVER_NAME=iHD
networks:
- cloudflared_network

immich-machine-learning:
schuhbacca
schuhbacca•4mo ago
Can you edit and use code formatting
Test
Test
It's three backticks Can you provide the server logs. Also did you change the upload location after initial creation? Is /share a mounted drive?
FSUNate
FSUNateOP•4mo ago
yes a mounted drive, and this was the setup from initial deployment no errors/warnings in the logs of each of the 4 containers associated with immich
schuhbacca
schuhbacca•4mo ago
docker inspect server-contaienr-id What does it say the bind path is?
FSUNate
FSUNateOP•4mo ago
No description
schuhbacca
schuhbacca•4mo ago
And if you do ls /share/CACHEDEV1_DATA/Documents/ImmichUploads/ it's empty? Is it a usb drive?
FSUNate
FSUNateOP•4mo ago
fixed drive in the NAS
FSUNate
FSUNateOP•4mo ago
No description
schuhbacca
schuhbacca•4mo ago
And upload is empty?
FSUNate
FSUNateOP•4mo ago
need a minute, since I wiped everything out I need to do a backup from phone again
FSUNate
FSUNateOP•4mo ago
I've since changed the storage template
No description
schuhbacca
schuhbacca•4mo ago
If you changed to using the storage template and ran the job to move all assets, then photos will be in the library folder instead, not upload
FSUNate
FSUNateOP•4mo ago
haven't run the job yet
schuhbacca
schuhbacca•4mo ago
Then the photos will be in those uuid folders
FSUNate
FSUNateOP•4mo ago
ran the job, I see them in /library/admin/yy/mm not seeing them in a window mapped network drive, guess I have to look into permission now. Going forward will the uploads now go to /library or will I always need to run that job?
schuhbacca
schuhbacca•4mo ago
New uploads will follow the convention Only if you change to a new template will you need to run the job again to move old assets to the new
FSUNate
FSUNateOP•4mo ago
was the issue that I never ran the migration job at all? I now see a physical path when opening a file in the UI
No description
schuhbacca
schuhbacca•4mo ago
If you enabled it and never ran the job, then yes assets already existing would not have been moved over
FSUNate
FSUNateOP•4mo ago
from a fresh install the storage template isn't default, so I assume that I would need to make sure to run that job to start before backing up anything since I've set a default location will Immich always create the paths /library/admin inside of my designated /UPLOAD_LOCATION?
schuhbacca
schuhbacca•4mo ago
From a fresh install, if you turn it on before any assets are uploaded, no you don't need to run it. If you upload assets, then turn it on, you would need to run it, to move assets over to the new template If you add new users they will automatically have folders created in UPLOAD_LOCATION/library/user
FSUNate
FSUNateOP•4mo ago
oic, I did not understand it this way. I thought it would create UPLOAD_LOCATION/yy/mm folders, now I understand Thank you for your help 🙂 @schuhbacca first time I installed the iphone app it seemed to not have an issue with connecting to the local network when I'm at home. Now it doesn't connect, I noticed that in the iphone -> settings -> apps -> immich -> that the local network toggle isn't there, it doesn't appear it's making a request to connect through the currently connected network. Is there something held in cache somewhere I'm not aware of that needs to be cleared out?
schuhbacca
schuhbacca•4mo ago
That I am unsure of. I don't use IOS so can't say one way or the other
Alex Tran
Alex Tran•4mo ago
iOS bug I beleive, restart the phone will work
FSUNate
FSUNateOP•4mo ago
I got it back, it took some work though. Had to clear Reset Location & Privacy. Then I shut off wifi on the phone to get it off the local network, then powered off, waited about 5 minutes for everything to clear out of the router. Re-installed the app, turned wifi back on, set the settings, then hit the sync button to force a connection, pop up then came up to allow local network, and then the toggle showed up in settings -> apps -> immich. Unfortunately a single restart didn't fix whatever was going on.

Did you find this page helpful?