Error loading dynamically imported module (Raspberry Pi crashlooping on v1.139)
Hi everyone, it seems that after updating my RPi, immich server doesn't work anymore. I got warnings asking me to check for my internet connexion and this error :
it seems that the container keeps restarting it may look like this issue here but I'm not sure : https://github.com/immich-app/immich/issues/21189
System : DietPi v9.16.3 : 23:07
Device model : RPi 4 Model B (aarch64) with 8GB of RAM
It only happened when I tried to view my photos on my laptop in the webview after migrating to the latest update.
The logs look like the logs sent in the github issue but I'm not sure if it is related or not.
Thanks for the help !
14 Replies
:wave: Hey @Adrien,
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
[Issue] v1.139.2 Docker Container Restart Loop (immich-app/immich#21189)
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:The logs look like the logs sent in the github issueCould you post your logs here, just to be sure that we are on the same page? Thanks.
This is the result of
docker compose ps
:
Looks like a comment on the issue could explain a bit : it seems this issues appears when starting the thumbnail creating jobThanks!
Do you have an idea what images cause that? If so, could you share a sample to reproduce the issue?
That was the latest pictures and videos I took this month, I can send one of the pictures if you want

This is another one if you need it

Both pictures have been taken on a pixel 6 without any special photo editing stuff
Thanks for the images!
Although cannot reproduce on my 1.139.2 instances (macos arm, linux x64).
Possible explanations
- it is specific to RPI (in recent days we saw a lot RPI crashlooping reports)
- or Discord compressed the images. This is what I downloaded:
Hmm I see. Is there anything I can try to stop the crashlooping ?
Or should I just wait until a fix is found ?
I'll do a checksum of the images tomorrow morning to ensure discord didn't compressed them.
Workarounds
- Try purging Redis data (it stores thumbnail job queue, it's fine to remove)
docker compose down redis
, then "up"
- Switch to v1.138.0Purging redis data solved the issue on the Android app, there are still some thumbnails that haven't been finished so the pictures are displaying an error. Otherwise it shows my pictures of august in in the web app too.
Here's the SHA256 of PXL_20250812_131602005.JPG : AE35696EC898F5D8C14B0C78CD89724A546F34F4C08050DC5E4B22C2A7F9B160
And there's the SHA256 of PXL_20250820_152948883.JPG : 4D690619F8F0F5B36E3F0702C1E9187824769F387B64F6ADE0712D15AB8602BB
Perhaps Discord trimmed metadata a bit.