sorry to bother you again and again, but I found another possible bug in the camera upload process. I was trying to upload a 5.4 Gb video, the app reported that everything went ok, but on the server the file is only 1.1 Gb. Here is the app log:
D: 2026-06-01 23:51:25:543(UploadFileFromContentUriWorker.kt:185)Upload info: OCTransfer(id=205, localPath=content://com.android.externalstorage.documents/tree/primary%3ADCIM%2FCamera/document/primary%3ADCIM%2FCamera%2FVID_20260531_204548.mp4, remotePath=/InstantUpload//VID_20260531_204548.mp4, accountName=myuser@myserver:8080, fileSize=5832800958, status=TRANSFER_QUEUED, localBehaviour=COPY, forceOverwrite=false, transferEndTimestamp=null, lastResult=null, createdBy=ENQUEUED_AS_AUTOMATIC_UPLOAD_VIDEO, transferId=null, spaceId=<uuid>$<uuid>, sourcePath=content://com.android.externalstorage.documents/tree/primary%3ADCIM%2FCamera/document/primary%3ADCIM%2FCamera%2FVID_20260531_204548.mp4, tusUploadUrl=null, tusUploadLength=null, tusUploadMetadata=null, tusUploadChecksum=null, tusResumableVersion=null, tusUploadExpires=null, tusUploadConcat=null)
D: 2026-06-01 23:53:53:680(UploadFileFromContentUriWorker.kt:185)Upload info: OCTransfer(id=205, localPath=content://com.android.externalstorage.documents/tree/primary%3ADCIM%2FCamera/document/primary%3ADCIM%2FCamera%2FVID_20260531_204548.mp4, remotePath=/InstantUpload//VID_20260531_204548.mp4, accountName=myuser@myserver:8080, fileSize=5832800958, status=TRANSFER_IN_PROGRESS, localBehaviour=COPY, forceOverwrite=false, transferEndTimestamp=null, lastResult=null, createdBy=ENQUEUED_AS_AUTOMATIC_UPLOAD_VIDEO, transferId=null, spaceId=<uuid>$<uuid>, sourcePath=content://com.android.externalstorage.documents/tree/primary%3ADCIM%2FCamera/document/primary%3ADCIM%2FCamera%2FVID_20260531_204548.mp4, tusUploadUrl=null, tusUploadLength=null, tusUploadMetadata=null, tusUploadChecksum=null, tusResumableVersion=null, tusUploadExpires=null, tusUploadConcat=null)
I: 2026-06-02 00:18:45:074(ReadRemoteFileOperation.kt:75)Read remote file /InstantUpload//VID_20260531_204548.mp4 with status 207
I: 2026-06-02 00:18:45:075(TusUploadHelper.kt:230)TUS: upload completed for /InstantUpload//VID_20260531_204548.mp4 (size=1180123136) resulting etag=null
D: 2026-06-02 00:18:45:353(UploadFileFromContentUriWorker.kt:350)TUS upload completed for /InstantUpload//VID_20260531_204548.mp4
D: 2026-06-02 00:21:19:770(AutomaticUploadsWorker.kt:152)Skipping already-tracked file: VID_20260531_204548.mp4
Hey folks,
sorry to bother you again and again, but I found another possible bug in the camera upload process. I was trying to upload a 5.4 Gb video, the app reported that everything went ok, but on the server the file is only 1.1 Gb. Here is the app log: