immich icon indicating copy to clipboard operation
immich copied to clipboard

[BUG] Duplicated files keep getting update on mobile

Open stepanov1975 opened this issue 3 years ago • 4 comments

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>[email protected]</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

stepanov1975 avatar Sep 15 '22 17:09 stepanov1975

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 avatar Sep 15 '22 18:09 alextran1502

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 avatar Sep 15 '22 18:09 stepanov1975

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

alextran1502 avatar Sep 15 '22 19:09 alextran1502

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

stepanov1975 avatar Sep 15 '22 19:09 stepanov1975