New Installation - All photos and thumbnails show "error loading image"
Hello all, having an odd issue which I'm hoping you can help me with.
Brand new installation on a Synology NAS via docker-compose
Operating with a service account which has been granted read/write to the UPLOAD_LOCATION and read-only to the folder containing all my photos and videos
Created the new external library and gave it the proper paths. Started the index process and it seems to be scanning things fine.
The first images loaded appear to have gotten proper thumbnails but everything after that is failing with the "error loading image". Attempting to click on a photo also fails with a "error loading image" but all the image details are available including the location, which implies that the file loaded properly...
Videos play just fine, if I either hover over them or click on them. The file access is the same for the photos or the videos as they are in the same directory....?
37 Replies
:wave: Hey @ExcaliburVT,
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_01GY0DAKGXDEHE263BCAYEGFJAChecklist
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.GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
FAQ | Immich
User
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
1
Docker compose file is the standard one available for download with only the healthcheck start_interval line commented out due to incompatability with synology docker
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
I am running behind a synology reverse proxy and I just found this guide: https://mariushosting.com/synology-how-to-run-immich-via-https/ which helped to define the websocket headers
but i also attempted access via direct-connect without proxy and having the same issue
I am able to download images directly that do not load thumbnails
We need log files from the containers to really dig into it.
roger
server or all of them
Server and postgres
ugh that log is terrible in csv
alright something is definitely weird. synology is erroring when i try to access the log for the server
it was definitely available earlier, might be that its file size is too large to access from the web interface
gotta dig
Maybe you are overwhelming it with the import. The errors images may just not be processed yet. What does the jobs page say if you can access it.
yeah thats definitely a possibility. I'm restarting all the containers
might try loading just a small set of folders, it definitely seems to be random as some groups of photos loaded while others dont
It may have been still processing the entire library. Check the job page next time and see if there's anything there. It needs to process thumbnails before showing them on the timeline.
025/01/15 21:18:23 stdout [33m[Nest] 7 - [39m01/15/2025, 9:18:17 PM [33m WARN[39m [33m[Microservices:PersonService][39m [33mFace eb8f0b1c-54c0-494b-8b64-19a86683982d not found[39m
2025/01/15 21:18:23 stdout [33m[Nest] 7 - [39m01/15/2025, 9:18:17 PM [33m WARN[39m [33m[Microservices:PersonService][39m [33mFace 6a28939b-c434-4347-a7c8-7dbe1db5833b not found[39m
2025/01/15 21:18:23 stdout [33m[Nest] 7 - [39m01/15/2025, 9:18:17 PM [33m WARN[39m [33m[Microservices:PersonService][39m [33mFace d0cf7bb9-75d3-494b-873c-35427730fbaf not found[39m
2025/01/15 21:18:23 stdout [33m[Nest] 7 - [39m01/15/2025, 9:18:17 PM [33m WARN[39m [33m[Microservices:PersonService][39m [33mFace d883ecbb-bd9b-4640-9507-fb5add07d05c not found[39m
2025/01/15 21:18:23 stdout [33m[Nest] 7 - [39m01/15/2025, 9:18:17 PM [33m WARN[39m [33m[Microservices:PersonService][39m [33mFace 4e6606d3-94d0-4d25-831a-3b25a3a8fcf0 not found[39m
its really annoying. Synology seems to only do log export in html and csv
2025/01/15 21:20:30 stderr [31m[Nest] 7 - [39m01/15/2025, 9:20:27 PM [31m ERROR[39m [33m[Microservices:JobService][39m [31mObject:[39m
2025/01/15 21:20:30 stderr at process.processTimers (node:internal/timers:529:7)[39m
2025/01/15 21:20:30 stderr at listOnTimeout (node:internal/timers:594:17)
2025/01/15 21:20:30 stderr at Timeout._onTimeout (/usr/src/app/node_modules/pg-pool/index.js:205:27)
2025/01/15 21:20:30 stderr [31m[Nest] 7 - [39m01/15/2025, 9:20:27 PM [31m ERROR[39m [33m[Microservices:JobService][39m [31mError: timeout exceeded when trying to connect
2025/01/15 21:20:30 stderr [31m[Nest] 7 - [39m01/15/2025, 9:20:27 PM [31m ERROR[39m [33m[Microservices:JobService][39m [31mUnable to run job handler (metadataExtraction/metadata-extraction): Error: timeout exceeded when trying to connect[39m
2025/01/15 21:20:30 stderr
2025/01/15 21:20:30 stderr } yeah definitely looks like something is overloaded
2025/01/15 21:20:30 stderr } yeah definitely looks like something is overloaded

Yeah. Try turning down concurrency in the admin section. Is your database on a hard drive?
yeah
Really would recommend an SSD. You are for sure overwhelming it
lol yeah
definitely a disadvantage for a synology
actually the main reason i'm looking at immich is to see if i can get it to replace the synology photo system
which was the main reason i got synology in the first place
You basically have the option of turning down concurrency in the admin area and limiting the actual container resources via docker
if i can get it to do what i want i probably will build my own nas
thx
Which Synology unit do you have? You may be able to use hw acceleration
lol thats actually what i'm trying to set up as we speak
thought of the same thing
Phone is at 2%, I'm running a ds423+ (j4125) and can give specific advice thereafter if desired
what setup you using? vaapi?
Im on a DS720+ Intel Celeron J4125
I'm not transcoding, openvino only
hmm odd question, i deleted the external library and all the thumbnails stuck around (I was trying to do a clean run)
anything i can do to clean things up?
hmm i think i'm just gonna delete the docker cache and start over from scratch
Theres a job you'd run, can't remember which
How much ram do you have in your Synology?
6GB
but doesnt seem to be trying to use more than 2-3
its been great for running plex and all the other stuff i needed and its certainly been nice to have a "canned" NAS but i think i'm hitting the limits of its usefulness. Too many quirks that you have to hack around
I know what you mean. FWIW I run 18gb and wouldn't go with less. It lets me run a better smart search model
yeah i have quite a few containers running and the resource monitor swears that the whole system is only using about 1/3 of the memory. i keep seeing forum posts saying that its lying but its really annoying
I mean most of my ram is cache. It just makes the experience snappy when navigating
I also added SSD nvme cache to the unit (read only)
yeah another annoyance. my synology has an M.2 slot but they intend for it to be used for cache, which according to all the articles I've seen is crap and offers no real speed advantages. You can't set up the M.2 as a drive
seen a few articles on how to hack it to become a drive but several people also said it ended up getting wiped
think its time to just build a new NAS the way i want it
Yeah. I mean I noticed a difference from it but it'll depend on use case. I just tossed an old laptops 256gb nvme stick into it
The one thing I like about Synology is how I never spend time making something work, it just works. But now that I'm using immich that is being rethought as well