Immich Thumbnails Broken After Update: Rebuild Guide
Fix the immich thumbnail error loading image after an update by checking storage, permissions, and jobs, then safely rebuild missing thumbnails in Immich.

If your jellyfin container stuck on restarting, Docker is repeatedly launching Jellyfin and then stopping it because the process exits or fails its health check. A common cause is that the container cannot write to its mounted configuration directory because the host directory has incorrect ownership or permissions.
Jellyfin needs to read its configuration and database, write logs and cache, and access media through the paths you mount into the container. A bad mount, inaccessible directory, invalid configuration, or unavailable device can make startup fail; Docker's restart policy then tries again.
/config is missing, read-only, or not writable by the container's user.From the directory containing your Compose file, run docker compose ps and then docker compose logs --tail=100 jellyfin. If your service has another name, replace jellyfin with the service name shown in the Compose file. Look for the first error before the container exits; messages about access being denied, a missing path, or a database failure point to different fixes below.
Run docker compose config to check the rendered Compose configuration for syntax or variable-substitution problems. Then inspect the container with docker inspect "$(docker compose ps -q jellyfin)" on Linux, or use docker inspect <container_name> after copying the name from docker compose ps -a. Check the state, exit code, and restart count. A steadily increasing restart count confirms a loop; use the logs to identify the reason rather than changing the restart policy.
In the Compose file, find the volume mapped to /config. Confirm the host-side directory exists and is the intended persistent configuration folder. Check the image documentation or your Compose environment settings for the UID and GID Jellyfin runs as; these vary by image. On Linux, inspect the directory with ls -ld /path/to/config and review ownership and permissions. Correct them for the configured container user, then run docker compose up -d jellyfin. The fix is confirmed when logs no longer report write or permission errors and the service stays up.
Review the volumes: section and make sure each host path exists on the Docker host and maps to the intended container path. For example, a media folder might map as /srv/media:/media:ro; Jellyfin's library must then point to /media, not the host path. Check whether a path is accidentally mounted read-only when Jellyfin needs to write there. A corrected path should appear in docker compose config, and the next startup should get past any “path not found” or access errors.
Compare the service's environment:, user:, ports:, and image settings with the instructions for the image you actually use. Check that variables referenced as ${NAME} are set in the shell or Compose .env file. Do not assume a UID, GID, or variable name from a different image. If docker compose config shows an empty or unexpected value, correct the source and recreate the service with docker compose up -d --force-recreate jellyfin. A healthy result is a running container with no configuration errors in its logs.
If logs mention a plugin, database, or migration failure, stop the service with docker compose stop jellyfin before changing files. Back up the host-side configuration directory first. If the logs identify a plugin, temporarily move that plugin's files out of the plugins directory in the config volume, then start Jellyfin and check the logs. If the database appears damaged, preserve the original files and follow the recovery guidance for your image and Jellyfin version; deleting the database can permanently lose library data and settings. Startup without the cited error confirms the suspected component needs repair or replacement.
If you configured GPU access, USB devices, or extra devices in Compose, comment out those device mappings and related hardware-acceleration settings for one diagnostic start. Recreate the service and check whether it remains running. If it does, the base Jellyfin setup works and the issue is likely in device availability, host drivers, or the mapping; restore settings one at a time and check your host and image documentation. If the container still exits, restore the settings and continue with the log evidence.
| Likely cause | Typical symptom | Quick test |
|---|---|---|
| Config permissions | Access denied or failed writes | Inspect owner and mode of the host config directory |
| Incorrect mount | Missing path or inaccessible media | Compare Compose host and container paths |
| Plugin or database issue | Startup fails while loading data or plugins | Match the first relevant log error to the config files |
| Device mapping | Failure after enabling hardware access | Start once without optional device mappings |
Docker restarts the container when the Jellyfin process exits, according to the service's restart policy. The first useful clue is usually in docker compose logs, which can reveal permissions, mount, or startup errors.
Check which user the image runs as and compare it with the owner and permissions of the host directory mounted to /config. Adjust the directory for that user, then restart and confirm the permission error has disappeared from the logs.
Deleting it may remove the database, library configuration, users, and other settings, so it is not a safe first fix. Back it up and use the logs to isolate the failing file or plugin before considering recovery steps.
Once Jellyfin stays running, confirm the web interface loads and that libraries can access their mounted media paths. If none of these fixes works, save the Compose file and recent logs, then investigate the first startup error against the documentation for your image and host.
Photo: Trique303 / CC BY-SA 4.0 (Wikimedia Commons)
Fix the immich thumbnail error loading image after an update by checking storage, permissions, and jobs, then safely rebuild missing thumbnails in Immich.
Fix plex database keeps getting corrupt unraid by checking storage health, filesystem errors, write access, and Plex’s database before restoring a clean backup.
Fix pihole not responding to dns requests by checking client settings, port 53 conflicts, Pi-hole’s DNS service, upstream reachability, and firewall rules.
Fix casaos merge storage not working by checking disk mounts, mergerfs, permissions, app paths, and fstab conflicts on your self-hosted server.
Nextcloud Snap stuck in maintenance mode? Check background jobs, disk space, and snap logs, then safely identify and clear the maintenance flag.
Fix immich error loading image after upload by checking thumbnail jobs, storage permissions, image files, and EXIF processing in your self-hosted Immich server.
Fix jellyfin container stuck on restarting in Docker Compose: inspect logs, verify config volume permissions, correct mounts, and isolate common startup failures.
Fix jellyfin error opening file for writing by checking the Jellyfin service account, media mount permissions, container UID/GID, and storage health.
Fix truenas scale stuck on welcome to grub by checking boot media, firmware mode, pool health, and boot environments before attempting a careful reinstall.
Fix unraid docker execution error 403 by checking appdata ownership, container paths, Docker settings, and Unraid’s web session before changing permissions.