Android: Instant upload broken for videos

Created on 21 Jan 2018  路  25Comments  路  Source: nextcloud/android

The videos taken should autoupload, but I just realized it is not happening anymore. The last autouploaded video is dated November 1st, 2017.

I checked the synchronized DCIM/Camera folder, my videos are there (.mp4), I checked the upload history in the Nexcloud Android app: no failed transfers in the list.

It looks like the app simply isn't triggering the autoupload for videos.

Environment data

Android version: 7.0

Device model: Galaxy S7 SM-G930F

Stock or customized system: Stock

Nextcloud app version: 3.0.0RC1

Nextcloud server version: 12.0.4

bug AutoUpload high stale

All 25 comments

@tobiasKaminsky @mario this sounds like a regression issue since video auto upload worked with 2.0+

Also see forum thread https://help.nextcloud.com/t/autoupload-videos/6925/12 this seems to be the case for several users

@AndyScherzinger did you test?

"works for me"TM
I just activated video auto upload for the camera folder, connected to wi-fi, created a video, it got uploaded

Tested on latest master, so at least when video upload hasn't been active and got activated in 3.0.0RC1/master it seems to work.

Works for me too :( @tobiasKaminsky ?

Maybe some problem with external storage (sdcard)?
I am using dev version and had no problems with videos.

Maybe some problem with external storage (sdcard)?

Possibly. I have this issue and have my camera app set to store on external sd card...

I also use sdcard @tobiasKaminsky when testing. @Bugsbane using 3.0.3?

@Bugsbane using 3.0.3?

Currently, yes, however I've had this issue through quite a few upgrades. From memory though it did work somewhere around the 2.0 release.

I had the same issue. I then discovered that photos and video are are enabled and configured separately (the icon on the left of the folder name is different) for each folder. I don't know if this is intended or not.

But when I installed the application and activated the instant upload feature, I didn't have any video taken from my phone on my phone. And if there is no video and the instant upload of video for a folder was never configured, the video version of the folder doesn't appears. And even when the video version of the folder, I did not notice right away.

So this issue may be more about discoverability and user interface than a bug.

Environment data

Android version: 8.0.0
Device model: OnePlus 5 (ONEPLUS A5000)
Stock or customized system: Stock
Nextcloud app version: 3.0.3 from F-Droid
Nextcloud server version: 12.0.5

@loxK did you activate the upload for images _and_ videos or just for one of them?

I definitely have upload activated for both photos and videos...

I have both activated and no update fixed the issue since then.

I also just realized that many random photos haven't been uploaded since a while (with no error in history). Yesterday I took two, only one got uploaded and appears in the history screen. The "funny" thing is that those missed photos do appear as preview in the auto-upload settings screen.

Nexcloud Android client: 3.1.0
Nextcloud: 13.0.1

This weekend has been a missed again. Only a few of my children photos got uploaded, and no videos. I wouldn't advice anyone to use Nextcloud for souvenirs backup at the moment.

Luckily I haven't turned off the reliable Google Photos as of yet...

@loxK what phone and what Android version?

@AndyScherzinger @tobiasKaminsky unless this is one of the strange phones (Huawei, Oppo, etc) and the client has not misconfigured something and indeed things don't get scheduled for upload, we need to put back the power locking stuff I've put in before.

@mario I haven't changed my phone since I reported this issue.

This is an ongoing issue still. Galaxy s9 with android 8.0.0. Both photos and videos have now stopped working

Same here.
Still no fix?

My Systems:

  • Symsung Galaxy S9
  • Android 9.0
  • NextCloud App 3.5.0
  • NextCloud Server 15.0.5.3 (Docker)
FROM nextcloud:latest

RUN  apt-get update -y && apt-get install -y  smbclient

image

image

"Berechtigungsfehler" = "Permission Error"

Photos are uploaded fine.

docker logs-f nextcloud shows this when I click a failed upload to execute it again.

192.168.1.130 - cwempe [03/Mar/2019:00:03:39 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/02/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.0"
192.168.1.130 - cwempe [03/Mar/2019:00:03:39 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/02/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.0"
192.168.1.130 - cwempe [03/Mar/2019:00:03:39 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.0"
192.168.1.130 - cwempe [03/Mar/2019:00:03:39 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.0"
192.168.1.130 - cwempe [03/Mar/2019:00:03:39 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.0"

At first I thought the issue was caused by the remote folder being located an an external samba share and the HDD takes dome time to spin up for the first access.
But then it should work at least some times.

The "permission error" is also strange, because it works for photos and if I upload a video manually into the remote folder.

Just renamed a video to *.jpg and it seems to work via instant upload!
So there seems to be an issue with the .mp4 (or not-.jpg) file suffix.

Here are some more logs in case this helps:

picture upload works:

[25/Mar/2019:10:39:47 +0100] "GET /index.php/204 HTTP/1.1" 204 1289 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:39:47 +0100] "MKCOL /remote.php/dav/uploads/cwempe/cea5516d9e112fad85c2a231c3c882d7 HTTP/1.1" 201 567 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:39:47 +0100] "PROPFIND /remote.php/dav/uploads/cwempe/cea5516d9e112fad85c2a231c3c882d7 HTTP/1.1" 207 2050 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:39:49 +0100] "PUT /remote.php/dav/uploads/cwempe/cea5516d9e112fad85c2a231c3c882d7/0000000000000000-0000000002022443 HTTP/1.1" 201 600 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1" mkdir failed on directory /var/run/samba/msg.lock: Permission denied
[25/Mar/2019:10:39:49 +0100] "MOVE /remote.php/dav/uploads/cwempe/cea5516d9e112fad85c2a231c3c882d7/.file HTTP/1.1" 201 671 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1" mkdir failed on directory /var/run/samba/msg.lock: Permission denied
[25/Mar/2019:10:39:50 +0100] "PROPFIND /remote.php/webdav/home/SofortUpload/Camera//2019/03/20190325_103944.jpg HTTP/1.1" 207 1500 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1" mkdir failed on directory /var/run/samba/msg.lock: Permission denied
[25/Mar/2019:10:39:50 +0100] "GET /index.php/apps/files/api/v1/thumbnail/256/256/home/SofortUpload/Camera//2019/03/20190325_103944.jpg HTTP/1.1" 200 12157 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:39:58 +0100] "GET /ocs/v1.php/cloud/users/cwempe?format=json HTTP/1.1" 200 1197 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:39:58 +0100] "GET /index.php/avatar/cwempe/384 HTTP/1.1" 304 247 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"

but video upload does not:

[25/Mar/2019:10:45:49 +0100] "GET /ocs/v1.php/cloud/users/user1?format=json HTTP/1.1" 200 1197 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:45:49 +0100] "GET /index.php/avatar/user1/384 HTTP/1.1" 304 247 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:45:50 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/02/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:50 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/02/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:50 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:50 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:50 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:53 +0100] "GET /index.php/204 HTTP/1.1" 204 1287 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:45:53 +0100] "GET /index.php/204 HTTP/1.1" 204 1293 "-" "Mozilla/5.0 (Android) ownCloud-android/3.5.1"
[25/Mar/2019:10:45:53 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:53 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:54 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:55 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:56 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:56 +0100] "HEAD /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:56 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/03/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:56 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/2019/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:56 +0100] "MKCOL /remote.php/webdav/SofortUpload/Camera/ HTTP/1.1" 409 794 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"
[25/Mar/2019:10:45:56 +0100] "MKCOL /remote.php/webdav/SofortUpload/ HTTP/1.1" 403 811 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.5.1"

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

Still not working.
So this issue should be kept open.

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

I just locked at my issue again and realized I defined a wrong folder for AutoUploading my videos.
Now I upload my videos to the same remote folder I upload my images (like I intended from the beginning) and now it works.

Sorry, if this comment will keep the issue open longer, but I wanted to let you know the issue is solved for me.

no worries @CWempe the bot will com eback in 4 weeks ;) Glad to hear the matter has been resolved for your case.

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndyScherzinger picture AndyScherzinger  路  3Comments

eppfel picture eppfel  路  3Comments

rainer042 picture rainer042  路  3Comments

JSoko picture JSoko  路  3Comments

AndyScherzinger picture AndyScherzinger  路  3Comments