Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Auto uploads result in a conflict status when trying to retry them #4451

Open
Aitorbp opened this issue Aug 13, 2024 · 4 comments
Open

Comments

@Aitorbp
Copy link
Collaborator

Aitorbp commented Aug 13, 2024

Actual behaviour

  • On an OC10 and OCIS server, auto-uploads appear in Conflict status after a Retry. This behavior occurs when it does not have a destination folder created, which if it does not have one it should create one.

Steps to reproduce

  1. Enable Auto uploads for pictures with removed from original folder behaviour
  2. Destination folder musn't be created in this step.
  3. Take some pictures
  4. Switch server off (it will make the uploads fail)
  5. Wait till pictures are enqueued/failed
  6. Switch server on
  7. Retry failed uploads
  • We also found unstable behavior when we have two accounts, one in OC10 and another OCIS. We previously tested it in OC10 (following the steps outlined above)

Steps to reproduce

  1. Taking previous steps.
  2. We changed the account (from OC10 to OCIS).
  3. The auto-uploads are already working.
  4. The destination folder is not in the list of files.
  5. We took a couple of photos.
  6. Server off.
  7. We waited for the uploads to be completed.

Result: the auto-uploads appear as uploaded correctly, but we have the server off, we don't even have the possibility to press Retry. If you turn on the server, nothing changes, those uploads appear uploaded, but you can't find them in the destination folder (it wasn't even created).

Expected behaviour

  • In OC10 the auto-uploads are uploaded to the server without error after pressing Retry.

Can this problem be reproduced with the official owncloud server?
(url: https://ocis.ocis.master.owncloud.works, user: einstein, password: relativity)

Environment data

ownCloud app version: 4.3.1

Logs

Android logs:

Log 0C10 when you click on Retry:

2024-08-13 10:04:54.580 12919-12949 ConnectivityManager     com.owncloud.android.debug           D  StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4300)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4864)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4831)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4805)] [androidx.work.impl.utils.NetworkApi24.registerDefaultNetworkCallbackCompat(NetworkApi24.kt:28)] [androidx.work.impl.constraints.trackers.NetworkStateTracker24.startTracking(NetworkStateTracker.kt:139)] [androidx.work.impl.constraints.trackers.ConstraintTracker.addListener(ConstraintTracker.kt:57)] [androidx.work.impl.constraints.controllers.ConstraintController.replace(ConstraintController.kt:82)] [androidx.work.impl.constraints.WorkConstraintsTrackerImpl.replace(WorkConstraintsTracker.kt:92)] [androidx.work.impl.background.greedy.GreedyScheduler.schedule(GreedyScheduler.java:170)] [androidx.work.impl.Schedulers.schedule(Schedulers.java:119)] [androidx.work.impl.utils.EnqueueRunnable.scheduleWorkInBackground(EnqueueRunnable.java:135)] [androidx.work.impl.utils.EnqueueRunnable.run(EnqueueRunnable.java:95)] [androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)] [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)] [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)] [java.lang.Thread.run(Thread.java:1012)]
2024-08-13 10:04:54.643 12919-12950 (UploadFil...er.kt:149) com.owncloud.android.debug           D  D: Upload with id (15) has been found in database.
2024-08-13 10:04:54.648 12919-12950 (UploadFil...er.kt:150) com.owncloud.android.debug           D  D: Upload info: OCTransfer(id=15, localPath=/data/user/0/com.owncloud.android.debug/files/owncloud/tmp/admin@TEST%3A14000/CameraUpload/20240813_105637.jpg, remotePath=/CameraUpload/20240813_105637.jpg, accountName=admin@TEST, fileSize=1672198, status=TRANSFER_QUEUED, localBehaviour=MOVE, forceOverwrite=false, transferEndTimestamp=1723539752448, lastResult=NETWORK_CONNECTION, createdBy=ENQUEUED_AS_CAMERA_UPLOAD_PICTURE, transferId=null, spaceId=null)
2024-08-13 10:04:54.673 12919-12950 (SingleSes...r.java:98) com.owncloud.android.debug           D  D: getClientFor starting 
2024-08-13 10:04:54.679 12919-12950 (SingleSes....java:125) com.owncloud.android.debug           D  V: reusing client for account admin@TEST
2024-08-13 10:04:54.683 12919-12950 (SingleSes....java:180) com.owncloud.android.debug           D  D: getClientFor finishing 
2024-08-13 10:04:54.699 12919-12950 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id fbb16fe1-86d0-42d1-b99c-aafcb8af9a80
2024-08-13 10:04:54.712 12919-12950 TrafficStats            com.owncloud.android.debug           D  tagSocket(6) with statsTag=0xffffffff, statsUid=-1
2024-08-13 10:04:55.158 12919-12928 d.android.debug         com.owncloud.android.debug           I  Compiler allocated 6133KB to compile void android.view.ViewRootImpl.performTraversals()
2024-08-13 10:04:56.535 12919-12950 (LogInterceptor.kt:67)  com.owncloud.android.debug           D  D: REQUEST fbb16fe1-86d0-42d1-b99c-aafcb8af9a80 {"request":{"body":"<?xml version='1.0' encoding='UTF-8' ?><propfind xmlns=\"DAV:\" xmlns:CAL=\"urn:ietf:params:xml:ns:caldav\" xmlns:CARD=\"urn:ietf:params:xml:ns:carddav\" xmlns:SABRE=\"http://sabredav.org/ns\" xmlns:OC=\"http://owncloud.org/ns\"><prop><displayname /><getcontenttype /><resourcetype /><getcontentlength /><getlastmodified /><creationdate /><getetag /><OC:permissions /><OC:id /><OC:size /><OC:privatelink /><OC:share-types /></prop></propfind>","headers":{"Depth":"0","Authorization":"Basic [redacted]","X-Request-ID":"fbb16fe1-86d0-42d1-b99c-aafcb8af9a80","User-Agent":"Mozilla/5.0 (Android) ownCloud-android/4.3.1","Accept-Encoding":"identity","Accept-Language":"en","Content-Type":"application/xml; charset=utf-8","Content-Length":"432","Host":"TEST","Connection":"Keep-Alive"},"info":{"id":"fbb16fe1-86d0-42d1-b99c-aafcb8af9a80","method":"PROPFIND","url":"http://TEST/remote.php/dav/files/"}}}
2024-08-13 10:04:56.708 12919-12950 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE fbb16fe1-86d0-42d1-b99c-aafcb8af9a80 {"response":{"body":{"data":"<?xml version=\"1.0\"?>\n<d:multistatus xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\" xmlns:oc=\"http://owncloud.org/ns\"><d:response><d:href>/remote.php/dav/files/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:getlastmodified/><d:creationdate/><d:getetag/><oc:permissions/><oc:id/><oc:size/><oc:privatelink/><oc:share-types/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>\n","length":585},"headers":{"Date":"Tue, 13 Aug 2024 09:03:47 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Set-Cookie":"cookie_test=test; expires=Tue, 13-Aug-2024 10:03:48 GMT; Max-Age=3600","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Content-Security-Policy":"default-src 'none';","Vary":"Brief,Prefer","DAV":"1, 3, extended-mkcol, 2, access-control, calendarserver-principal-property-search","Content-Length":"585","Keep-Alive":"timeout=5, max=100","Connection":"Keep-Alive","Content-Type":"application/xml; charset=utf-8"},"info":{"id":"fbb16fe1-86d0-42d1-b99c-aafcb8af9a80","method":"PROPFIND","reply":{"cached":false,"duration":580,"durationString":"duration(0h, 0min, 0s, 580ms)","status":207,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/"}}}
2024-08-13 10:04:56.721 12919-12950 dav4jvm                 com.owncloud.android.debug           I  Registering DAV property factories
2024-08-13 10:04:56.735 12919-12950 (CheckPath...ion.kt:71) com.owncloud.android.debug           D  D: Existence check for http://TEST/remote.php/dav/files/ finished with HTTP status 207
2024-08-13 10:04:56.738 12919-12950 (UploadFil...er.kt:208) com.owncloud.android.debug           D  D: Checking name collision in server
2024-08-13 10:04:56.747 12919-12950 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id c76a731e-d28b-43a7-aad2-60a07d6357a4
2024-08-13 10:04:57.098 12919-12950 (LogInterceptor.kt:67)  com.owncloud.android.debug           D  D: REQUEST c76a731e-d28b-43a7-aad2-60a07d6357a4 {"request":{"body":"<?xml version='1.0' encoding='UTF-8' ?><propfind xmlns=\"DAV:\" xmlns:CAL=\"urn:ietf:params:xml:ns:caldav\" xmlns:CARD=\"urn:ietf:params:xml:ns:carddav\" xmlns:SABRE=\"http://sabredav.org/ns\" xmlns:OC=\"http://owncloud.org/ns\"><prop><displayname /><getcontenttype /><resourcetype /><getcontentlength /><getlastmodified /><creationdate /><getetag /><OC:permissions /><OC:id /><OC:size /><OC:privatelink /><OC:share-types /></prop></propfind>","headers":{"Depth":"0","Authorization":"Basic [redacted]","X-Request-ID":"c76a731e-d28b-43a7-aad2-60a07d6357a4","User-Agent":"Mozilla/5.0 (Android) ownCloud-android/4.3.1","Accept-Encoding":"identity","Accept-Language":"en","Content-Type":"application/xml; charset=utf-8","Content-Length":"432","Host":"TEST","Connection":"Keep-Alive","Cookie":"ocbth4h1i23s=qcauvjmmdh2th6pib4glb58fsh; oc_sessionPassphrase=CUQadZyh%2BnJ6u8VDG94oABVSCVGeVBKD3rKpB4JuwzDB3IvZrwUXiHUSV6R42nLSzJZnBUN6Zk8ccyCzTypPOvosErIiXaej6R35Lgur4CiuAB7i8aiiv6GVi624QbJe; ocbth4h1i23s=olhch0qe63tgp8v6g87f43gq31; cookie_test=test"},"info":{"id":"c76a731e-d28b-43a7-aad2-60a07d6357a4","method":"PROPFIND","url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_105637.jpg"}}}
2024-08-13 10:04:57.109 12919-12950 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE c76a731e-d28b-43a7-aad2-60a07d6357a4 {"response":{"body":{"data":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\n  <s:exception>Sabre\\DAV\\Exception\\NotFound</s:exception>\n  <s:message>File with name CameraUpload/20240813_105637.jpg could not be located</s:message>\n</d:error>\n","length":260},"headers":{"Date":"Tue, 13 Aug 2024 09:03:49 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Set-Cookie":"ocbth4h1i23s=hjl014civ7ulutgjojms7v7l1i; path=/; HttpOnly; SameSite=Strict","Content-Security-Policy":"default-src 'none';","Content-Length":"260","Keep-Alive":"timeout=5, max=99","Connection":"Keep-Alive","Content-Type":"application/xml; charset=utf-8"},"info":{"id":"c76a731e-d28b-43a7-aad2-60a07d6357a4","method":"PROPFIND","reply":{"cached":false,"duration":341,"durationString":"duration(0h, 0min, 0s, 341ms)","status":404,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_105637.jpg"}}}
2024-08-13 10:04:57.117 12919-12950 (CheckPath...ion.kt:71) com.owncloud.android.debug           D  D: Existence check for http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_105637.jpg finished with HTTP status 404(FAIL)
2024-08-13 10:04:57.124 12919-12950 (UploadFil...er.kt:230) com.owncloud.android.debug           D  D: Chunking is allowed: true, and file size is greater than the minimum chunk size: false
2024-08-13 10:04:57.129 12919-12950 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 7faad393-ba60-4a8d-b1ef-1b4bb0caaf4e
2024-08-13 10:04:57.377 12919-12950 (LogInterceptor.kt:67)  com.owncloud.android.debug           D  D: REQUEST 7faad393-ba60-4a8d-b1ef-1b4bb0caaf4e {"request":{"body":"<?xml version='1.0' encoding='UTF-8' ?><propfind xmlns=\"DAV:\" xmlns:CAL=\"urn:ietf:params:xml:ns:caldav\" xmlns:CARD=\"urn:ietf:params:xml:ns:carddav\" xmlns:SABRE=\"http://sabredav.org/ns\" xmlns:OC=\"http://owncloud.org/ns\"><prop><displayname /><getcontenttype /><resourcetype /><getcontentlength /><getlastmodified /><creationdate /><getetag /><OC:permissions /><OC:id /><OC:size /><OC:privatelink /><OC:share-types /></prop></propfind>","headers":{"Depth":"1","Authorization":"Basic [redacted]","X-Request-ID":"7faad393-ba60-4a8d-b1ef-1b4bb0caaf4e","User-Agent":"Mozilla/5.0 (Android) ownCloud-android/4.3.1","Accept-Encoding":"identity","Accept-Language":"en","Content-Type":"application/xml; charset=utf-8","Content-Length":"432","Host":"TEST","Connection":"Keep-Alive","Cookie":"oc_sessionPassphrase=CUQadZyh%2BnJ6u8VDG94oABVSCVGeVBKD3rKpB4JuwzDB3IvZrwUXiHUSV6R42nLSzJZnBUN6Zk8ccyCzTypPOvosErIiXaej6R35Lgur4CiuAB7i8aiiv6GVi624QbJe; ocbth4h1i23s=hjl014civ7ulutgjojms7v7l1i; cookie_test=test"},"info":{"id":"7faad393-ba60-4a8d-b1ef-1b4bb0caaf4e","method":"PROPFIND","url":"http://TEST/remote.php/dav/files/admin"}}}
2024-08-13 10:04:57.389 12919-12950 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE 7faad393-ba60-4a8d-b1ef-1b4bb0caaf4e {"response":{"body":{"data":"<?xml version=\"1.0\"?>\n<d:multistatus xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\" xmlns:oc=\"http://owncloud.org/ns\"><d:response><d:href>/remote.php/dav/files/admin/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Tue, 13 Aug 2024 07:32:26 GMT</d:getlastmodified><d:getetag>&quot;66bb0c0ae3b6a&quot;</d:getetag><oc:permissions>RDNVCK</oc:permissions><oc:id>00000006ocbth4h1i23s</oc:id><oc:size>18337786</oc:size><oc:privatelink>http://TEST/f/6</oc:privatelink><oc:share-types/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:creationdate/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/admin/New%20folder/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Thu, 09 May 2024 20:23:07 GMT</d:getlastmodified><d:getetag>&quot;663d33b18f4c5&quot;</d:getetag><oc:permissions>RDNVCK</oc:permissions><oc:id>00000193ocbth4h1i23s</oc:id><oc:size>11679856</oc:size><oc:privatelink>http://TEST/f/193</oc:privatelink><oc:share-types/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:creationdate/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/admin/User/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Mon, 06 May 2024 09:59:52 GMT</d:getlastmodified><d:getetag>&quot;6638aa18964b1&quot;</d:getetag><oc:permissions>RDNVCK</oc:permissions><oc:id>00000202ocbth4h1i23s</oc:id><oc:size>6657930</oc:size><oc:privatelink>http://TEST/f/202</oc:privatelink><oc:share-types/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:creationdate/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>\n","length":2113},"headers":{"Date":"Tue, 13 Aug 2024 09:03:49 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Set-Cookie":"oc_sessionPassphrase=CUQadZyh%2BnJ6u8VDG94oABVSCVGeVBKD3rKpB4JuwzDB3IvZrwUXiHUSV6R42nLSzJZnBUN6Zk8ccyCzTypPOvosErIiXaej6R35Lgur4CiuAB7i8aiiv6GVi624QbJe; expires=Tue, 13-Aug-2024 09:23:49 GMT; Max-Age=1200; path=/; HttpOnly; SameSite=Strict","Content-Security-Policy":"default-src 'none';","Vary":"Brief,Prefer","DAV":"1, 3, extended-mkcol, 2","Content-Length":"2113","Keep-Alive":"timeout=5, max=98","Connection":"Keep-Alive","Content-Type":"application/xml; charset=utf-8"},"info":{"id":"7faad393-ba60-4a8d-b1ef-1b4bb0caaf4e","method":"PROPFIND","reply":{"cached":false,"duration":237,"durationString":"duration(0h, 0min, 0s, 237ms)","status":207,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/admin"}}}
2024-08-13 10:04:57.408 12919-12950 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id fe32e830-e9da-4672-a7eb-4b1c25395fec
2024-08-13 10:04:58.176 12919-12950 (FileRequestBody.kt:70) com.owncloud.android.debug           D  D: File with name 20240813_105637.jpg and size 1672198 written in request body
2024-08-13 10:04:58.512 12919-12950 (LogInterceptor.kt:67)  com.owncloud.android.debug           D  D: REQUEST fe32e830-e9da-4672-a7eb-4b1c25395fec {"request":{"body":"One shot body --   Omitted","headers":{"Authorization":"Basic [redacted]","X-OC-Mtime":"1723539752","OC-Total-Length":"1672198","X-Request-ID":"fe32e830-e9da-4672-a7eb-4b1c25395fec","User-Agent":"Mozilla/5.0 (Android) ownCloud-android/4.3.1","Accept-Encoding":"identity","Accept-Language":"en","Content-Length":"1672198","Host":"TEST","Connection":"Keep-Alive","Cookie":"oc_sessionPassphrase=CUQadZyh%2BnJ6u8VDG94oABVSCVGeVBKD3rKpB4JuwzDB3IvZrwUXiHUSV6R42nLSzJZnBUN6Zk8ccyCzTypPOvosErIiXaej6R35Lgur4CiuAB7i8aiiv6GVi624QbJe; ocbth4h1i23s=hjl014civ7ulutgjojms7v7l1i; cookie_test=test"},"info":{"id":"fe32e830-e9da-4672-a7eb-4b1c25395fec","method":"PUT","url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_105637.jpg"}}}
2024-08-13 10:04:58.523 12919-12950 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE fe32e830-e9da-4672-a7eb-4b1c25395fec {"response":{"body":{"data":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\n  <s:exception>Sabre\\DAV\\Exception\\Conflict</s:exception>\n  <s:message>Files cannot be created in non-existent collections</s:message>\n</d:error>\n","length":243},"headers":{"Date":"Tue, 13 Aug 2024 09:03:50 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Set-Cookie":"oc_sessionPassphrase=CUQadZyh%2BnJ6u8VDG94oABVSCVGeVBKD3rKpB4JuwzDB3IvZrwUXiHUSV6R42nLSzJZnBUN6Zk8ccyCzTypPOvosErIiXaej6R35Lgur4CiuAB7i8aiiv6GVi624QbJe; expires=Tue, 13-Aug-2024 09:23:50 GMT; Max-Age=1200; path=/; HttpOnly; SameSite=Strict","Content-Security-Policy":"default-src 'none';","Content-Length":"243","Keep-Alive":"timeout=5, max=97","Connection":"Keep-Alive","Content-Type":"application/xml; charset=utf-8"},"info":{"id":"fe32e830-e9da-4672-a7eb-4b1c25395fec","method":"PUT","reply":{"cached":false,"duration":1094,"durationString":"duration(0h, 0min, 1s, 94ms)","status":409,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_105637.jpg"}}}
2024-08-13 10:04:58.530 12919-12950 (UploadFil...ion.kt:89) com.owncloud.android.debug           D  I: Upload of /data/user/0/com.owncloud.android.debug/files/owncloud/tmp/admin@TEST%3A14000/CameraUpload/20240813_105637.jpg to /CameraUpload/20240813_105637.jpg - HTTP status code: 207
2024-08-13 10:04:58.533 12919-12950 (UploadFil...er.kt:120) com.owncloud.android.debug           D  E: com.owncloud.android.domain.exceptions.ConflictException (Ask Gemini)
                                                                                                    	at com.owncloud.android.data.RemoteOperationHandlerKt.handleRemoteOperationResult(RemoteOperationHandler.kt:119)
                                                                                                    	at com.owncloud.android.data.RemoteOperationHandlerKt.executeRemoteOperation(RemoteOperationHandler.kt:81)
                                                                                                    	at com.owncloud.android.workers.UploadFileFromFileSystemWorker.uploadPlainFile(UploadFileFromFileSystemWorker.kt:251)
                                                                                                    	at com.owncloud.android.workers.UploadFileFromFileSystemWorker.uploadDocument(UploadFileFromFileSystemWorker.kt:235)
                                                                                                    	at com.owncloud.android.workers.UploadFileFromFileSystemWorker.doWork(UploadFileFromFileSystemWorker.kt:115)
                                                                                                    	at androidx.work.CoroutineWorker$startWork$1.invokeSuspend(CoroutineWorker.kt:68)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2024-08-13 10:04:58.562 12919-12982 WM-WorkerWrapper        com.owncloud.android.debug           I  Worker result FAILURE for Work [ id=423aac86-0983-4e79-8624-e4431c43ae61, tags={ com.owncloud.android.workers.UploadFileFromFileSystemWorker, admin@TEST, 15 } ]
2024-08-13 10:04:58.623 12919-12919 ConnectivityManager     com.owncloud.android.debug           D  StackLog: [android.net.ConnectivityManager.unregisterNetworkCallback(ConnectivityManager.java:4972)] [androidx.work.impl.utils.NetworkApi21.unregisterNetworkCallbackCompat(NetworkApi21.kt:31)] [androidx.work.impl.constraints.trackers.NetworkStateTracker24.stopTracking(NetworkStateTracker.kt:154)] [androidx.work.impl.constraints.trackers.ConstraintTracker.removeListener(ConstraintTracker.kt:73)] [androidx.work.impl.constraints.controllers.ConstraintController.replace(ConstraintController.kt:80)] [androidx.work.impl.constraints.WorkConstraintsTrackerImpl.replace(WorkConstraintsTracker.kt:92)] [androidx.work.impl.background.greedy.GreedyScheduler.removeConstraintTrackingFor(GreedyScheduler.java:243)] [androidx.work.impl.background.greedy.GreedyScheduler.onExecuted(GreedyScheduler.java:229)] [androidx.work.impl.Processor.onExecuted(Processor.java:385)] [androidx.work.impl.Processor$FutureListener.run(Processor.java:484)]

Log OCIS behaviour:

2024-08-13 08:24:25.941 22997-4131  (CameraUpl...er.kt:254) com.owncloud.android.debug           D  I: Last sync PICTURE_UPLOADS: Tue Aug 13 09:08:43 GMT+02:00 2024
2024-08-13 08:24:25.943 22997-4131  (CameraUpl...er.kt:255) com.owncloud.android.debug           D  I: CurrentTimestamp Tue Aug 13 09:24:04 GMT+02:00 2024
2024-08-13 08:24:25.945 22997-4131  (CameraUpl...er.kt:256) com.owncloud.android.debug           D  I: 101 files found in folder: /tree/primary:DCIM/Camera
2024-08-13 08:24:25.947 22997-4131  (CameraUpl...er.kt:257) com.owncloud.android.debug           D  I: 1 files are PICTURE_UPLOADS and were taken after last sync
2024-08-13 08:24:25.995 22997-4131  (UploadFil...ase.kt:62) com.owncloud.android.debug           D  I: Plain upload of /tree/primary:DCIM/Camera/document/primary:DCIM/Camera/20240813_092227.jpg has been enqueued.
2024-08-13 08:24:25.999 22997-4131  (CameraUpl...er.kt:109) com.owncloud.android.debug           D  I: Finishing CameraUploadsWorker with UUID 64a8a320-203a-417c-8065-145643f461ee
2024-08-13 08:24:26.000 22997-22997 ViewRootIm...tActivity] com.owncloud.android.debug           I  performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION
                                                                                                      fl=81810100
                                                                                                      pfl=12020040
                                                                                                      vsysui=500
                                                                                                      bhv=DEFAULT
                                                                                                      fitSides= naviIconColor=0}
2024-08-13 08:24:26.010 22997-22997 ViewRootIm...tActivity] com.owncloud.android.debug           I  updateBlastSurfaceIfNeeded mBlastBufferQueue=0x7832cf3c00 isSameSurfaceControl=true
2024-08-13 08:24:26.011 22997-22997 BLASTBufferQueue        com.owncloud.android.debug           I  update, w= 1080 h= 2400 mName = ViewRootImpl@9bd06a7[UploadListActivity] mNativeObject= 0x7832cf3c00 sc.mNativeObject= 0x77f8d1f060 format= -1 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2898 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301 
2024-08-13 08:24:26.011 22997-22997 ViewRootIm...tActivity] com.owncloud.android.debug           I  Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=9 res=0x0 s={true 0x7832933000} ch=false seqId=0
2024-08-13 08:24:26.030 22997-23070 ConnectivityManager     com.owncloud.android.debug           D  StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4300)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4864)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4831)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4805)] [androidx.work.impl.utils.NetworkApi24.registerDefaultNetworkCallbackCompat(NetworkApi24.kt:28)] [androidx.work.impl.constraints.trackers.NetworkStateTracker24.startTracking(NetworkStateTracker.kt:139)] [androidx.work.impl.constraints.trackers.ConstraintTracker.addListener(ConstraintTracker.kt:57)] [androidx.work.impl.constraints.controllers.ConstraintController.replace(ConstraintController.kt:82)] [androidx.work.impl.constraints.WorkConstraintsTrackerImpl.replace(WorkConstraintsTracker.kt:92)] [androidx.work.impl.background.greedy.GreedyScheduler.schedule(GreedyScheduler.java:170)] [androidx.work.impl.Schedulers.schedule(Schedulers.java:119)] [androidx.work.impl.utils.EnqueueRunnable.scheduleWorkInBackground(EnqueueRunnable.java:135)] [androidx.work.impl.utils.EnqueueRunnable.run(EnqueueRunnable.java:95)] [androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)] [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)] [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)] [java.lang.Thread.run(Thread.java:1012)]
2024-08-13 08:24:26.035 22997-23070 WM-WorkerWrapper        com.owncloud.android.debug           I  Worker result SUCCESS for Work [ id=64a8a320-203a-417c-8065-145643f461ee, tags={ com.owncloud.android.workers.CameraUploadsWorker, CAMERA_UPLOADS_WORKER } ]
2024-08-13 08:24:26.061 22997-22997 ConnectivityManager     com.owncloud.android.debug           D  StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4300)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4864)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4831)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4805)] [com.bumptech.glide.manager.SingletonConnectivityReceiver$FrameworkConnectivityMonitorPostApi24.register(SingletonConnectivityReceiver.java:191)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.maybeRegisterReceiver(SingletonConnectivityReceiver.java:113)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.register(SingletonConnectivityReceiver.java:94)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.register(DefaultConnectivityMonitor.java:25)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.onStart(DefaultConnectivityMonitor.java:34)] [com.bumptech.glide.manager.LifecycleLifecycle.addListener(LifecycleLifecycle.java:54)] [com.bumptech.glide.RequestManager.<init>(RequestManager.java:145)] [com.bumptech.glide.RequestManager.<init>(RequestManager.java:103)] [com.github.twocoffeesoneteam.glidetovectoryou.GlideRequests.<init>(GlideRequests.java:32)] [com.bumptech.glide.GeneratedRequestManagerFactory.build(GeneratedRequestManagerFactory.java:18)] [com.bumptech.glide.manager.LifecycleRequestManagerRetriever.getOrCreate(LifecycleRequestManagerRetriever.java:43)] [com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:158)] [com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:230)] [com.bumptech.glide.Glide.with(Glide.java:629)] [com.owncloud.android.presentation.transfers.TransfersAdapter.onBindViewHolder(TransfersAdapter.kt:133)] [androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7678)] [com.owncloud.android.presentation.transfers.TransfersAdapter.onBindViewHolder(TransfersAdapter.kt:218)] [androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7761)] [androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6582)] [androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6848)] [androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6688)] [androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6684)] [androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2362)] [androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1662)] [androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1622)] [androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:687)] [androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4604)] [androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:4307)] [androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4873)] [android.view.View.layout(View.java:24969)] [android.view.ViewGroup.layout(ViewGroup.java:6784)] [androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873)] [android.view.View.layout(View.java:24969)] [android.view.ViewGroup.layout(ViewGroup.java:6784)] [android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)] [android.widget.FrameLayout.onLayout(FrameLayout.java:270)] [android.view.View.layout(View.java:24969)] [android.view.ViewGroup.layout(ViewGroup.java:6784)] [androidx.coordinatorlayout.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1213)] [androidx.coordinatorlayout.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:899)] [androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:919)] [android.view.View.layout(View.java:24969)] [android.view.ViewGroup.layout(ViewGroup.java:6784)] [an
2024-08-13 08:24:26.091 22997-4131  (UploadFil...er.kt:154) com.owncloud.android.debug           D  D: Upload with id (11) has been found in database.
2024-08-13 08:24:26.093 22997-4131  (UploadFil...er.kt:155) com.owncloud.android.debug           D  D: Upload info: OCTransfer(id=11, localPath=content://com.android.externalstorage.documents/tree/primary%3ADCIM%2FCamera/document/primary%3ADCIM%2FCamera%2F20240813_092227.jpg, remotePath=/CameraUpload/20240813_092227.jpg, accountName=admin@TEST, fileSize=1767313, status=TRANSFER_QUEUED, localBehaviour=MOVE, forceOverwrite=false, transferEndTimestamp=null, lastResult=null, createdBy=ENQUEUED_AS_CAMERA_UPLOAD_PICTURE, transferId=null, spaceId=null)
2024-08-13 08:24:26.247 22997-4131  (SingleSes...r.java:98) com.owncloud.android.debug           D  D: getClientFor starting 
2024-08-13 08:24:26.250 22997-4131  (SingleSes....java:125) com.owncloud.android.debug           D  V: reusing client for account admin@TEST
2024-08-13 08:24:26.252 22997-4131  (SingleSes....java:180) com.owncloud.android.debug           D  D: getClientFor finishing 
2024-08-13 08:24:26.256 22997-4131  (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 7b7dd64d-f61c-42c4-a18f-4cce24cb2f43
2024-08-13 08:24:26.260 22997-4131  TrafficStats            com.owncloud.android.debug           D  tagSocket(150) with statsTag=0xffffffff, statsUid=-1
2024-08-13 08:24:26.731 22997-4131  (CheckPath...ion.kt:71) com.owncloud.android.debug           D  D: Existence check for http://TEST/remote.php/dav/files/admin/CameraUpload/ finished with HTTP status 207
2024-08-13 08:24:26.734 22997-4131  (UploadFil...er.kt:239) com.owncloud.android.debug           D  D: Checking name collision in server
2024-08-13 08:24:26.739 22997-4131  (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 785a4026-a68d-47ca-89f0-ab49fb9cd966
2024-08-13 08:24:26.889 22997-4131  (CheckPath...ion.kt:71) com.owncloud.android.debug           D  D: Existence check for http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_092227.jpg finished with HTTP status 404(FAIL)
2024-08-13 08:24:26.893 22997-4131  (UploadFil...er.kt:264) com.owncloud.android.debug           D  D: Chunking is allowed: true, and file size is greater than the minimum chunk size: false
2024-08-13 08:24:26.896 22997-4131  (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 6d9d47a7-b6a2-4f51-ac2f-58e76a4d8921
2024-08-13 08:24:27.049 22997-4131  (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 4922b262-1a59-4981-9288-f1e0087e9679
2024-08-13 08:24:27.864 22997-4131  (FileRequestBody.kt:70) com.owncloud.android.debug           D  D: File with name 20240813_092227.jpg and size 1767313 written in request body
2024-08-13 08:24:28.322 22997-4131  (UploadFil...on.kt:130) com.owncloud.android.debug           D  D: File uploaded successfully. New etag for file 20240813_092227.jpg is bdb3ee74b571dd33698947b670f80b94
2024-08-13 08:24:28.324 22997-4131  (UploadFil...ion.kt:89) com.owncloud.android.debug           D  I: Upload of /data/user/0/com.owncloud.android.debug/files/owncloud/tmp/admin@TEST%3A14000/CameraUpload/20240813_092227.jpg to /CameraUpload/20240813_092227.jpg - HTTP status code: 207
2024-08-13 08:24:28.329 22997-23100 WM-WorkerWrapper        com.owncloud.android.debug           I  Worker result SUCCESS for Work [ id=ed7fe16e-a0a9-489b-8be5-5ae68bc2bee3, tags={ com.owncloud.android.workers.UploadFileFromContentUriWorker, admin@TEST, 11 } ]
2024-08-13 08:24:28.338 22997-22997 ConnectivityManager     com.owncloud.android.debug           D  StackLog: [android.net.ConnectivityManager.unregisterNetworkCallback(ConnectivityManager.java:4972)] [androidx.work.impl.utils.NetworkApi21.unregisterNetworkCallbackCompat(NetworkApi21.kt:31)] [androidx.work.impl.constraints.trackers.NetworkStateTracker24.stopTracking(NetworkStateTracker.kt:154)] [androidx.work.impl.constraints.trackers.ConstraintTracker.removeListener(ConstraintTracker.kt:73)] [androidx.work.impl.constraints.controllers.ConstraintController.replace(ConstraintController.kt:80)] [androidx.work.impl.constraints.WorkConstraintsTrackerImpl.replace(WorkConstraintsTracker.kt:92)] [androidx.work.impl.background.greedy.GreedyScheduler.removeConstraintTrackingFor(GreedyScheduler.java:243)] [androidx.work.impl.background.greedy.GreedyScheduler.onExecuted(GreedyScheduler.java:229)] [androidx.work.impl.Processor.onExecuted(Processor.java:385)] [androidx.work.impl.Processor$FutureListener.run(Processor.java:484)]

Log OCIS behaviour: with http request

2024-08-13 10:17:43.454 15557-15586 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE cc3ae047-f1f3-4ac8-9af1-f471588101b6 {"response":{"body":{"data":"","length":0},"headers":{"Date":"Tue, 13 Aug 2024 09:16:35 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Set-Cookie":"ocbth4h1i23s=94953rokf9iq5g19kkbdq3tomt; path=/; HttpOnly; SameSite=Strict","Content-Security-Policy":"default-src 'none';","OC-FileId":"00000281ocbth4h1i23s","Content-Length":"0","Keep-Alive":"timeout=5, max=99","Connection":"Keep-Alive","Content-Type":"text/html; charset=UTF-8"},"info":{"id":"cc3ae047-f1f3-4ac8-9af1-f471588101b6","method":"MKCOL","reply":{"cached":false,"duration":366,"durationString":"duration(0h, 0min, 0s, 366ms)","status":201,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/admin/CameraUpload/"}}}
2024-08-13 10:17:43.461 15557-15586 (CreateRem...ion.kt:91) com.owncloud.android.debug           D  D: Create directory /CameraUpload/ - HTTP status code: 201
2024-08-13 10:17:43.465 15557-15586 (UploadFil...er.kt:239) com.owncloud.android.debug           D  D: Checking name collision in server
2024-08-13 10:17:43.473 15557-15586 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 02365095-f061-46a9-acbd-aaac530126c6
2024-08-13 10:17:43.560 15557-15567 d.android.debug         com.owncloud.android.debug           I  Background concurrent copying GC freed 166146(10MB) AllocSpace objects, 46(1116KB) LOS objects, 49% free, 18MB/36MB, paused 577us,67us total 129.952ms
2024-08-13 10:17:43.569 15557-15568 InputTransport          com.owncloud.android.debug           D  Input channel destroyed: 'ClientS', fd=130
2024-08-13 10:17:43.626 15557-15568 InputTransport          com.owncloud.android.debug           D  Input channel destroyed: 'ClientS', fd=160
2024-08-13 10:17:43.626 15557-15589 OpenGLRenderer          com.owncloud.android.debug           D  setSurface called with nullptr
2024-08-13 10:17:43.628 15557-15589 OpenGLRenderer          com.owncloud.android.debug           D  setSurface called with nullptr
2024-08-13 10:17:43.848 15557-15586 (LogInterceptor.kt:67)  com.owncloud.android.debug           D  D: REQUEST 02365095-f061-46a9-acbd-aaac530126c6 {"request":{"body":"<?xml version='1.0' encoding='UTF-8' ?><propfind xmlns=\"DAV:\" xmlns:CAL=\"urn:ietf:params:xml:ns:caldav\" xmlns:CARD=\"urn:ietf:params:xml:ns:carddav\" xmlns:SABRE=\"http://sabredav.org/ns\" xmlns:OC=\"http://owncloud.org/ns\"><prop><displayname /><getcontenttype /><resourcetype /><getcontentlength /><getlastmodified /><creationdate /><getetag /><OC:permissions /><OC:id /><OC:size /><OC:privatelink /><OC:share-types /></prop></propfind>","headers":{"Depth":"0","Authorization":"Basic [redacted]","X-Request-ID":"02365095-f061-46a9-acbd-aaac530126c6","User-Agent":"Mozilla/5.0 (Android) ownCloud-android/4.3.1","Accept-Encoding":"identity","Accept-Language":"en","Content-Type":"application/xml; charset=utf-8","Content-Length":"432","Host":"95.216.140.254:14000","Connection":"Keep-Alive","Cookie":"oc_sessionPassphrase=l2CRN74IC6oaTqr%2BQXf3euNTBDlT5UH6Ym4%2Bi00j%2BQJMp97Id8uY5accpVm8Tirp8BCpWLi3TYc8cuXRdgOeX%2FKII%2BhMFsGlc%2FQG5gAfLJZFP9HKmYpG1IYtaLWJAnXp; ocbth4h1i23s=94953rokf9iq5g19kkbdq3tomt; cookie_test=test"},"info":{"id":"02365095-f061-46a9-acbd-aaac530126c6","method":"PROPFIND","url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_110943.jpg"}}}
2024-08-13 10:17:43.858 15557-15586 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE 02365095-f061-46a9-acbd-aaac530126c6 {"response":{"body":{"data":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\n  <s:exception>Sabre\\DAV\\Exception\\NotFound</s:exception>\n  <s:message>File with name CameraUpload/20240813_110943.jpg could not be located</s:message>\n</d:error>\n","length":260},"headers":{"Date":"Tue, 13 Aug 2024 09:16:36 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Set-Cookie":"oc_sessionPassphrase=l2CRN74IC6oaTqr%2BQXf3euNTBDlT5UH6Ym4%2Bi00j%2BQJMp97Id8uY5accpVm8Tirp8BCpWLi3TYc8cuXRdgOeX%2FKII%2BhMFsGlc%2FQG5gAfLJZFP9HKmYpG1IYtaLWJAnXp; expires=Tue, 13-Aug-2024 09:36:36 GMT; Max-Age=1200; path=/; HttpOnly; SameSite=Strict","Content-Security-Policy":"default-src 'none';","Content-Length":"260","Keep-Alive":"timeout=5, max=98","Connection":"Keep-Alive","Content-Type":"application/xml; charset=utf-8"},"info":{"id":"02365095-f061-46a9-acbd-aaac530126c6","method":"PROPFIND","reply":{"cached":false,"duration":363,"durationString":"duration(0h, 0min, 0s, 363ms)","status":404,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_110943.jpg"}}}
2024-08-13 10:17:43.865 15557-15586 (CheckPath...ion.kt:71) com.owncloud.android.debug           D  D: Existence check for http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_110943.jpg finished with HTTP status 404(FAIL)
2024-08-13 10:17:43.882 15557-15586 (UploadFil...er.kt:264) com.owncloud.android.debug           D  D: Chunking is allowed: true, and file size is greater than the minimum chunk size: false
2024-08-13 10:17:43.888 15557-15586 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 0470c437-5225-4ea2-aa79-e1526d00da9e
2024-08-13 10:17:44.218 15557-15586 (LogInterceptor.kt:67)  com.owncloud.android.debug           D  D: REQUEST 0470c437-5225-4ea2-aa79-e1526d00da9e {"request":{"body":"<?xml version='1.0' encoding='UTF-8' ?><propfind xmlns=\"DAV:\" xmlns:CAL=\"urn:ietf:params:xml:ns:caldav\" xmlns:CARD=\"urn:ietf:params:xml:ns:carddav\" xmlns:SABRE=\"http://sabredav.org/ns\" xmlns:OC=\"http://owncloud.org/ns\"><prop><displayname /><getcontenttype /><resourcetype /><getcontentlength /><getlastmodified /><creationdate /><getetag /><OC:permissions /><OC:id /><OC:size /><OC:privatelink /><OC:share-types /></prop></propfind>","headers":{"Depth":"1","Authorization":"Basic [redacted]","X-Request-ID":"0470c437-5225-4ea2-aa79-e1526d00da9e","User-Agent":"Mozilla/5.0 (Android) ownCloud-android/4.3.1","Accept-Encoding":"identity","Accept-Language":"en","Content-Type":"application/xml; charset=utf-8","Content-Length":"432","Host":"95.216.140.254:14000","Connection":"Keep-Alive","Cookie":"oc_sessionPassphrase=l2CRN74IC6oaTqr%2BQXf3euNTBDlT5UH6Ym4%2Bi00j%2BQJMp97Id8uY5accpVm8Tirp8BCpWLi3TYc8cuXRdgOeX%2FKII%2BhMFsGlc%2FQG5gAfLJZFP9HKmYpG1IYtaLWJAnXp; ocbth4h1i23s=94953rokf9iq5g19kkbdq3tomt; cookie_test=test"},"info":{"id":"0470c437-5225-4ea2-aa79-e1526d00da9e","method":"PROPFIND","url":"http://TEST/remote.php/dav/files/admin"}}}
2024-08-13 10:17:44.228 15557-15586 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE 0470c437-5225-4ea2-aa79-e1526d00da9e {"response":{"body":{"data":"<?xml version=\"1.0\"?>\n<d:multistatus xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\" xmlns:oc=\"http://owncloud.org/ns\"><d:response><d:href>/remote.php/dav/files/admin/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Tue, 13 Aug 2024 09:16:35 GMT</d:getlastmodified><d:getetag>&quot;66bb2473eb144&quot;</d:getetag><oc:permissions>RDNVCK</oc:permissions><oc:id>00000006ocbth4h1i23s</oc:id><oc:size>18337786</oc:size><oc:privatelink>http://TEST/f/6</oc:privatelink><oc:share-types/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:creationdate/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/admin/CameraUpload/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Tue, 13 Aug 2024 09:16:35 GMT</d:getlastmodified><d:getetag>&quot;66bb2473e9956&quot;</d:getetag><oc:permissions>RDNVCK</oc:permissions><oc:id>00000281ocbth4h1i23s</oc:id><oc:size>0</oc:size><oc:privatelink>http://TEST/f/281</oc:privatelink><oc:share-types/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:creationdate/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/admin/New%20folder/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Thu, 09 May 2024 20:23:07 GMT</d:getlastmodified><d:getetag>&quot;663d33b18f4c5&quot;</d:getetag><oc:permissions>RDNVCK</oc:permissions><oc:id>00000193ocbth4h1i23s</oc:id><oc:size>11679856</oc:size><oc:privatelink>http://TEST/f/193</oc:privatelink><oc:share-types/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:creationdate/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/files/admin/User/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Mon, 06 May 2024 09:59:52 GMT</d:getlastmodified><d:getetag>&quot;6638aa18964b1&quot;</d:getetag><oc:permissions>RDNVCK</oc:permissions><oc:id>00000202ocbth4h1i23s</oc:id><oc:size>6657930</oc:size><oc:privatelink>http://TEST/f/202</oc:privatelink><oc:share-types/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><d:getcontenttype/><d:getcontentlength/><d:creationdate/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>\n","length":2773},"headers":{"Date":"Tue, 13 Aug 2024 09:16:36 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Set-Cookie":"oc_sessionPassphrase=l2CRN74IC6oaTqr%2BQXf3euNTBDlT5UH6Ym4%2Bi00j%2BQJMp97Id8uY5accpVm8Tirp8BCpWLi3TYc8cuXRdgOeX%2FKII%2BhMFsGlc%2FQG5gAfLJZFP9HKmYpG1IYtaLWJAnXp; expires=Tue, 13-Aug-2024 09:36:36 GMT; Max-Age=1200; path=/; HttpOnly; SameSite=Strict","Content-Security-Policy":"default-src 'none';","Vary":"Brief,Prefer","DAV":"1, 3, extended-mkcol, 2","Content-Length":"2773","Keep-Alive":"timeout=5, max=97","Connection":"Keep-Alive","Content-Type":"application/xml; charset=utf-8"},"info":{"id":"0470c437-5225-4ea2-aa79-e1526d00da9e","method":"PROPFIND","reply":{"cached":false,"duration":320,"durationString":"duration(0h, 0min, 0s, 320ms)","status":207,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/admin"}}}
2024-08-13 10:17:44.250 15557-15586 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id f021bd52-a133-4eb1-a18c-de5958793628
2024-08-13 10:17:44.839 15557-15557 ViewRootIm...yActivity] com.owncloud.android.debug           I  ViewPostIme pointer 0
2024-08-13 10:17:44.858 15557-15586 (FileRequestBody.kt:70) com.owncloud.android.debug           D  D: File with name 20240813_110943.jpg and size 1644082 written in request body
2024-08-13 10:17:44.911 15557-15557 ViewRootIm...yActivity] com.owncloud.android.debug           I  ViewPostIme pointer 1
2024-08-13 10:17:44.947 15557-15557 (FileDispl...ty.kt:805) com.owncloud.android.debug           D  V: onPause() start
2024-08-13 10:17:44.950 15557-15557 (MainApp.kt:212)        com.owncloud.android.debug           D  V: FileDisplayActivity onPause() ending
2024-08-13 10:17:44.952 15557-15557 (FileDispl...ty.kt:813) com.owncloud.android.debug           D  V: onPause() end
2024-08-13 10:17:44.992 15557-15557 (MainApp.kt:117)        com.owncloud.android.debug           D  D: UploadListActivity onCreate(Bundle) starting
2024-08-13 10:17:45.004 15557-15557 DecorView               com.owncloud.android.debug           I  [INFO] isPopOver=false config=true
2024-08-13 10:17:45.004 15557-15557 DecorView               com.owncloud.android.debug           I  updateCaptionType: isFloating=false isApplication=true hasWindowDecorCaption=false this=DecorView@8ee5e14[]
2024-08-13 10:17:45.004 15557-15557 DecorView               com.owncloud.android.debug           D  setCaptionType = 0, this = DecorView@8ee5e14[]
2024-08-13 10:17:45.006 15557-15557 DecorView               com.owncloud.android.debug           I  getCurrentDensityDpi: from real metrics. densityDpi=420 msg=resources_loaded
2024-08-13 10:17:45.006 15557-15557 DecorView               com.owncloud.android.debug           I  setWindowBackground: isPopOver=false color=ffffffff d=android.graphics.drawable.ColorDrawable@2e0b4b2
2024-08-13 10:17:45.009 15557-15557 d.android.debug         com.owncloud.android.debug           W  Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2024-08-13 10:17:45.009 15557-15557 StrictMode              com.owncloud.android.debug           D  StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (Ask Gemini)
                                                                                                    	at android.os.StrictMode.lambda$static$1(StrictMode.java:419)
                                                                                                    	at android.os.StrictMode$$ExternalSyntheticLambda2.accept(Unknown Source:2)
                                                                                                    	at java.lang.Class.getDeclaredMethodInternal(Native Method)
                                                                                                    	at java.lang.Class.getPublicMethodRecursive(Class.java:2110)
                                                                                                    	at java.lang.Class.getMethod(Class.java:2097)
                                                                                                    	at java.lang.Class.getMethod(Class.java:1724)
                                                                                                    	at androidx.appcompat.widget.ViewUtils.makeOptionalFitsSystemWindows(ViewUtils.java:84)
                                                                                                    	at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:986)
                                                                                                    	at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:819)
                                                                                                    	at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:707)
                                                                                                    	at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:195)
                                                                                                    	at com.owncloud.android.ui.activity.UploadListActivity.onCreate(UploadListActivity.java:67)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8591)
                                                                                                    	at android.app.Activity.performCreate(Activity.java:8570)
                                                                                                    	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
                                                                                                    	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150)
                                                                                                    	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)
                                                                                                    	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:226)
                                                                                                    	at android.os.Looper.loop(Looper.java:313)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8762)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
2024-08-13 10:17:45.094 15557-15557 ActionBarDrawerToggle   com.owncloud.android.debug           W  DrawerToggle may not show up because NavigationIcon is not visible. You may need to call actionbar.setDisplayHomeAsUpEnabled(true);
2024-08-13 10:17:45.100 15557-16224 (SingleSes...r.java:98) com.owncloud.android.debug           D  D: getClientFor starting 
2024-08-13 10:17:45.102 15557-16224 (SingleSes....java:125) com.owncloud.android.debug           D  V: reusing client for account admin@95.216.140.254:9200
2024-08-13 10:17:45.102 15557-15557 (MainApp.kt:201)        com.owncloud.android.debug           D  V: UploadListActivity onStart() starting
2024-08-13 10:17:45.104 15557-16224 (SingleSes....java:180) com.owncloud.android.debug           D  D: getClientFor finishing 
2024-08-13 10:17:45.108 15557-16224 (OwnCloudC....java:129) com.owncloud.android.debug           D  D: Executing in request with id 52009446-b0a3-46b9-827e-737a90f52ddd
2024-08-13 10:17:45.111 15557-16224 TrafficStats            com.owncloud.android.debug           D  tagSocket(135) with statsTag=0xffffffff, statsUid=-1
2024-08-13 10:17:45.124 15557-15557 (BaseActivity.java:177) com.owncloud.android.debug           D  D: Account set: admin@95.216.140.254:9200
2024-08-13 10:17:45.127 15557-15557 (DrawerActivity.kt:299) com.owncloud.android.debug           D  D: Update Quota
2024-08-13 10:17:45.128 15557-15611 (AvatarManager.kt:87)   com.owncloud.android.debug           D  I: Avatar with imageKey a_admin@95.216.140.254:9200 is not available in cache. Generating one...
2024-08-13 10:17:45.133 15557-15557 (DrawerActivity.kt:299) com.owncloud.android.debug           D  D: Update Quota
2024-08-13 10:17:45.133 15557-15611 (ViewModelExt.kt:69)    com.owncloud.android.debug           D  D: Use case executed: GetStoredQuotaUseCase with result: Success(data=UserQuota(accountName=admin@95.216.140.254:9200, available=-3, used=688553874))
2024-08-13 10:17:45.137 15557-15611 (ViewModelExt.kt:69)    com.owncloud.android.debug           D  D: Use case executed: GetStoredQuotaUseCase with result: Success(data=UserQuota(accountName=admin@95.216.140.254:9200, available=-3, used=688553874))
2024-08-13 10:17:45.138 15557-15557 (MainApp.kt:208)        com.owncloud.android.debug           D  V: UploadListActivity onResume() starting
2024-08-13 10:17:45.140 15557-15557 (DrawerActivity.kt:397) com.owncloud.android.debug           D  W: setDrawerMenuItemChecked has been called with invalid menu-item-ID
2024-08-13 10:17:45.141 15557-15557 MSHandlerLifeCycle      com.owncloud.android.debug           I  check: return. pkg=com.owncloud.android.debug parent=null callers=com.android.internal.policy.DecorView.setVisibility:4412 android.app.ActivityThread.handleResumeActivity:5476 android.app.servertransaction.ResumeActivityItem.execute:54 android.app.servertransaction.ActivityTransactionItem.execute:45 android.app.servertransaction.TransactionExecutor.executeLifecycleState:176 
2024-08-13 10:17:45.141 15557-15557 MSHandlerLifeCycle      com.owncloud.android.debug           I  removeMultiSplitHandler: no exist. decor=DecorView@8ee5e14[]
2024-08-13 10:17:45.144 15557-15589 NativeCust...ncyManager com.owncloud.android.debug           D  [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
2024-08-13 10:17:45.145 15557-15557 DecorView               com.owncloud.android.debug           I  notifyKeepScreenOnChanged: keepScreenOn=false
2024-08-13 10:17:45.150 15557-15557 InsetsController        com.owncloud.android.debug           D  onStateChanged: InsetsState: {mDisplayFrame=Rect(0, 0 - 1080, 2400), mDisplayCutout=DisplayCutout{insets=Rect(0, 126 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(414, 0 - 666, 126), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2400 physicalDisplayWidth=1080 physicalDisplayHeight=2400 density={2.625} cutoutSpec={M 0,0 L -48, 0 L -44.3940446283, 36.0595537175 C -43.5582133885, 44.4178661152 -39.6, 48.0 -31.2, 48.0 L 31.2, 48.0 C 39.6, 48.0 43.5582133885, 44.4178661152 44.3940446283, 36.0595537175 L 48, 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=84, center=Point(84, 84)}, RoundedCorner{position=TopRight, radius=84, center=Point(996, 84)}, RoundedCorner{position=BottomRight, radius=84, center=Point(996, 2316)}, RoundedCorner{position=BottomLeft, radius=84, center=Point(84, 2316)}]}  mRoundedCornerFrame=Rect(0, 0 - 1080, 2400), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(964, 0 - 1080, 126) rotation=0}, mSources= { InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][1080,126], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_NAVIGATION_BAR, mFrame=[0,2274][1080,2400], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_GESTURES, mFrame=[0,0][0,2400], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_GESTURES, mFrame=[1080,0][1080,2400], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_MANDATORY_GESTURES, mFrame=[0,0][1080,158], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_MANDATORY_GESTURES, mFrame=[0,2274][1080,2400], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_LEFT_DISPLAY_CUTOUT, mFrame=[0,0][-100000,2400], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_DISPLAY_CUTOUT, mFrame=[0,0][1080,126], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_RIGHT_DISPLAY_CUTOUT, mFrame=[100000,0][1080,2400], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_DISPLAY_CUTOUT, mFrame=[0,100000][1080,2400], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_TOP_TAPPABLE_ELEMENT, mFrame=[0,0][1080,126], mVisible=true, mInsetsRoundedCornerFrame=false}, InsetsSource: {mType=ITYPE_BOTTOM_TAPPABLE_ELEMENT, mFrame=[0,2274][1080,2400], mVisible=true, mInsetsRoundedCornerFrame=false} } host=com.owncloud.android.debug/com.owncloud.android.ui.activity.UploadListActivity from=android.view.ViewRootImpl.setView:1732
2024-08-13 10:17:45.153 15557-15557 ViewRootIm...tActivity] com.owncloud.android.debug           I  setView = com.android.internal.policy.DecorView@8ee5e14 TM=true
2024-08-13 10:17:45.154 15557-15557 MSHandlerLifeCycle      com.owncloud.android.debug           I  removeMultiSplitHandler: no exist. decor=DecorView@8ee5e14[UploadListActivity]
2024-08-13 10:17:45.207 15557-15557 ViewRootIm...tActivity] com.owncloud.android.debug           I  performTraversals params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} ty=BASE_APPLICATION
                                                                                                      fl=81810100
                                                                                                      pfl=12020040
                                                                                                      vsysui=500
                                                                                                      bhv=DEFAULT
                                                                                                      fitSides= naviIconColor=0}
