Closed xxyzz closed 1 year ago
It seems like you're on a very old version of Immich. Please update both the server and the app.
Oh I type the wrong version number... I'm using the latest version.
If you restart the upload, would it still get stuck at that specific file? Are you accesing Immich through your local IP or through a reverse proxy?
The duplication error can be ignored assuming that the files you uploaded from the CLI are the exact same files from your phone, or you have duplicated files when uploading from either the CLI or your phone.
The AssetEntity not found perhaps not related to the issue you are facing, can you try uploading again while looking at the server log to make sure the timestamp of the log matches the upload operation
The remainder assets number is always 154 and the uploading file info stops at the same file. I have some photos backed up by Nextcloud before, but Nextcloud breaks the HEIC file to jpeg and mov file. I add those Nextcloud photos via the immch cli command before using the app, maybe the server think they are the same but not the app?
I access immich though local IP.
I'm still seeing the same errors in the logs.
@xxyzz Hmm, Immich handles LivePhotos by uploading the HEIC and the MOV portion to the server. I think this might conflict with the MOV files you are backing up from NextCloud.
Can you help me test the hypothesis by creating a new instance, then uploading the photos from your mobile phone before running the CLI?
Note for me. This might be the source of the problem. There is no catch block for this awaiting call. Ideally, this should not fail because there is a duplicated with the same hash
I delete those jpeg and mov files from immich's web page and the app uploads all the photos successfully. I'm pretty sure the Nextcloud's mov files cause the error. I'll consider the issue resolved since it's caused by previous backup files from Nextcloud.
~I find another bug in the app. Click a thumbnail then swift to the right from the left of the screen to return to the grid view. The app will turn to a black screen when I repeat this the third time.~
Please ignore this comment, I can't reproduce this anymore.
And thank you for maintaining this amazing project, keep up the good work!
I've got the same issue after importing (around 150.000) images from my nextcloud library via the cli tool. Already imported images are stuck in the upload queue of the iOS app. They are repeatedly being uploaded, as they don't get marked as a duplicate when the error is thrown.
We've seen this same issue as well, but with a regular import from the iOS app, on a freshly installed v1.50.1 server. It happened when the microservices container (I believe) was OOM killed. Immich doesn't seem to cope too gracefully with temporary failures, and that seems to result in corruption in the database vs filesystem/object storage.
Having the same issue also, cannot even delete pictures anymore on webpage. Also the pictures that aren't uploaded yet, because of the error are not visable...
Describe the bug I use the IOS app to backup photo but the app stuck at 154 assets, then I check the "immich-app_immich-server_1" container log and find many "EntityNotFoundError":
And the "immich_postgres" container log has many duplicate key errors:
I didn't changed the
docker-compose
file and I only change theUPLOAD_LOCATION
andJWT_SECRET
variables in.env
file. Before backup file on my phone, I used the cli to upload some files and one file got 504 error then I rerun the command it was uploaded successfully.Server OS: Arch Linux Podman version: 4.3.1
Task List
Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.
docker-compose
file..env
file.To Reproduce Steps to reproduce the behavior:
Expected behavior Backup all photos.
Screenshots
System
16.2
v1.38.2
v1.38.0
Additional context Add any other context about the problem here.