No new media (in camera) to Sync & After reinstall iOS app (with same user) the Storage used (in server) always increase. #7341

Closed
opened 2026-02-05 12:57:43 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @avall on GitHub (Sep 25, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Context:
The immich-server has a fixed number of media files. No new photos & videos are created on the mobile device. Every time I uninstall / install the App the storage size used is increasing and no duplicates appears in the server.

Steps to reproduce:

  1. Uninstall the iOS App
  2. Install again the Immich Mobile app
  3. Open immich & introduce server url & credentials (every iteration with the same credentials because the server has only one user)
  4. Put the mobile device in airplane mode
  5. Disable "New Timeline" in "Advanced Features"
  6. Disable Airplane Mode
  7. Select "Recent" album to backup
  8. Start backup

First iteration the storage size was:
Image

Second iteration the storage size was:
Image

Real size in self hosted servers.
Image

The OS that Immich Server is running on

Debian GNU/Linux - Version: 12

Version of Immich Server

v1.143.1

Version of Immich Mobile App

1.143.1 build 226

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

iphone 14 pro max

Your docker-compose.yml content

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    # extends:
    #   file: hwaccel.transcoding.yml
    #   service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
    volumes:
      # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - '2283:2283'
    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
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false

volumes:
  model-cache:

Your .env content

# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=./immich-app/library

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=v1.143.1

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich
DB_HOSTNAME=10.10.30.94
DB_PORT=5433

REDIS_HOSTNAME=10.10.30.94
REDIS_PORT=6379

Reproduction steps

  1. Uninstall the iOS App
  2. Install again the Immich Mobile app
  3. Open immich & introduce server url & credentials (every iteration with the same credentials because the server has only one user)
  4. Put the mobile device in airplane mode
  5. Disable "New Timeline" in "Advanced Features"
  6. Disable Airplane Mode
  7. Select "Recent" album to backup
  8. Start backup

First iteration the storage size was:
Image

Second iteration the storage size was:
Image

Real size in self hosted servers.
Image

Relevant log output


Additional information

No response

Originally created by @avall on GitHub (Sep 25, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Context: The immich-server has a fixed number of media files. No new photos & videos are created on the mobile device. Every time I uninstall / install the App the storage size used is increasing and no duplicates appears in the server. Steps to reproduce: 1. Uninstall the iOS App 2. Install again the Immich Mobile app 3. Open immich & introduce server url & credentials (every iteration with the same credentials because the server has only one user) 4. Put the mobile device in airplane mode 5. Disable "New Timeline" in "Advanced Features" 6. Disable Airplane Mode 7. Select "Recent" album to backup 8. Start backup First iteration the storage size was: <img width="240" height="130" alt="Image" src="https://github.com/user-attachments/assets/17f13065-96cf-4176-b0dd-2861c7d29ae7" /> Second iteration the storage size was: <img width="255" height="152" alt="Image" src="https://github.com/user-attachments/assets/6cb0254f-2e28-486c-a92a-6b902dd90003" /> Real size in self hosted servers. <img width="465" height="283" alt="Image" src="https://github.com/user-attachments/assets/e071a236-32cb-4d82-85e7-cb46da9f291d" /> ### The OS that Immich Server is running on Debian GNU/Linux - Version: 12 ### Version of Immich Server v1.143.1 ### Version of Immich Mobile App 1.143.1 build 226 ### Platform with the issue - [x] Server - [ ] Web - [x] Mobile ### Device make and model iphone 14 pro max ### Your docker-compose.yml content ```YAML services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - '2283:2283' 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 env_file: - .env restart: always healthcheck: disable: false volumes: model-cache: ``` ### Your .env content ```Shell # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored UPLOAD_LOCATION=./immich-app/library # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=v1.143.1 # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces # The values below this line do not need to be changed ################################################################################### DB_USERNAME=postgres DB_PASSWORD=postgres DB_DATABASE_NAME=immich DB_HOSTNAME=10.10.30.94 DB_PORT=5433 REDIS_HOSTNAME=10.10.30.94 REDIS_PORT=6379 ``` ### Reproduction steps 1. Uninstall the iOS App 2. Install again the Immich Mobile app 3. Open immich & introduce server url & credentials (every iteration with the same credentials because the server has only one user) 4. Put the mobile device in airplane mode 5. Disable "New Timeline" in "Advanced Features" 6. Disable Airplane Mode 7. Select "Recent" album to backup 8. Start backup First iteration the storage size was: <img width="240" height="130" alt="Image" src="https://github.com/user-attachments/assets/17f13065-96cf-4176-b0dd-2861c7d29ae7" /> Second iteration the storage size was: <img width="255" height="152" alt="Image" src="https://github.com/user-attachments/assets/6cb0254f-2e28-486c-a92a-6b902dd90003" /> Real size in self hosted servers. <img width="465" height="283" alt="Image" src="https://github.com/user-attachments/assets/e071a236-32cb-4d82-85e7-cb46da9f291d" /> ### Relevant log output ```shell ``` ### Additional information _No response_
OVERLORD added the needs-answer label 2026-02-05 12:57:43 +03:00
Author
Owner

@alextran1502 commented on GitHub (Sep 25, 2025):

We are not supporting the old timeline anymore. Can you confirm if you see the same behavior on the new timeline? If possible, can you perform the file count at the Library directory of the application?

@alextran1502 commented on GitHub (Sep 25, 2025): We are not supporting the old timeline anymore. Can you confirm if you see the same behavior on the new timeline? If possible, can you perform the file count at the Library directory of the application?
Author
Owner

@avall commented on GitHub (Sep 26, 2025):

You are right. The problem is the LXC container (with ZFS) in proxmox. Once i restart the proxmox LXC the size is populated correctly. Also the folder size with images is correct. Even the new timeline is working correctly.

@avall commented on GitHub (Sep 26, 2025): You are right. The problem is the LXC container (with ZFS) in proxmox. Once i restart the proxmox LXC the size is populated correctly. Also the folder size with images is correct. Even the new timeline is working correctly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7341