Auto Upload is skipping random pics

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.8 - 30.0.8.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
  • Web server and version (e.g, Apache 2.4.25):
    • Apache (fpm-fcgi)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx
  • PHP version (e.g, 8.3):
    • 8.3.19
  • Is this the first time you’ve seen this error? (Yes / No):
    • Maybe
  • When did this problem seem to first start?
    • Just noticed it today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Ubuntu VM running SNAP install on Proxmox host
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Cloudflare

Summary of the issue you are facing:

I’ve been duplicating my camera uploads from my android (samsubg galaxy) phone for a long time now between both dropbox and nextclound (different target folders). I was about to ditch dropbox completely but after spot checking, I noticed that not all of my pictures are actually uploading to nextcloud. Every month there are 1 or 2 pics that simply didn’t auto-upload. No failure notifications when it happened, otherwise I would have noticed it sooner. Pics before and after the missing ones were there. Doesn’t seem to be any reason for it. Any ideas?

Steps to replicate it (hint: details matter!):

  1. Unfortunately, not really anything I can do to replicate since it was something I noticed after spot checking. I suppose the only way I could try to get it to do it is to take a bunch of pics and see if any DON’T upload.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

my "Logging" screen is actually completely blank.

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.
1 Like

I noticed the same thing today. Also no logs.

In one case I have two photos taken on the same minute (aka both 20:11) first one was not uploaded but the second one was. (9. April)
Another time its a gap of 14 days or so where none of my 17 photos or one video was uploaded. (January)

It happened at least once

This is probably an issue with the android app and not the server.

Maybe it should make a post on github about it?

I came across this post with the same issue-any suggestions?

Same problem!
I can take 10-20 photos a day and almost every time several photos (sometimes up to 1/3 of the photos) do not upload. No error messages. For example, today: 13 photos taken, 9 uploaded. Yesterday 20 were taken, 14 were uploaded. Three days ago 12 were taken, 6 were uploaded.

It looks like “if less than 6 photos were taken - they will be uploaded, if more than 6 photos - 6 photos less than the number taken will be uploaded”.

Phone Xiaomi Redmi Note 13. Latest versions of all including NC.

Are you using the play store or fdroid client version?

I’m here for the same reason.

Noticed a option in settings (device settings> accounts>nextcloud) and the account had the sync turned off
For me turning on sync allowed new images and videos to be uploaded but not old ones.

Hello,

This is a known issue going on for a while now. This has something to do with Google Play Store Apps and their permission policy. I am not an expert here, so I dont know the actual in-depth technical reason but this issue is happening since late last year.

One alternative and work around suggested by @scubamuc working for me in case of android. That is to use a different app store to obtain the app.

Upgrade Nextcloud to 30.0.5 · Issue #3022 · nextcloud-snap/nextcloud-snap

I used browser to download the .apk from there and manually installed it. Rather than installing the entire app store. This has a small negative, this external app wont update itself. I have to manually download the updated .apk (like once a month) for the update.

This version of Nextcloud app working fine for me.

Thanks.

there’s nothing wrong with installing F-Droid on your android device, that way you’ll get updates automatically

@NaXal thanks for mentioning Upgrade Nextcloud to 30.0.5 · Issue #3022 · nextcloud-snap/nextcloud-snap · GitHub

1 Like

Play store

Could be that most devs use the fdroid version, since the dev is not available in the play store and thus do not notice these issues in their daily life.
You could try the fdroid version and check.

I have issues with uploading pictures where the gplay version calims that the files do not exist, yet they do. I tried to get some logs and installed the dev version from fdroid, yet that one “works differently” and thus I cannot reproduce.

AFAIU, this syncs to google, not nextcloud.

ok, I deleted the version from googleplay and installed it from f-droid. I’ll see if this error appears again. So far I see in the memories app that in almost every large batch of photos taken, about 6 are not uploaded to the server: they are marked with a crossed-out cloud icon. I don’t see any way to re-upload them in the app either.

Here is a typical situation with a series of 17 photos, of which the next 6 are not loaded (marked with arrow):

f-droid version works better, but some photo drops still happen. I thought that the reason might be in nginx reverse proxy and added this parameter:

# allow large file uploads
client_max_body_size 50000M;

After that, only two out of three dozen new photos were not loaded. I will watch, maybe the problem is fixed. But if not - then this is a very serious error in the application: it is impossible to trust automatic loading.

Same problem here. Totally annoying since you can’t rely on it! If it wouldn’t work at all you would choose another solution but as of now, you rely on that it uploads completely. If it doesn’t, it’s PITA to search which photo/video were uploaded and which not. Also manual re-upload doesn’t work for me.
client_max_body_size can’t be the solution since also small files won’t get uploaded and larger were uploaded.
The argue with Google was solved as far as I read, so if this is the problem, it could be fixed with a new app version.
Anyway: please look into and fix it, since this is really frustrating!!!
Thanks and best regards,
Jochen

Have the same problem. I even changed from Play Store to F-droid recently but still getting random photos and videos that don’t upload.

Do you have the fdroid dev version? Then you could upload some logs.

Issue link Auto-upload fails to upload some pictures when taking multiple pictures at once · Issue #14810 · nextcloud/android · GitHub

I have the fdroid version. I have made one discovery: I had big problems in earlier years with “bogus” upload conflicts where pics were successfully uploaded but I then cot a conflicting copies warning even if the picture on the server were the exact same as on the phone. I therefore changed from always ask to skip in the auto upload settings. I tried do change back to always ask and since then all my pics and videos have uploaded successfully. I have not gotten any conflicting copies warnings either so something has changed in how the app works. I therefore can’t upload any logs that show my problem :slight_smile:

I have the same issue. Random files do not get uploaded. Sometimes just one in a series, sometimes a whole series.

So after trying out lots of stuff, and seeing how this very important issue has just been seemingly ignored for years now, I’ve tried out the app FolderSync based on some recommendations I saw from other people experiencing this issue. Foldersync is a lot more robust, gives you a lot of control, and also tells you what it’s doing very clearly.

I think at this point, I’ll keep around the Nextcloud app for a few things, but all my syncing I will do through Foldersync instead. I recommend it to anyone looking for a way to work around this bug. It’s absolutely crazy to me that this hasn’t been prioritized or taken seriously.