Immich running but web upload errors: "unable to upload file".
Status: I just got the web server up and running. It correctly reports storage available in the corner and both the db and uploads folders have populated with a bunch of folders.
Symptoms: When I use the web upload to upload a file, a toast popup indicates an error has occured ("unable to upload file") and the image doesn't appear in the web gui. However, if I refresh the page, a record of the file DOES appear in the web gui, but it's blank and says "error loading image".
If I dig down into the uploads folder of my system, I see that my test uploads ARE present and uploaded correctly. So immich is correctly writing them to the disk. But for whatever reason it's throwing up errors and doesn't display them properly in the gui.
When I try to delete the error'd images, they go to the trash folder as expected. If I try to perma-delete, I get "unable to delete asset" or something along those lines but they DO disappear from the gui. They remain on disk in the uploads folder and weren't properly deleted.
My setup: I'm new to Immich and this is a new install on a Synology NAS via portainer. I mostly followed the portainer guide on the immich website but had to comment out one of the health check intervals due to Synology using an older Docker framework.
9 Replies
:wave: Hey @tismondo,
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.
env
System:
Synology DS1019+ running portainer with 16gb ram.
Immich:
1.131.3
Happy to paste logs but there are four containers and they're quite.... verbose! I'd appreciate some guidance about which containers would be helpful to know more about.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
I'm sure this must have something to do with it --
meanwhile the redis log just keeps repeating
It looks like a permission error but I don't understand how to fix it.
redis has all the same permissions as the other 3 containers.
So I have set the user in all of the containers
I haven't added those mount points
the FAQ doesn't specify which container needs those mount points. Do I mount them at the bottom of the compose.yaml?
Ehhhh I've fiddled with this so long, I'm sort of at the end of my rope and would like to make some progress. I can see it's not meant to be run as non-root. I'll just re-roll it with root privileges and hope everything is fine.
This thread has been closed. To re-open, use the button below.
It does, right?
It's at least very strongly hinted in the proposed volume names :P
My docker-foo is not very strong so yes, after taking a moment to remember the container names I gathered which container applies to each of those points, but it's not clear to me where/how in the compose.yaml to paste/mount them. That's certainly my failing since I'm not a pro at this. I just didn't know where to start decoding how to fit those pieces together.
But genuinely - thank you for your help. You helped me identify being non-root as the issue and after re-rolling with root I seem to be making progress getting this up and running.