2024-08-13 10:17:45.208 15557-15557 ViewRootIm...tActivity] com.owncloud.android.debug           I  performTraversals mFirst=true windowShouldResize=true viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} ty=BASE_APPLICATION
                                                                                                      fl=81810100
                                                                                                      pfl=12020040
                                                                                                      vsysui=500
                                                                                                      bhv=DEFAULT
                                                                                                      fitSides= naviIconColor=0}
2024-08-13 10:17:45.209 15557-15586 (LogInterceptor.kt:67)  com.owncloud.android.debug           D  D: REQUEST f021bd52-a133-4eb1-a18c-de5958793628 {"request":{"body":"One shot body --   Omitted","headers":{"Authorization":"Basic [redacted]","X-OC-Mtime":"1723540186","OC-Total-Length":"1644082","X-Request-ID":"f021bd52-a133-4eb1-a18c-de5958793628","User-Agent":"Mozilla/5.0 (Android) ownCloud-android/4.3.1","Accept-Encoding":"identity","Accept-Language":"en","Content-Length":"1644082","Host":"95.216.140.254:14000","Connection":"Keep-Alive","Cookie":"oc_sessionPassphrase=l2CRN74IC6oaTqr%2BQXf3euNTBDlT5UH6Ym4%2Bi00j%2BQJMp97Id8uY5accpVm8Tirp8BCpWLi3TYc8cuXRdgOeX%2FKII%2BhMFsGlc%2FQG5gAfLJZFP9HKmYpG1IYtaLWJAnXp; ocbth4h1i23s=94953rokf9iq5g19kkbdq3tomt; cookie_test=test"},"info":{"id":"f021bd52-a133-4eb1-a18c-de5958793628","method":"PUT","url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_110943.jpg"}}}
2024-08-13 10:17:45.215 15557-16224 (RemoteOpe....java:120) com.owncloud.android.debug           D  E: --------------------------------- (Ask Gemini)
                                                                                                    Create RemoteOperationResult from exception.
                                                                                                     Message: ConnectException: Failed to connect to /95.216.140.254:9200
                                                                                                     Stacktrace: java.net.ConnectException: Failed to connect to /95.216.140.254:9200
                                                                                                    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
                                                                                                    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
                                                                                                    	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
                                                                                                    	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
                                                                                                    	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
                                                                                                    	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
                                                                                                    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
                                                                                                    	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
                                                                                                    	at com.owncloud.android.lib.common.http.methods.nonwebdav.HttpMethod.onExecute(HttpMethod.kt:44)
                                                                                                    	at com.owncloud.android.lib.common.http.methods.nonwebdav.GetMethod.onExecute(GetMethod.kt:41)
                                                                                                    	at com.owncloud.android.lib.common.http.methods.HttpBaseMethod.execute(HttpBaseMethod.kt:75)
                                                                                                    	at com.owncloud.android.lib.common.OwnCloudClient.saveExecuteHttpMethod(OwnCloudClient.java:138)
                                                                                                    	at com.owncloud.android.lib.common.OwnCloudClient.executeHttpMethod(OwnCloudClient.java:107)
                                                                                                    	at com.owncloud.android.lib.resources.status.GetRemoteCapabilitiesOperation.run(GetRemoteCapabilitiesOperation.kt:66)
                                                                                                    	at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation(RemoteOperation.java:264)
                                                                                                    	at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:229)
                                                                                                    	at com.owncloud.android.lib.resources.status.services.implementation.OCCapabilityService.getCapabilities(OCCapabilityService.kt:35)
                                                                                                    	at com.owncloud.android.data.capabilities.datasources.implementation.OCRemoteCapabilitiesDataSource$getCapabilities$1.invoke(OCRemoteCapabilitiesDataSource.kt:37)
                                                                                                    	at com.owncloud.android.data.capabilities.datasources.implementation.OCRemoteCapabilitiesDataSource$getCapabilities$1.invoke(OCRemoteCapabilitiesDataSource.kt:36)
                                                                                                    	at com.owncloud.android.data.RemoteOperationHandlerKt.executeRemoteOperation(RemoteOperationHandler.kt:80)
                                                                                                    	at com.owncloud.android.data.capabilities.datasources.implementation.OCRemoteCapabilitiesDataSource.getCapabilities(OCRemoteCapabilitiesDataSource.kt:36)
                                                                                                    	at com.owncloud.android.data.capabilities.repository.OCCapabilityRepository.refreshCapabilitiesForAccount(OCCapabilityRepository.kt:49)
                                                                                                    	at com.owncloud.android.domain.capabilities.usecases.RefreshCapabilitiesFromServerAsyncUseCase.run(RefreshCapabilitiesFromServerAsyncUseCase.kt:30)
                                                                                                    	at com.owncloud.android.domain.capabilities.usecases.RefreshCapabilitiesFromServerAsyncUseCase.run(RefreshCapabilitiesFromServerAsyncUseCase.kt:25)
                                                                                                    	at com.owncloud.android.domain.BaseUseCaseWithResult.invoke(BaseUseCaseWithResult.kt:30)
                                                                                                    	at com.owncloud.android.extensions.ViewModelExt$runUseCaseWithResultAndUseCachedData$1.invokeSuspend(ViewModelExt.kt:176)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                                                                                                    	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
