Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

edrive UPDATE operation don't perform a sync from device to cloud

  • /e/ version: v1.1
  • Device model(s): FP4
  • Device rooted: yes/no

Summary

Update file metadata or its content don't trigger the UPDATE operation sync to the cloud.

The problem

Steps to reproduce

Have a file in Document folder like FP4-bug-2calls.l og

test 1: update the date attribute of the file

adb shell touch /storage/self/primary/Documents/FP4-bug-2calls.log

test 2: add some content at the end of the file

adb shell echo "abcdefghihjkkhkldds" >> /storage/self/primary/Documents/FP4-bug-2calls.log

What is the current behavior?

The updated file is not synchronized on the cloud.

What is the expected correct behavior?

Updated files are synchronized.

Technical informations

Relevant logs (adb logcat)

06-13 15:11:54.428  3426  3631 D FileEventListener: handleFileCloseWrite(/storage/emulated/0/Documents/FP4-bug-2calls.l
og)                                                                                                                    
06-13 15:11:54.434  3426  3631 W SQLiteLog: (28) double-quoted string literal: "/storage/emulated/0/Documents/FP4-bug-2
calls.log"                                                                                                             
06-13 15:11:54.440  3426  3631 D FileEventListener: Sending a SyncRequest for FP4-bug-2calls.log                       
06-13 15:11:54.441  3426  3631 D SynchronizationService: startAllThreads                                               
06-13 15:11:54.442  3426  3631 I CommonUtils: haveNetworkConnection()                                                  
06-13 15:11:54.447  3426  3631 I chatty  : uid=10131(foundation.e.drive) FileObserver identical 2 lines                
06-13 15:11:54.449  3426  3631 I CommonUtils: haveNetworkConnection()                                                  
06-13 15:12:10.656  3426  3426 I ForceSyncReceiver: Start ObserverService                                              
06-13 15:12:10.659  3426  3426 I ObserverService: onStartCommand(1)                                                    
06-13 15:12:10.662  3426  3426 D ObserverService: ServiceExceptionHandler already set!                                 
06-13 15:12:10.665  3426  3426 I CommonUtils: haveNetworkConnection()                                                  
06-13 15:12:10.667  3426  3426 I ObserverService: begin()                                                              
06-13 15:12:10.667  3426  3426 I ObserverService: clearCachedFile()                                                    
06-13 15:12:10.669  3426  3426 I ObserverService: deleteOldestCrashLogs()                                              
06-13 15:12:10.670  3426  3426 D ObserverService: 0 old crashlogs file.s deleted   

cc @vincent @rhunault