[BUG] Duplicated files keep getting update on mobile #302

Closed
opened 2026-02-04 19:30:55 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @stepanov1975 on GitHub (Sep 15, 2022).

I constantly have two files in reminder. When I press "start backup" it seems like app uploads files, but after some time reminder goes back to two

docker-compose.yml - default downloaded today
.env

###################################################################################
# Database
###################################################################################

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE_NAME=immich

# Optional Database settings:
DB_PORT=5432




###################################################################################
# Redis
###################################################################################

REDIS_HOSTNAME=immich_redis

# Optional Redis settings:
REDIS_PORT=6379
# REDIS_DBINDEX=0
# REDIS_PASSWORD=
# REDIS_SOCKET=





###################################################################################
# Upload File Config
###################################################################################

UPLOAD_LOCATION=/docker_installs/immich/uploads


###################################################################################
# Log message level - [simple|verbose]
###################################################################################

LOG_LEVEL=simple


###################################################################################
# JWT SECRET
###################################################################################

JWT_SECRET=randomstringthatissolongandpowerfulthatnoonecanguess




###################################################################################
# MAPBOX
####################################################################################

# ENABLE_MAPBOX is either true of false -> if true, you have to provide MAPBOX_KEY
ENABLE_MAPBOX=false
MAPBOX_KEY=


####################################################################################
# WEB - Optional
####################################################################################

# Custom message on the login page, should be written in HTML form.
# For example PUBLIC_LOGIN_PAGE_MESSAGE="This is a demo instance of Immich.<br><br>Email: <i>demo@demo.de</i><br>Password: <i>demo</i>"

PUBLIC_LOGIN_PAGE_MESSAGE="Login page message"

# For correctly display your local time zone on the web, you can set the time zone here.
# Should work fine by default value, however, in case of incorrect timezone in EXIF, this value
# should be set to the correct timezone.
# Command to get timezone:
# - Linux: curl -s http://ip-api.com/json/ | grep -oP '(?<=timezone":")(.*?)(?=")' 

TZ=Asia/Jerusalem

System

  • Phone OS Android: Samsung Galaxy S22 plus android 12
  • Server Version: latest
  • Mobile App Version: latest

Screenshot_20220915-204232

Originally created by @stepanov1975 on GitHub (Sep 15, 2022). I constantly have two files in reminder. When I press "start backup" it seems like app uploads files, but after some time reminder goes back to two docker-compose.yml - default downloaded today .env ``` ################################################################################### # Database ################################################################################### DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_PASSWORD=postgres DB_DATABASE_NAME=immich # Optional Database settings: DB_PORT=5432 ################################################################################### # Redis ################################################################################### REDIS_HOSTNAME=immich_redis # Optional Redis settings: REDIS_PORT=6379 # REDIS_DBINDEX=0 # REDIS_PASSWORD= # REDIS_SOCKET= ################################################################################### # Upload File Config ################################################################################### UPLOAD_LOCATION=/docker_installs/immich/uploads ################################################################################### # Log message level - [simple|verbose] ################################################################################### LOG_LEVEL=simple ################################################################################### # JWT SECRET ################################################################################### JWT_SECRET=randomstringthatissolongandpowerfulthatnoonecanguess ################################################################################### # MAPBOX #################################################################################### # ENABLE_MAPBOX is either true of false -> if true, you have to provide MAPBOX_KEY ENABLE_MAPBOX=false MAPBOX_KEY= #################################################################################### # WEB - Optional #################################################################################### # Custom message on the login page, should be written in HTML form. # For example PUBLIC_LOGIN_PAGE_MESSAGE="This is a demo instance of Immich.<br><br>Email: <i>demo@demo.de</i><br>Password: <i>demo</i>" PUBLIC_LOGIN_PAGE_MESSAGE="Login page message" # For correctly display your local time zone on the web, you can set the time zone here. # Should work fine by default value, however, in case of incorrect timezone in EXIF, this value # should be set to the correct timezone. # Command to get timezone: # - Linux: curl -s http://ip-api.com/json/ | grep -oP '(?<=timezone":")(.*?)(?=")' TZ=Asia/Jerusalem ``` **System** - Phone OS Android: Samsung Galaxy S22 plus android `12` - Server Version: `latest` - Mobile App Version: `latest` ![Screenshot_20220915-204232](https://user-images.githubusercontent.com/9785479/190474353-2335211c-d6da-47b3-aa23-27aa6cad37f9.jpg)
Author
Owner

@alextran1502 commented on GitHub (Sep 15, 2022):

This means the two file are probably duplicated (i.e a copy of an existing images). This PR @595 will added duplicated file to the "uploaded" category so that it won't show up anymore

@alextran1502 commented on GitHub (Sep 15, 2022): This means the two file are probably duplicated (i.e a copy of an existing images). This PR @595 will added duplicated file to the "uploaded" category so that it won't show up anymore
Author
Owner

@stepanov1975 commented on GitHub (Sep 15, 2022):

What about an uploading log in the android app or server side so it will be possible to check what was uploaded or not and why?

@stepanov1975 commented on GitHub (Sep 15, 2022): What about an uploading log in the android app or server side so it will be possible to check what was uploaded or not and why?
Author
Owner

@alextran1502 commented on GitHub (Sep 15, 2022):

If you monitor the database log, you will probably see it when you initiate the upload process

@alextran1502 commented on GitHub (Sep 15, 2022): If you monitor the database log, you will probably see it when you initiate the upload process
Author
Owner

@stepanov1975 commented on GitHub (Sep 15, 2022):

I understand. But still, it should not be hard to implement and I think will be very useful for debugging

@stepanov1975 commented on GitHub (Sep 15, 2022): I understand. But still, it should not be hard to implement and I think will be very useful for debugging
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#302