Mobile App OwnCloud Crashes / Fail to upload

Actual behaviour

Several media files (pictures and videos) uploads failed, some of them are waiting for wifi(although wifi is on) some failed. When I tap on them I get a message “The file was not found in the local file system”.
I went to Gallery app and found the file which is there.

If I press Retry button, the app will crash with one of the following messages, which I can’t see them entirely:

  1. “Failed to allocate a 8208 byte allocation with 401412…”
    or
  2. “OutOfMemoryError thrown while trying to throw an …”
    or
  3. “unknown error”

I get logs info like:

127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210809_150506.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210811_085943.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210809_144743.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210809_144551.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210810_101715.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210812_205230.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210811_085943.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210812_205230.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”

Expected behaviour

Should be reuploaded

Steps to reproduce

“The file was not found in the local file system”

  1. Open OwnCloud app
  2. Tap on Uploads Icon bottom screen icons
  3. Tap on a failed or waiting for wifi file

App will crash

  1. Open OwnCloud app

  2. Tap on Uploads Icon bottom screen icons

  3. Press “Retry” button

  4. Wait to process

  5. “Failed to allocate a 8208 byte allocation with 401412…”
    or

  6. “OutOfMemoryError thrown while trying to throw an …”
    or

  7. “unknown error”

Environment data

Android version: 11

Device model: Galaxy S10+

Stock or customized system: Stock

ownCloud app version: 2.18.1 (1ac962cf4)

ownCloud server version: 10.0.10 (stable)

Logs

Web server error log

none
Insert your webserver log here
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210809_150506.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:37 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210811_085943.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210809_144743.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210809_144551.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210810_101715.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210812_205230.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210811_085943.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:38 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210812_205230.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:42 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:42 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:43 +0200] “GET /owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.0” 200 2719 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0”
127.0.0.1 - - [13/Aug/2021:05:46:50 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/ HTTP/1.0” 207 1668 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:50 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/CameraUpload/20210802_121706.mp4 HTTP/1.0” 404 1006 “-” “Mozilla/5.0 (Android) ownCloud-android/2.18.1”
127.0.0.1 - - [13/Aug/2021:05:46:54 +0200] “PROPFIND /owncloud/remote.php/dav/files/user1/ HTTP/1.0” 207 1093 “-” “Mozilla/5.0 (Windows) mirall/2.8.2 (build 4246) (ownCloud, windows-10.0.19042 ClientArchitecture: x86_64 OsArchitecture: x86_64)”
127.0.0.1 - - [13/Aug/2021:05:47:13 +0200] “GET /owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.0” 200 2719 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0”

ownCloud log (data/owncloud.log)

none
Insert your ownCloud log here
none

@protektwar please also check for the related lines in the app debug log. Here you can find more information:
Troubleshooting :: ownCloud Documentation

1 Like

@michaelstingl
Unfortunately the document is outdated, the described steps do not match anymore, but one can do:
Click 3 horizontal lines top left corner/Settings/Logging/Open logs view
Here are 2 Log Tabs:
Logcat and Logfile
From the 3 points top right corner/Clear log

I have tried to “Share” the files to TotalCommander, but it was not possible due to the error:
“Error opening file: src”

Then I found a log file /storage/emulated/0/owncloud/ named:
owncloud.2021-08-13.log

owncloud.2021-08-13.log (82.8 KB)

Quota user is set to unlimited.

Even i have the same issue please do help

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.