Skip to content

Can't upload file #44

@dalb8

Description

@dalb8

I tried to upload a file via the ownCloud app, using Termux to pick the file. I can upload the file using a file manager app:

--------- beginning of main
02-05 12:34:35.625 27391 27391 V UploadSourceDialogFragment: constructor
02-05 12:34:35.634 27391 27391 I AppCompatDelegate: The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's
--------- beginning of system
02-05 12:34:37.477   455   467 I ActivityManager: START u0 {act=android.intent.action.CHOOSER cmp=android/com.android.internal.app.ChooserActivity (has extras)} from uid 10126 on display 0
02-05 12:34:37.498 27391 27391 V FileDisplayActivity: onPause() start
02-05 12:34:37.499 27391 27391 D FileDisplayActivity: onPause() ending
02-05 12:34:37.499 27391 27391 V FileDisplayActivity: onPause() end
02-05 12:34:37.511   455   685 I ActivityManager: Start proc 12077:android:ui/1000 for activity android/com.android.internal.app.ChooserActivity
02-05 12:34:37.651   455   467 W IntentResolver: resolveIntent: multiple matches, only some with CATEGORY_DEFAULT
02-05 12:34:37.652   455   931 W IntentResolver: resolveIntent: multiple matches, only some with CATEGORY_DEFAULT
02-05 12:34:37.666   455   996 I ActivityManager: START u0 {act=android.intent.action.GET_CONTENT cat=[android.intent.category.OPENABLE] typ=*/* flg=0x3000000 cmp=com.android.documentsui/.DocumentsActivity (has extras)} from uid 10126 on display 0
02-05 12:34:37.701   455   469 I ActivityManager: Killing 12077:android:ui/1000 (adj 13): empty #2
02-05 12:34:37.722   455   465 I art     : Background sticky concurrent mark sweep GC freed 132037(7MB) AllocSpace objects, 11(364KB) LOS objects, 30% free, 18MB/26MB, paused 3.813ms total 120.922ms
02-05 12:34:37.795 11399 11399 D Documents: Found volume path: primary:/storage/emulated/0
02-05 12:34:37.812   455   996 W IntentResolver: resolveIntent: multiple matches, only some with CATEGORY_DEFAULT
02-05 12:34:37.815 11399 11412 W Documents: Failed to restore stack: java.io.FileNotFoundException: Failed to find matching root for Root{authority=com.android.externalstorage.documents, rootId=primary, title=Internal storage}
02-05 12:34:37.851 11399 11429 I OpenGLRenderer: Initialized EGL, version 1.4
02-05 12:34:37.852 11399 11429 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv2_tegra' instead of 'egl/libGLESv2_tegra'
02-05 12:34:37.969   455   474 I ActivityManager: Displayed com.android.documentsui/.DocumentsActivity: +277ms (total +469ms)
02-05 12:34:38.063 11399 11428 D Documents: Before filtering 5, after 5
02-05 12:34:38.067 11399 11428 D Documents: Before filtering 64, after 64
02-05 12:34:38.069 11399 11428 D Documents: Before filtering 21, after 21
02-05 12:34:38.069 11399 11428 D Documents: Found 3 of 3 recent queries done
02-05 12:34:38.323 27391 27391 V FileDisplayActivity: onSaveInstanceState() start
02-05 12:34:38.323 27391 27391 D FileDisplayActivity: onSaveInstanceState(Bundle) starting
02-05 12:34:38.323 27391 27391 D ExtendedListFragment: onSaveInstanceState()
02-05 12:34:38.323 27391 27391 V FileDisplayActivity: onSaveInstanceState() end
02-05 12:34:38.323 27391 27391 V FileDisplayActivity: onStop() start
02-05 12:34:38.324 27391 27391 D FileDisplayActivity: onStop() ending
02-05 12:34:38.324 27391 27391 V FileDisplayActivity: onStop() end
02-05 12:34:40.745   455   685 I ActivityManager: START u0 {act=android.intent.action.GET_CONTENT cat=[android.intent.category.OPENABLE] typ=*/* flg=0x1000000 cmp=com.termux/.filepicker.TermuxFilePickerActivity (has extras)} from uid 10031 on display 0
02-05 12:34:40.778   455  2933 I ActivityManager: Start proc 12091:com.termux/u0a250 for activity com.termux/.filepicker.TermuxFilePickerActivity
02-05 12:34:40.909 11399 11429 D OpenGLRenderer: endAllStagingAnimators on 0x48704d80 (ListView) with handle 0x42742380
02-05 12:34:40.964 12091 12104 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
02-05 12:34:41.018 12091 12104 I libdgv1.so: Loaded to help save your day
02-05 12:34:41.018 12091 12104 D libEGL  : loaded /system/lib/egl/libEGL_tegra.so
02-05 12:34:41.052 12091 12104 D libEGL  : loaded /system/lib/egl/libGLESv1_CM_tegra.so
02-05 12:34:41.059 12091 12104 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv2_tegra' instead of 'egl/libGLESv2_tegra'
02-05 12:34:41.068 12091 12104 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv1_CM_tegra' instead of 'egl/libGLESv1_CM_tegra'
02-05 12:34:41.069 12091 12104 I libdgv1.so: Just saved you by loading '/system/lib/egl/libGLESv2_tegra' instead of 'egl/libGLESv2_tegra'
02-05 12:34:41.115 12091 12104 D libEGL  : loaded /system/lib/egl/libGLESv2_tegra.so
02-05 12:34:41.153 12091 12104 I OpenGLRenderer: Initialized EGL, version 1.4
02-05 12:34:41.212   455   474 I ActivityManager: Displayed com.termux/.filepicker.TermuxFilePickerActivity: +453ms
02-05 12:34:42.350   455   469 I ActivityManager: Start proc 12108:ca.rmen.android.frenchcalendar/u0a110 for broadcast ca.rmen.android.frenchcalendar/.FrenchCalendarAppWidgetNarrow
02-05 12:34:42.400 12108 12108 W System  : ClassLoader referenced unknown path: /data/app/ca.rmen.android.frenchcalendar-1/lib/arm
02-05 12:34:42.477   455   467 I ActivityManager: Start proc 12122:com.manor.currentwidget/u0a106 for broadcast com.manor.currentwidget/.library.CurrentWidget
02-05 12:34:42.478   455   467 I ActivityManager: Killing 12108:ca.rmen.android.frenchcalendar/u0a110 (adj 15): empty #2
02-05 12:34:42.584 12122 12122 W System  : ClassLoader referenced unknown path: /data/app/com.manor.currentwidget-1/lib/arm
02-05 12:34:42.670   455   931 I ActivityManager: Killing 12122:com.manor.currentwidget/u0a106 (adj 15): empty #2
02-05 12:34:45.846   455 31421 D NetlinkSocketObserver: NeighborEvent{elapsedMs=147660897, 192.168.1.254, [5CF4ABF225AD], RTM_NEWNEIGH, NUD_STALE}
02-05 12:34:47.775 11399 11399 D Documents: onActivityResult() code=-1
02-05 12:34:47.819 27391 27391 V FileActivity: onRestart() start
02-05 12:34:47.820 27391 27391 V FileActivity: onRestart() end
02-05 12:34:47.821 27391 27391 V FileDisplayActivity: onStart() start
02-05 12:34:47.821 27391 27391 D FileDisplayActivity: onStart() starting
02-05 12:34:47.832 27391 27391 D FileDisplayActivity: Initializing Fragments in onAccountChanged..
02-05 12:34:47.854 27391 27391 V FileDisplayActivity: onStart() end
02-05 12:34:47.854 27391 27391 V FileDisplayActivity: onResume() start
02-05 12:34:47.854 27391 27391 D FileDisplayActivity: onResume() starting
02-05 12:34:47.878 27391 27391 V FileDisplayActivity: onResume() end
02-05 12:34:47.881 27391 27391 D FileUploader: Starting command with id 4
02-05 12:34:47.884 27391 10788 D FileUploader: Account ken@my.ownstorage.com exists
02-05 12:34:47.891 27391 10788 D SimpleFactoryManager: getClientFor(OwnCloudAccount ... : 
02-05 12:34:47.891 27391 10788 D OwnCloudClient #36: Creating OwnCloudClient
02-05 12:34:47.891 27391 10788 V SimpleFactoryManager:     new client {ken@my.ownstorage.com, 136779177}
02-05 12:34:47.901 27391 10788 D OwnCloudClient #36: REQUEST HEAD /remote.php/webdav/
02-05 12:34:48.000 12091 12104 D OpenGLRenderer: endAllStagingAnimators on 0x427bf200 (ListView) with handle 0x5bf2e170
02-05 12:34:48.000 11399 11399 I art     : Starting a blocking GC Explicit
02-05 12:34:48.028 11399 11399 I art     : Explicit concurrent mark sweep GC freed 1723(149KB) AllocSpace objects, 0(0B) LOS objects, 25% free, 4MB/6MB, paused 534us total 25.075ms
02-05 12:34:48.032 11399 11399 I art     : Starting a blocking GC Explicit
02-05 12:34:48.050 11399 11399 I art     : Explicit concurrent mark sweep GC freed 1327(122KB) AllocSpace objects, 5(100KB) LOS objects, 24% free, 4MB/6MB, paused 416us total 17.603ms
02-05 12:34:48.050 11399 11399 I art     : Starting a blocking GC Explicit
02-05 12:34:48.058 27391 12146 D SimpleFactoryManager: getClientFor(OwnCloudAccount ... : 
02-05 12:34:48.059 27391 12146 D OwnCloudClient #37: Creating OwnCloudClient
02-05 12:34:48.059 27391 12146 V SimpleFactoryManager:     new client {ken@my.ownstorage.com, 183756590}
02-05 12:34:48.066 27391 12146 D OwnCloudClient #37: REQUEST GET /status.php
02-05 12:34:48.067 27391 12146 D AdvancedSslSocketFactory: Creating SSL Socket with remote my.ownstorage.com:443, local null:0, params: org.apache.commons.httpclient.params.HttpConnectionParams@ee36b0
02-05 12:34:48.067 27391 12146 D AdvancedSslSocketFactory:  ... with connection timeout 60000 and socket timeout 60000
02-05 12:34:48.084 11399 11399 I art     : Explicit concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 24% free, 4MB/6MB, paused 1.148ms total 33.807ms
02-05 12:34:48.134 27391 12146 I ServerNameIndicator: SSLSocket implementation: com.android.org.conscrypt.OpenSSLSocketImpl
02-05 12:34:48.134 27391 12146 I ServerNameIndicator: SNI done, hostname: my.ownstorage.com
02-05 12:34:48.224   455   469 I ActivityManager: Killing 12091:com.termux/u0a250 (adj 13): empty #2
02-05 12:34:48.232   455  2934 I WindowState: WIN DEATH: Window{d44b964 u0 com.termux/com.termux.filepicker.TermuxFilePickerActivity}
02-05 12:34:48.232   455  2933 D GraphicsStats: Buffer count: 11
02-05 12:34:48.295 27391 10788 D ExistenceCheckRemoteOperation: Existence check for https://my.ownstorage.com/remote.php/webdav/ targeting for  existence finished with HTTP status 200
02-05 12:34:48.303 27391 10788 D OwnCloudClient #36: REQUEST HEAD /remote.php/webdav/trinity
02-05 12:34:48.316 27391 12146 W HttpMethodBase: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
02-05 12:34:48.327 27391 12146 D UpdateOCVersionOperation: Got new OC version 8.2.2.2
02-05 12:34:48.327 27391 12146 I UpdateOCVersionOperation: Check for update of ownCloud server version at https://my.ownstorage.com/remote.php/webdav: Operation finished with HTTP status code -1 (success)
02-05 12:34:48.328 27391 12146 D SimpleFactoryManager: getClientFor(OwnCloudAccount ... : 
02-05 12:34:48.328 27391 12146 D OwnCloudClient #38: Creating OwnCloudClient
02-05 12:34:48.328 27391 12146 V SimpleFactoryManager:     new client {ken@my.ownstorage.com, 98411215}
02-05 12:34:48.330 27391 12146 D OwnCloudClient #38: REQUEST GET /ocs/v1.php/cloud/capabilities
02-05 12:34:48.660   455   468 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=0 for 437ms
02-05 12:34:48.661   455   470 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=1 for 436ms
02-05 12:34:48.661   455   474 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=2 for 435ms
02-05 12:34:48.663   455  2933 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityStackSupervisor$ActivityStackSupervisorHandler.activityIdleInternal(com.android.server.am.ActivityRecord) from ActivityStackSupervisor.java:4016 waiters=3 for 431ms
02-05 12:34:48.709 27391 10788 D ExistenceCheckRemoteOperation: Existence check for https://my.ownstorage.com/remote.php/webdav/trinity targeting for  existence finished with HTTP status 404(FAIL)
02-05 12:34:48.718   631   634 E sdcard  : *** NOTIFY FAILED *** 22
02-05 12:34:48.718   631   634 E sdcard  : *** NOTIFY FAILED *** 22
02-05 12:34:48.719 27391 10788 E UploadFileOperation: Upload of //data/data/com.termux/files/home/.shortcuts/trinity to /trinity: Operation finished with HTTP status code -1 (fail)
02-05 12:34:48.720 27391 10788 D FileUploader: NotifyUploadResult with resultCode: LOCAL_STORAGE_NOT_COPIED
02-05 12:34:48.727 27391 10788 D FileUploader: Stopping command after id 4
02-05 12:34:48.735 27391 12146 W HttpMethodBase: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
02-05 12:34:48.736 27391 12146 D GetRemoteCapabilitiesOperation: Successful response: {"ocs":{"meta":{"status":"ok","statuscode":100,"message":null},"data":{"version":{"major":8,"minor":2,"micro":2,"string":"8.2.2","edition":""},"capabilities":{"core":{"pollinterval":60},"files_sharing":{"api_enabled":true,"public":{"enabled":true,"password":{"enforced":false},"expire_date":{"enabled":false},"send_mail":true,"upload":true},"user":{"send_mail":true},"resharing":true,"federation":{"outgoing":true,"incoming":true}},"files":{"bigfilechunking":true,"undelete":true,"versioning":true}}}}}
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added version
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added core
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added files_sharing
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Added files
02-05 12:34:48.737 27391 12146 D GetRemoteCapabilitiesOperation: *** Get Capabilities completed 
02-05 12:34:48.760 27391 12146 D RefreshFolderOperation: Checking changes in ken@my.ownstorage.com/
02-05 12:34:48.762 27391 12146 D OwnCloudClient #37: REQUEST PROPFIND /remote.php/webdav/
02-05 12:34:49.110 27391 12146 I RefreshFolderOperation: Checked ken@my.ownstorage.com/ : not changed
02-05 12:34:49.135 27391 12146 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
02-05 12:34:49.140 27391 27391 D FileDisplayActivity: Received broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED
02-05 12:34:49.144 27391 12146 D OwnCloudClient #37: REQUEST GET /ocs/v1.php/apps/files_sharing/api/v1/shares
02-05 12:34:49.168 27391 27391 D FileDisplayActivity: Setting progress visibility to true
02-05 12:34:49.516 27391 12146 W HttpMethodBase: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
02-05 12:34:49.520 27391 12146 D GetRemoteSharesForFileOperation: Got 0 shares
02-05 12:34:49.553 27391 12146 D FileDataStorageManager: Sending 11 operations to FileContentProvider
02-05 12:34:49.554 27391 12146 D FileContentProvider: applying batch in provider com.owncloud.android.providers.FileContentProvider@c16462f (temporary: false)
02-05 12:34:49.567 27391 12146 D FileContentProvider: applied batch in provider com.owncloud.android.providers.FileContentProvider@c16462f
02-05 12:34:49.567 27391 12146 D RefreshFolderOperation: Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
02-05 12:34:49.577 27391 27391 D FileDisplayActivity: Received broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED
02-05 12:34:49.606 27391 27391 D FileDisplayActivity: Setting progress visibility to false
02-05 12:34:51.016   455 31421 D NetlinkSocketObserver: NeighborEvent{elapsedMs=147666067, 192.168.1.254, [5CF4ABF225AD], RTM_NEWNEIGH, NUD_REACHABLE}
02-05 12:34:59.446   455 31421 D NetlinkSocketObserver: NeighborEvent{elapsedMs=147674498, 192.168.1.254, [5CF4ABF225AD], RTM_NEWNEIGH, NUD_STALE}
02-05 12

Using a Nexus 7 2012 with an Android 6 custom ROM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions