Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Multiple failed uploads #102

Open
thomaseizinger opened this issue Feb 20, 2021 · 6 comments
Open

Multiple failed uploads #102

thomaseizinger opened this issue Feb 20, 2021 · 6 comments

Comments

@thomaseizinger
Copy link

Whenever I trigger the upload, every n-th picture seems to fail.

On the backend, I can several error logs saying "import already running". It seems to me that the app is trying to upload multiple pictures in parallel but the backend doesn't actually support that?

It is not too much of a big deal because I can simply re-trigger the upload although it does not several rounds until all pictures are actually uploaded. However, I thought I'd report it anyway given that it is clearly very strange behaviour.

Thanks for making this app :)

@thielepaul
Copy link
Owner

I had the same issue when uploading photos from multiple devices at the same time, but not when using only one device. Did you only use one device at a time?
Anyway this is definitely a bug, so thanks for reporting it. :)

@thomaseizinger
Copy link
Author

Yes I was only using one device. Pixel 4a to be precise.

I was importing from multiple directories so maybe that is the problem?

@thomaseizinger
Copy link
Author

Just tested with only a single directory and it still happens. Actually only every 5th upload or so succeeds, most of them fail :/

@thomaseizinger
Copy link
Author

It might be because I accidentially pressed the re-trigger button while it was still uploading? Maybe it ran the routine 2 or more times in parallel?

Can we disable the button if there is already an upload active?

@gomme600
Copy link

gomme600 commented Mar 4, 2021

It might be because I accidentially pressed the re-trigger button while it was still uploading? Maybe it ran the routine 2 or more times in parallel?

Can we disable the button if there is already an upload active?

This has happened to me before aswell and it does seem that pressing the button multiple times causes this. Make sure to check the log before triggering the upload to see if it is already running. If in doubt then check the photoprism log on the server to see if an import is running.

@gomme600
Copy link

Just thought I would mention that this is still happening with 1 device on the latest build.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants