Mobile app becomes unresponsive

I have Immich deployed to a server at Hetzner via Coolify with Caddy as the proxy. Lately I have been seeing the iOS app lock up after a brief amount of usage. Storage is available via a B2 bucket I've mounted using rclone. The web app is super snappy though. It's running on a Hetzner CPX41. The service config looks like the below. App and server on the latest available versions.
[Unit]
Description=Mount Backblaze B2 for Immich
After=network-online.target
Wants=network-online.target
Requires=docker.service

[Service]
Type=simple
ExecStart=/usr/bin/rclone mount b2:cdransf-immich /mnt/b2 \
--config=/root/.config/rclone/rclone.conf \
--vfs-cache-mode full \
--vfs-cache-max-size 100G \
--vfs-cache-poll-interval 5m \
--vfs-read-ahead 512M \
--buffer-size 256M \
--allow-other \
--dir-cache-time 24h \
--poll-interval 30s \
--log-level INFO \
--fast-list \
--timeout 60m \
--contimeout 10m \
--retries 10 \
--low-level-retries 20 \
--transfers 8 \
--checkers 16 \
--bwlimit 100M \
--tpslimit 5 \
--cache-dir /var/cache/rclone \
--cache-db-path /var/cache/rclone/db \
--cache-info-age 24h \
--cache-workers 4 \
--cache-chunk-size 128M \
--cache-chunk-total-size 50G
ExecStop=/bin/fusermount -u /mnt/b2
Restart=always
User=root
Group=root

[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount Backblaze B2 for Immich
After=network-online.target
Wants=network-online.target
Requires=docker.service

[Service]
Type=simple
ExecStart=/usr/bin/rclone mount b2:cdransf-immich /mnt/b2 \
--config=/root/.config/rclone/rclone.conf \
--vfs-cache-mode full \
--vfs-cache-max-size 100G \
--vfs-cache-poll-interval 5m \
--vfs-read-ahead 512M \
--buffer-size 256M \
--allow-other \
--dir-cache-time 24h \
--poll-interval 30s \
--log-level INFO \
--fast-list \
--timeout 60m \
--contimeout 10m \
--retries 10 \
--low-level-retries 20 \
--transfers 8 \
--checkers 16 \
--bwlimit 100M \
--tpslimit 5 \
--cache-dir /var/cache/rclone \
--cache-db-path /var/cache/rclone/db \
--cache-info-age 24h \
--cache-workers 4 \
--cache-chunk-size 128M \
--cache-chunk-total-size 50G
ExecStop=/bin/fusermount -u /mnt/b2
Restart=always
User=root
Group=root

[Install]
WantedBy=multi-user.target
5 Replies
Immich
Immich4w ago
:wave: Hey @cdransf, 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 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.
Alex Tran
Alex Tran4w ago
- Do you have assets on iCloud and how many of them? - How many albums do you have on the instance? - Do you have foreground backup turned on?
cdransf
cdransfOP4w ago
- iCloud photo library is off - 22 albums - Foreground backup is on
name: immich
services:
immich-server:
container_name: immich_server
image: 'ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}'
volumes:
- '/mnt/b2:/usr/src/app/upload'
- '/etc/localtime:/etc/localtime:ro'
env_file:
- .env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
image: 'ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}'
volumes:
- 'model-cache:/cache'
- '/mnt/b2/models:/models'
env_file:
- .env
restart: always
healthcheck:
disable: false
name: immich
services:
immich-server:
container_name: immich_server
image: 'ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}'
volumes:
- '/mnt/b2:/usr/src/app/upload'
- '/etc/localtime:/etc/localtime:ro'
env_file:
- .env
ports:
- '2283:2283'
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
image: 'ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}'
volumes:
- 'model-cache:/cache'
- '/mnt/b2/models:/models'
env_file:
- .env
restart: always
healthcheck:
disable: false
redis:
container_name: immich_redis
image: 'docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8'
volumes:
- 'redis-data:/data'
command: 'redis-server --save 60 1 --loglevel warning'
restart: always
healthcheck:
test: 'redis-cli ping || exit 1'
database:
container_name: immich_postgres
image: 'docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0'
environment:
POSTGRES_PASSWORD: '${DB_PASSWORD}'
POSTGRES_USER: '${DB_USERNAME}'
POSTGRES_DB: '${DB_DATABASE_NAME}'
POSTGRES_INITDB_ARGS: '--data-checksums'
volumes:
- '${DB_DATA_LOCATION}:/var/lib/postgresql/data'
healthcheck:
test: 'pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command=''SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database'')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = ''0'' ] || exit 1'
interval: 5m
start_interval: 30s
start_period: 5m
command: "postgres -c shared_preload_libraries=vectors.so \n -c search_path=public,vectors\n -c logging_collector=on \n -c max_wal_size=4GB\n -c shared_buffers=1GB\n -c wal_compression=on \n -c work_mem=16MB\n -c effective_cache_size=4GB\n -c maintenance_work_mem=256MB\n"
restart: always
volumes:
model-cache: null
redis-data: null
redis:
container_name: immich_redis
image: 'docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8'
volumes:
- 'redis-data:/data'
command: 'redis-server --save 60 1 --loglevel warning'
restart: always
healthcheck:
test: 'redis-cli ping || exit 1'
database:
container_name: immich_postgres
image: 'docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0'
environment:
POSTGRES_PASSWORD: '${DB_PASSWORD}'
POSTGRES_USER: '${DB_USERNAME}'
POSTGRES_DB: '${DB_DATABASE_NAME}'
POSTGRES_INITDB_ARGS: '--data-checksums'
volumes:
- '${DB_DATA_LOCATION}:/var/lib/postgresql/data'
healthcheck:
test: 'pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align --command=''SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database'')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = ''0'' ] || exit 1'
interval: 5m
start_interval: 30s
start_period: 5m
command: "postgres -c shared_preload_libraries=vectors.so \n -c search_path=public,vectors\n -c logging_collector=on \n -c max_wal_size=4GB\n -c shared_buffers=1GB\n -c wal_compression=on \n -c work_mem=16MB\n -c effective_cache_size=4GB\n -c maintenance_work_mem=256MB\n"
restart: always
volumes:
model-cache: null
redis-data: null
For the compose
Alex Tran
Alex Tran4w ago
Turn off auto foreground backup will improve the behavior
cdransf
cdransfOP4w ago
Gotcha! I'll give that a try Yep, that looks like it was it

Did you find this page helpful?