2024-08-13 10:17:45.215 15557-16224 (RemoteOpe....java:120) com.owncloud.android.debug           D  	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) (Ask Gemini)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
                                                                                                    Caused by: java.net.ConnectException: failed to connect to /95.216.140.254 (port 9200) from /192.168.1.128 (port 55994) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)
                                                                                                    	at libcore.io.IoBridge.isConnected(IoBridge.java:347)
                                                                                                    	at libcore.io.IoBridge.connectErrno(IoBridge.java:237)
                                                                                                    	at libcore.io.IoBridge.connect(IoBridge.java:179)
                                                                                                    	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
                                                                                                    	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
                                                                                                    	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
                                                                                                    	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
                                                                                                    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
                                                                                                    	at java.net.Socket.connect(Socket.java:646)
                                                                                                    	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
                                                                                                    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
                                                                                                    	... 41 more
                                                                                                    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
                                                                                                    	at libcore.io.IoBridge.isConnected(IoBridge.java:334)
                                                                                                    	... 51 more
                                                                                                    
                                                                                                    ---------------------------------
2024-08-13 10:17:45.218 15557-15586 (LogInterceptor.kt:133) com.owncloud.android.debug           D  D: RESPONSE f021bd52-a133-4eb1-a18c-de5958793628 {"response":{"body":{"data":"","length":0},"headers":{"Date":"Tue, 13 Aug 2024 09:16:37 GMT","Server":"Apache","X-Content-Type-Options":"nosniff","X-XSS-Protection":"0","X-Robots-Tag":"none","X-Frame-Options":"SAMEORIGIN","X-Download-Options":"noopen","X-Permitted-Cross-Domain-Policies":"none","Expires":"Thu, 19 Nov 1981 08:52:00 GMT","Cache-Control":"no-store, no-cache, must-revalidate","Pragma":"no-cache","Set-Cookie":"oc_sessionPassphrase=l2CRN74IC6oaTqr%2BQXf3euNTBDlT5UH6Ym4%2Bi00j%2BQJMp97Id8uY5accpVm8Tirp8BCpWLi3TYc8cuXRdgOeX%2FKII%2BhMFsGlc%2FQG5gAfLJZFP9HKmYpG1IYtaLWJAnXp; expires=Tue, 13-Aug-2024 09:36:37 GMT; Max-Age=1200; path=/; HttpOnly; SameSite=Strict","Content-Security-Policy":"default-src 'none';","X-OC-MTime":"accepted","OC-FileId":"00000282ocbth4h1i23s","Content-Length":"0","ETag":"\"9dd1f225b810986b32538934bbd91dc3\"","OC-ETag":"\"9dd1f225b810986b32538934bbd91dc3\"","Keep-Alive":"timeout=5, max=96","Connection":"Keep-Alive","Content-Type":"text/html; charset=UTF-8"},"info":{"id":"f021bd52-a133-4eb1-a18c-de5958793628","method":"PUT","reply":{"cached":false,"duration":950,"durationString":"duration(0h, 0min, 0s, 950ms)","status":201,"version":"http/1.1"},"url":"http://TEST/remote.php/dav/files/admin/CameraUpload/20240813_110943.jpg"}}}
2024-08-13 10:17:45.219 15557-16224 (GetRemote...ion.kt:90) com.owncloud.android.debug           D  E: Exception while getting capabilities (Ask Gemini)
                                                                                                    java.net.ConnectException: Failed to connect to /95.216.140.254:9200
                                                                                                    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
                                                                                                    	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
                                                                                                    	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
                                                                                                    	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
                                                                                                    	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
                                                                                                    	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
                                                                                                    	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
                                                                                                    	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                                                                    	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
                                                                                                    	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
                                                                                                    	at com.owncloud.android.lib.common.http.methods.nonwebdav.HttpMethod.onExecute(HttpMethod.kt:44)
                                                                                                    	at com.owncloud.android.lib.common.http.methods.nonwebdav.GetMethod.onExecute(GetMethod.kt:41)
                                                                                                    	at com.owncloud.android.lib.common.http.methods.HttpBaseMethod.execute(HttpBaseMethod.kt:75)
                                                                                                    	at com.owncloud.android.lib.common.OwnCloudClient.saveExecuteHttpMethod(OwnCloudClient.java:138)
                                                                                                    	at com.owncloud.android.lib.common.OwnCloudClient.executeHttpMethod(OwnCloudClient.java:107)
                                                                                                    	at com.owncloud.android.lib.resources.status.GetRemoteCapabilitiesOperation.run(GetRemoteCapabilitiesOperation.kt:66)
                                                                                                    	at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation(RemoteOperation.java:264)
                                                                                                    	at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:229)
                                                                                                    	at com.owncloud.android.lib.resources.status.services.implementation.OCCapabilityService.getCapabilities(OCCapabilityService.kt:35)
                                                                                                    	at com.owncloud.android.data.capabilities.datasources.implementation.OCRemoteCapabilitiesDataSource$getCapabilities$1.invoke(OCRemoteCapabilitiesDataSource.kt:37)
                                                                                                    	at com.owncloud.android.data.capabilities.datasources.implementation.OCRemoteCapabilitiesDataSource$getCapabilities$1.invoke(OCRemoteCapabilitiesDataSource.kt:36)
                                                                                                    	at com.owncloud.android.data.RemoteOperationHandlerKt.executeRemoteOperation(RemoteOperationHandler.kt:80)
                                                                                                    	at com.owncloud.android.data.capabilities.datasources.implementation.OCRemoteCapabilitiesDataSource.getCapabilities(OCRemoteCapabilitiesDataSource.kt:36)
                                                                                                    	at com.owncloud.android.data.capabilities.repository.OCCapabilityRepository.refreshCapabilitiesForAccount(OCCapabilityRepository.kt:49)
                                                                                                    	at com.owncloud.android.domain.capabilities.usecases.RefreshCapabilitiesFromServerAsyncUseCase.run(RefreshCapabilitiesFromServerAsyncUseCase.kt:30)
                                                                                                    	at com.owncloud.android.domain.capabilities.usecases.RefreshCapabilitiesFromServerAsyncUseCase.run(RefreshCapabilitiesFromServerAsyncUseCase.kt:25)
                                                                                                    	at com.owncloud.android.domain.BaseUseCaseWithResult.invoke(BaseUseCaseWithResult.kt:30)
                                                                                                    	at com.owncloud.android.extensions.ViewModelExt$runUseCaseWithResultAndUseCachedData$1.invokeSuspend(ViewModelExt.kt:176)
                                                                                                    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                                    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                                                                                                    	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
                                                                                                    	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
