android icon indicating copy to clipboard operation
android copied to clipboard

Multiple uploads not possible (or consistent) from other apps

Open calidancer opened this issue 3 years ago • 10 comments

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar issues and didn't find a duplicate.
  • [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • [X] I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

ENVIRONMENT

  • Device: Huawei P30 PRO
  • OS: EMUI (Android)
  • EMUI Version: 12.0.0.139 (C431E3R2P2)
  • Mainline software update: 2022-10-01 Q
  • Baseband version: 21C20B392S000C000
  • Kernel version: 4.14.116
  • Security patch level: 1 August 2022

STEPS TO REPRODUCE THE ISSUE

  • Open "Photos" gallery
  • Select multiple photos (at least 2)
  • Click on the "Share" icon. A popup with a number of sharing apps appears
  • Select blue coloured "Nextcloud" icon
  • Click on the "Upload" button
  • Nothing happens and the user is not informed with a popup or something similar about the progress of the upload unless he opens the "upload" notification. However once there only one file is sent for upload. So if you have to send 20 files for upload you have to repeat this process 20 times (unbelievable)
  • After that the user gets redirected to the "Photos" app where he can still see his selected files "ready" to be uploaded. In such a case assuming that the user's attention is taken by something else (that happens to everyone), as he doesn't get any notification he won't know whether his files have been sent for upload. As indicated in previous point he has to go to the upload progress notification to check it

In other words it's not intuitive at all

ATTACHMENTS

  • bugreport.png

bugreport

Expected behaviour

  1. All selected files should be uploaded in bulk (all together) and not one by one
  2. A clear notification to the user should be sent letting him know that the upload is started at least

Actual behaviour

  1. The user selects at least 2 files but only one file at a time can be uploaded. Imagine if he select 20, 30 or even more files
  2. The user doesn't get clearly informed about the fact that the upload has started

Android version

12

Device brand and model

Huawei P30 PRO

Stock or custom OS?

Stock

Nextcloud android app version

3.22.2

Nextcloud server version

24.0.6

Using a reverse proxy?

No

Android logs

Not applicable

Server error logs

Not applicable

Additional information

Couldn't find anything in storage/emulated/data/nextcloud.log.

calidancer avatar Oct 26 '22 10:10 calidancer

Same on my phone, also if i use google photo app, when I select 20 photos just 4 photos are uploaded. With the huawei photo app just 1 photo is uploaded.

KurtCa avatar Nov 03 '22 11:11 KurtCa

Same Problem, this is a very old Issue, I've been watching https://github.com/nextcloud/android/issues/369 - a 2016 Issue - for a long time, but nobody ever came up with a solution as far as I know.

FAUSheppy avatar Jul 21 '23 11:07 FAUSheppy

Same here :/. LineageOS 18.1 (Android 11) on a Xiaomi MiMix2s and a freshly setup Nextcloud instance using the AIO image. Sharing only ever uploads one file.

vguna avatar Aug 14 '24 11:08 vguna

Same problem on Samsung s23 ultra. Freshbnextcloud aio 10.0 and app 3.30.6. I get 2-4 files when more than that is selected. Additionally I noted if for example the first causes a conflict all further are cancelled as well without notification or error

rejuce avatar Dec 05 '24 21:12 rejuce

Error still occurs on my Pixel 6 running Android 15 and app version 3.30.6. Only 5 files get uploaded in my case.

Hoffmann77 avatar Dec 16 '24 22:12 Hoffmann77

Hi all, I have the same problem, NC30.0.4 app version 3.30.6. For example - 12 pictures chosen, but only 4 uploaded to NC. It seems to be an odl but unsolved problem... Does anybody have any info about this issue? Ales

AlesPetrzik avatar Dec 18 '24 11:12 AlesPetrzik

Same issue with latest android app and server, using pixel 7 pro, and sharing from Google photos, Google files, and total commander. It only uploads one file after I share multiple.

jumson avatar Dec 18 '24 12:12 jumson

Same for me, too, when sharing through Google Photos. Using nextcloud app 3.31.0 on a Pixel 6a with Android 15 and newest nextcloud AIO (although we should be pretty sure that this is an issue on the Android-side). The number of files uploaded is inconsistent. Once I've seen status messages counting from 1/2, to 2/2 to 3/2 and then stopping while I shared 6 files. Another time a single video got uploaded only without any counter. VERY annoying.

Perhaps it's a timing issue where files further down in the queue get purged after a fixed amount of time.

sbitzer avatar Mar 19 '25 20:03 sbitzer

Same issue on a Pixel 8a with Android 15. Sharing multiple Photos from Google Photos via the Nextcloud android client was not possible (only 6 of 42 photos were uploaded). The workaround for me was to use the Nextcloud Website.

I would support the hypothesis of the timing issues 👍

FeKoerner avatar May 11 '25 14:05 FeKoerner

Same here with my Google Pixel 8 Pro / Android 15.

Steps:

  • open Google Fotos
  • select multiple fotos/videos
  • share them with nextcloud app (3.31.4)
  • select folder

Result: Only one of the files appears in the upload view and also only one was uploaded. I originally thought it simply just displays only the current file in the upload view.

theZnorf avatar Jun 05 '25 18:06 theZnorf

Google Pixel 8 / Android 15

Steps:

Open Google Photos Select multiple photos/videos Share them with Nextcloud app (3.32.3) Select folder

There is however a particularity I've noticed. If only photos are selected, it works correctly. Whenever a video is added to the mix, no upload and no message.

date0 avatar Sep 01 '25 18:09 date0