I
Immich2mo ago
Adrien

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 :
error loading dynamically imported module: http://192.168.0.30:2283/_app/immutable/nodes/19.p0fkrwXm.js (500)
error loading dynamically imported module: http://192.168.0.30:2283/_app/immutable/nodes/19.p0fkrwXm.js (500)
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
Immich
Immich2mo ago
: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:
Sergey Katsubo
Sergey Katsubo2mo ago
The logs look like the logs sent in the github issue
Could you post your logs here, just to be sure that we are on the same page? Thanks.
Adrien
AdrienOP2mo ago
These are my docker compose logs
Adrien
AdrienOP2mo ago
This is the result of docker compose ps :
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
immich_machine_learning ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" immich-machine-learning 2 days ago Up 11 hours (healthy)
immich_postgres ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" database 3 weeks ago Up 11 hours (healthy) 5432/tcp
immich_redis docker.io/valkey/valkey:8-bookworm@sha256:fec42f399876eb6faf9e008570597741c87ff7662a54185593e74b09ce83d177 "docker-entrypoint.s…" redis 7 weeks ago Up 11 hours (healthy) 6379/tcp
immich_server ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" immich-server 2 days ago Up 30 seconds (health: starting) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
immich_machine_learning ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" immich-machine-learning 2 days ago Up 11 hours (healthy)
immich_postgres ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" database 3 weeks ago Up 11 hours (healthy) 5432/tcp
immich_redis docker.io/valkey/valkey:8-bookworm@sha256:fec42f399876eb6faf9e008570597741c87ff7662a54185593e74b09ce83d177 "docker-entrypoint.s…" redis 7 weeks ago Up 11 hours (healthy) 6379/tcp
immich_server ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" immich-server 2 days ago Up 30 seconds (health: starting) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp
Looks like a comment on the issue could explain a bit : it seems this issues appears when starting the thumbnail creating job
Sergey Katsubo
Sergey Katsubo2mo ago
Thanks! Do you have an idea what images cause that? If so, could you share a sample to reproduce the issue?
Adrien
AdrienOP2mo ago
That was the latest pictures and videos I took this month, I can send one of the pictures if you want
Adrien
AdrienOP2mo ago
No description
Adrien
AdrienOP2mo ago
This is another one if you need it
No description
Adrien
AdrienOP2mo ago
Both pictures have been taken on a pixel 6 without any special photo editing stuff
Sergey Katsubo
Sergey Katsubo2mo ago
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:
350360 img4-PXL_20250812_131602005_1.jpg
41798 img4-PXL_20250820_152948883.jpg
350360 img4-PXL_20250812_131602005_1.jpg
41798 img4-PXL_20250820_152948883.jpg
Adrien
AdrienOP2mo ago
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.
Sergey Katsubo
Sergey Katsubo2mo ago
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.0
Adrien
AdrienOP2mo ago
Purging 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
Sergey Katsubo
Sergey Katsubo2mo ago
% sha256sum img4-PXL_202508*
1d97e969a0c644db2fe6548930f449709829783fa86410c5262555f8e11dc7ba img4-PXL_20250812_131602005_1.jpg
9edf06d38e1286b809ce9d276019d6400322ace88734e5f8d5b504d4d32adb9d img4-PXL_20250820_152948883.jpg
% sha256sum img4-PXL_202508*
1d97e969a0c644db2fe6548930f449709829783fa86410c5262555f8e11dc7ba img4-PXL_20250812_131602005_1.jpg
9edf06d38e1286b809ce9d276019d6400322ace88734e5f8d5b504d4d32adb9d img4-PXL_20250820_152948883.jpg
Perhaps Discord trimmed metadata a bit.

Did you find this page helpful?