2024-08-13 10:17:45.219 15557-16224 (GetRemote...ion.kt:90) com.owncloud.android.debug           D  	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) (Ask Gemini)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
                                                                                                    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
                                                                                                    Caused by: java.net.ConnectException: failed to connect to /95.216.140.254 (port 9200) from /192.168.1.128 (port 55994) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)
                                                                                                    	at libcore.io.IoBridge.isConnected(IoBridge.java:347)
                                                                                                    	at libcore.io.IoBridge.connectErrno(IoBridge.java:237)
                                                                                                    	at libcore.io.IoBridge.connect(IoBridge.java:179)
                                                                                                    	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
                                                                                                    	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
                                                                                                    	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
                                                                                                    	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
                                                                                                    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
                                                                                                    	at java.net.Socket.connect(Socket.java:646)
                                                                                                    	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
                                                                                                    	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
                                                                                                    	... 41 more
                                                                                                    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
                                                                                                    	at libcore.io.IoBridge.isConnected(IoBridge.java:334)
                                                                                                    	... 51 more
@jesmrec
Copy link
Collaborator

jesmrec commented Aug 13, 2024

Those logs do not include http requests, are they enabled?

@Aitorbp
Copy link
Collaborator Author

Aitorbp commented Aug 13, 2024

Those logs do not include http requests, are they enabled?

