photoprism-mobile
photoprism-mobile copied to clipboard
Auto upload doesn't resume, log sais album exists
I had about 4000 photos spread over 4 albums to upload. When closing the app auto upload stopped. When resuming I get the message that the album already exists in the log and nothing happens in the GUI. I have tried deleting all the content in the upload folder in photoprism with no change. If I select a new album to upload (for example downloads) it then works until I quit the app and then the same problem occurs.
Thank you for any help!
Ok, so clearing the apps cache seems to have solved the problem, it doesn't seem to be linked to the albums existing after all. I'm not too sure what happened!
Ok, so it seems that if the app closes in the background then the problem occurs, it refuses to backup until I reset it.
And uploading an existing album after clearing the apps storage causes the app to freeze for some reason (maybe because it tries to upload existing photos on the server again?)
Just tried with another album and it resumed without crashing, maybe I have a problematic photo in my camera album. I hope this information helps developpement. I can help test if needed.
It turned out that the file causing a problem was a 2 and a half minute video. It might have been 4K. There was no error in the log, the app just closed when it hit photo number 51. Other shorter and lower ras photos have been uploaded fine. I will report back if any more videos break things. Thanks for this excellent app by the way!
So the same thing happened with another mp4 video, this one was 90MB in size and 1080p. This time it crashed photoprism (I had to reboot my raspberry pi 4) aswell as the app! Something weird is happening when uploading videos it seems.
I tried uploading the same video from the web interface and it worked fine. So the problem must be with the app it seems.
I have tried with various different videos. It seems to be a size problem. A short 6 second 2.3MB video uploads fine but a larger 200MB video from the same camera doesn't. Uploading from the web interface works fine.
Odd... Mine also fails at photo 51.
Sometimes the app crashes when I queue a manual upload too
I have about 5k photos here as well. When it crashes they dissappear from the upload queue
There seems to be an issue with auto uploading the "recent items" folder. Once I removed that it started working again potentially
I didn't tick the recent items folder unfortunately. It seems that any time it tries to upload a video bigger than a few MB the app crashes like you said for me. That makes it impossible to backup the camera folder because photos and videos are mixed together.
It seems that uploading videos manually from the app works better, a 50MB video worked but a 180MB one failed. ALso compared to uploading via webdav and then indexing the app is A LOT faster, could anyone explain why? Indexing manually completly freezes my pi 4 and uses up all RAM whereas this app works fine! I'm very confused.