#Immich Bug Report: Thumbnails Not Generated Automatically on Upload

1 messages · Page 1 of 1 (latest)

unborn cave
#

Thumbnails are not generated automatically when photos are uploaded via the mobile app. Instead, thumbnails only appear after:

Manually triggering thumbnail generation in the admin panel, OR
Waiting overnight (likely when a scheduled job runs)
When thumbnails are missing, the web UI shows "Error loading image". Does anyone has similar issues or an idea what is wrong?

Environment
Immich Version: v2.7.5 (release)
Deployment: Docker Compose
OS: Linux
Architecture: x86_64
Database: PostgreSQL 17 (external, via PgBouncer on port 6432)
Redis: 7-alpine (dedicated instance)
Storage: NFS4 for uploads, local disk for thumbnails/cache
Docker configuration:
immich-server:
image: ghcr.io/immich-app/immich-server:release
container_name: immich-server
restart: unless-stopped
environment:
- TZ=UTC
- DB_HOSTNAME=192.168.2.111
- DB_PORT=6432 # PgBouncer
- DB_USERNAME=immich_user
- DB_PASSWORD=***
- DB_DATABASE_NAME=immich_db
- REDIS_HOSTNAME=redis-immich
- REDIS_PORT=6379
- REDIS_DBINDEX=0
- IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
- IMMICH_NFS_CHECK_ENABLED=true
- IMMICH_NFS_MOUNT_PATH=/usr/src/app/upload
- IMMICH_NFS_CHECK_FILE=.nfs_mounted
- UPLOAD_MAX_FILE_SIZE=17179869184
- IMMICH_TRUSTED_PROXIES=192.168.2.0/24
- IMMICH_UPLOAD_TIMEOUT=3600000
volumes:
- /mnt/data/immich/uploads:/usr/src/app/upload # NFS
- /opt/docker/Homelab-Olympus/immich/immich-library/thumbs:/usr/src/app/upload/thumbs # Local
- /opt/docker/Homelab-Olympus/immich/immich-library/encoded-video:/usr/src/app/upload/encoded-video
- /opt/docker/Homelab-Olympus/immich/immich-library/profile:/usr/src/app/upload/profile
- immich-model-cache:/cache
entrypoint: ["/bin/bash", "/usr/local/bin/immich-startup.sh"]

Custom startup script that checks DB and NFS before starting

eager vigilBOT
#

:wave: Hey @unborn cave,

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

#

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.

blazing obsidian
#

The compose file you posted is incomplete -and- you've got a bunch of weird custom stuff going on, so we'll definitely need more info than this

#

Also please use code formatting

unborn cave
blazing obsidian
#

Piling all your things into one big shared network is most likely the problem, that's an antipattern and causes all sorts of issues

unborn cave
#

Sorry, but I do not understand. How can this effect the trigger for the creation of thumbnails. The main issue is that the system works fine but thumbnails are only created / processed when triggered manually (or by scheduled tasks) and not when pictures are uploaded