No, I will add with http requests enabled

@jesmrec
Copy link
Collaborator

jesmrec commented Aug 19, 2024

Doing some checks about this one. Some inputs:

  • I think the problem does not depend on the behaviour (copy, remove). It's reproducible with both.

  • Same with oCIS/oC10. I see same in both. It might be some difference, but, in my quick check, i did not see them.

  • Not sure if affects, but the failing request is sent with double // just before file name

PUT https://192.168.1.39:9200/dav/spaces/21cac65d-b649-4f97-8d6d-372cb941b147$40d30b7f-276b-45a6-bfdd-cec55bf83436/Bbbbb//PXL_20240819_120404334.jpg

  • Server answers 409 , that means, server does not expect such input in the request. That error makes sense since the target folder does not exist in remote.

  • The point here is: why the target folder is re-created in first instance (upload with no error), and not in case of a retry?? answering this will put us in the correct path.

the auto-uploads appear as uploaded correctly, but we have the server off, we don't even have the possibility to press Retry

i don't understand this. If the server is off, uploads never work. Are you sure about this?

@Aitorbp
Copy link
Collaborator Author

Aitorbp commented Aug 20, 2024

Doing some checks about this one. Some inputs:

  • I think the problem does not depend on the behaviour (copy, remove). It's reproducible with both.
  • Same with oCIS/oC10. I see same in both. It might be some difference, but, in my quick check, i did not see them.
  • Not sure if affects, but the failing request is sent with double // just before file name

PUT https://192.168.1.39:9200/dav/spaces/21cac65d-b649-4f97-8d6d-372cb941b147$40d30b7f-276b-45a6-bfdd-cec55bf83436/Bbbbb//PXL_20240819_120404334.jpg

  • Server answers 409 , that means, server does not expect such input in the request. That error makes sense since the target folder does not exist in remote.
  • The point here is: why the target folder is re-created in first instance (upload with no error), and not in case of a retry?? answering this will put us in the correct path.

the auto-uploads appear as uploaded correctly, but we have the server off, we don't even have the possibility to press Retry

i don't understand this. If the server is off, uploads never work. Are you sure about this?

Yes, you are right, I was wrong, because I switched off OCIS server, not OC10. So, because of that I saw the files uploaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants