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 Nextcloud Snap is stuck in maintenance mode, users may see a maintenance message instead of the login page after an upgrade or interrupted restart. The most common cause is an upgrade or maintenance task that did not finish cleanly, leaving Nextcloud’s maintenance flag enabled.
Maintenance mode blocks normal access while Nextcloud changes files or updates its database. The flag can remain on after an interrupted operation, but clearing it before the underlying task is safe can expose an incomplete upgrade.
Connect to the server hosting the snap and run snap changes. Look for a change related to Nextcloud with a status such as “Doing.” Use snap tasks <change-id> with its ID to inspect progress and errors. If a task is active, let it finish; do not disable maintenance mode while the change is underway. A completed change with no active Nextcloud tasks means you can continue investigating.
Run snap services nextcloud to see whether the Nextcloud services are enabled and active. Then check recent snap activity with snap changes and inspect system logs with sudo journalctl -u snap.nextcloud.* --since "1 hour ago". If your system does not accept the wildcard unit, list matching units with systemctl list-units 'snap.nextcloud*' and query the relevant service. Errors or inactive services point to a service problem to resolve before changing the maintenance flag.
Run df -h and review the filesystems that hold the snap data and database. Also check inode availability with df -i. A full filesystem or exhausted inodes can stop an upgrade or database write. Free space using your normal server maintenance process, then check the logs and services again; a successful task and healthy services are signs to proceed.
Run sudo nextcloud.occ status to see whether Nextcloud reports maintenance mode and whether an upgrade is needed. If the command is unavailable, check the installed snap’s command options with snap info nextcloud and use the documented occ access method for your installation. Do not edit configuration files by hand yet. An upgrade-needed result or a failed database operation means the upgrade needs attention before you clear maintenance mode.
Check the Nextcloud log through the snap’s supported log command, if available, or inspect the log file under the snap’s data directory. Snap paths can vary, so identify the active data path with snap get nextcloud and check the installation’s documentation before assuming a location. Look for recent database, permission, or storage errors. Fix a specific underlying error first; repeated failure messages mean the maintenance flag is probably a symptom, not the cause.
| Cause | Symptom | Quick test |
|---|---|---|
| Refresh still running | Maintenance page persists after an update | snap changes |
| Storage exhausted | Upgrade or database writes fail | df -h and df -i |
| Service or database issue | Nextcloud services are inactive or logs show errors | snap services nextcloud and recent logs |
| Flag left enabled | Services are healthy but Nextcloud reports maintenance mode | sudo nextcloud.occ status |
Before rerunning an upgrade or changing configuration, make a backup using your established Nextcloud Snap backup procedure. Include the database and user data, and confirm the backup completed. If you do not have a recent, restorable backup, make one before attempting recovery; this gives you a way back if the database or upgrade state is damaged.
If occ status says an upgrade is required, follow the Nextcloud Snap upgrade guidance for your installation and allow it to finish. When no upgrade or snap change is active, services are healthy, and the logs show no unresolved errors, check status again. If Nextcloud still reports maintenance mode, use sudo nextcloud.occ maintenance:mode --off. A status check showing maintenance mode disabled and a working login page confirm recovery. If the command fails, stop and use the error output to diagnose the underlying issue rather than editing configuration directly.
After confirming no upgrade or snap change is running and services are healthy, run sudo nextcloud.occ maintenance:mode --off. Then check sudo nextcloud.occ status and load the login page.
A failed upgrade, database error, or full filesystem can leave work incomplete and cause the problem to recur. Check snap changes, service status, disk space, and recent logs before turning maintenance mode off again.
A restart may help if a service is stuck, but it will not complete a failed upgrade or fix a database or storage error. Check for active snap changes first and restart only after you understand the reported failure.
The safest fix is to complete or diagnose the interrupted operation before clearing the maintenance flag. If these checks do not restore access, preserve the logs and backup, then consult the Nextcloud Snap recovery guidance or a qualified administrator with the exact error output.
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.