Open n0name-o0o0 opened 1 month ago
I seem to experience the same problem using both my own Nextcloud server and the hanney.org one. I have tried to plug my Samsung tablet into my PC and using adb, I found the following errors, that might be related to the issue:
07-23 15:04:35.355 682 699 E keystore2: system/security/keystore2/src/error.rs:182 - Rc(r#KEY_NOT_FOUND), "system/security/keystore2/src/service.rs:159: In get_key_entry, while trying to load key info. 10481, Some(\"com.adilhanney.saber.FlutterSecureStoragePluginKey\")"
...
07-23 15:04:35.673 682 699 I keystore2: system/security/keystore2/src/security_level.rs:697 - In generate_key. 10481, Some("com.adilhanney.saber.FlutterSecureStoragePluginKey")
07-23 15:04:35.676 682 699 I keystore2: system/security/keystore2/src/database.rs:2339 - In store_new_key "com.adilhanney.saber.FlutterSecureStoragePluginKey", uid=10481, cert=true, cert_chain=false rebound=false
...
07-23 15:06:25.796 16948 16977 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Exception: Decryption failed for Saber/
07-23 15:06:25.797 16948 16977 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-23 15:06:25.799 16948 16977 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-23 15:06:25.801 16948 16977 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-23 15:06:25.804 16948 16977 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
...
07-23 15:19:46.359 23404 23440 I flutter : SEVERE: SaberSyncInterface: findRemoteFiles: Unknown error: ClientException: Connection closed before full header was received, uri=https://nc.saber.adil.hanney.org/remote.php/webdav/Saber
Syncing was fixed in 0.24.3
I still experience the issue when using 0.24.3 on both desktop and tablet 🤔
It doesn't work for me either with the latest saber version. Unfortunately, it hasn't been fixed yet.
I tested version 0.24.3 in my debug environments and even on my tablets and syncing works.
I can suggest this:
I tested it on my development virtual machines and it worked well. I used this recipe few months ago when I have problems with synchronization.
In case of problems simply remove Saber folder from nextcloud and put there your backup copy. And the situation will be the same as before.
Thank you very much for your answer. However, I still couldn't get it to work. My approach:
Further tests:
Where can I find the LOG files for Saber on Windows?
Addendum: If I assign a different encryption password, a check is carried out. If I enter it incorrectly on other devices, an error message appears, so the connection and a check to Nextcloud are established. Only files are simply not synchronized even if they are available in the Nextcloud. All clients use the current version 0.24.3
Where can I find the LOG files for Saber on Windows? See https://github.com/saber-notes/saber/issues/382#issuecomment-1974651320
You tried to test too much things together. In this case I reccomend to try only one platform at a time and test if Saber can upload notes to empty nextcloud. Does it work for all platforms?
Then you can investigate synchronization between platforms.
Ok. There is a error in the Windows Saber LOGs.
P ATTACH
flutter: dynamic_color: Accent color detected.
flutter: FormatException: Invalid UTF-8 byte (at offset 275)
flutter: #0 _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1760)
flutter: #1 Utf8Decoder.convert (dart:convert/utf.dart:349)
flutter: #2 StandardMessageCodec.readValueOfType (package:flutter/src/services/message_codecs.dart:502)
flutter: #3 StandardMessageCodec.readValue (package:flutter/src/services/message_codecs.dart:477)
flutter: #4 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:645)
flutter: #5 EventChannel.receiveBroadcastStream.
flutter: WARNING: SaberSyncInterface: Failed to get sync file from remote file: Exception: Decryption failed for Saber/ flutter: WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block flutter: WARNING: SaberSyncInterface: Failed to get sync file from remote file: Exception: Decryption failed for Saber/ flutter: WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block**
Only one Windows 11 Client logged in to Nextcloud with Sync. It's the same error as by LaustDengsoe.
The beginning of log can be ignored (some exceptions occur)
Exception: Decryption failed for Saber/
is also ok, it only says that Saber directory on nextcloud cannot be decrypted.
Invalid argument(s): Invalid or corrupted pad block
Means that Saber was not able to decrypt file from nextcloud. When I investigated syncing half a year ago, this occrus when file size was not a multiple of 16 bytes. So the first synchronization from Saber to nextcloud was probably incorrect.
Did you tryed to create and synchronize more than one note?
I cannot help more in this case.
I tried different scenarios in Saber debug version on windows but it worked.
Chimming in to confirm that it still broken for me too. Did Android to android. Tried a different password. Reinstalled.
I investigated problem with
Invalid argument(s): Invalid or corrupted pad block
more and it once happen to obtain this error.
Please try logout Saber from your nextcloud account, close Saber and then again login to nextcloud. It should fix problem.
I must say, that this error happened me only once so I was not able to debug it. But I only tried to logout and login to nextcloud from Saber.
No dice. Getting the same error.
No dice. Getting the same error.
Can you show your log file?
type: logcat
osVersion: google/shiba/shiba:14/AP2A.240705.005/2024071600:user/release-keys
packageName: com.adilhanney.saber:24030
buffers: main,system,crash,events,kernel
level: verbose
--------- beginning of events
07-29 07:59:58.017 8994 8994 I auditd : avc=type=1400 audit(0.0:159619): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=374 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.029 8994 8994 I auditd : avc=type=1400 audit(0.0:159620): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=374 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.029 8994 8994 I auditd : avc=type=1400 audit(0.0:159621): avc: denied { read } for comm="dilhanney.saber" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=374 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.037 8994 8994 I auditd : avc=type=1400 audit(0.0:159622): avc: denied { read } for comm="dilhanney.saber" name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=285 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.037 8994 8994 I auditd : avc=type=1400 audit(0.0:159623): avc: denied { read } for comm="dilhanney.saber" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=374 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.037 8994 8994 I auditd : avc=type=1400 audit(0.0:159624): avc: denied { getattr } for comm="dilhanney.saber" path="/apex/apex-info-list.xml" dev="tmpfs" ino=83 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.053 8994 8994 I auditd : avc=type=1400 audit(0.0:159625): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot.art" dev="dm-6" ino=1336 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.057 8994 8994 I auditd : avc=type=1400 audit(0.0:159626): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-core-libart.art" dev="dm-6" ino=1270 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.057 8994 8994 I auditd : avc=type=1400 audit(0.0:159627): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-okhttp.art" dev="dm-6" ino=1318 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.057 8994 8994 I auditd : avc=type=1400 audit(0.0:159628): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-bouncycastle.art" dev="dm-6" ino=1258 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.057 8994 8994 I auditd : avc=type=1400 audit(0.0:159629): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-apache-xml.art" dev="dm-6" ino=1252 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.057 8994 8994 I auditd : avc=type=1400 audit(0.0:159630): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-framework.art" dev="dm-6" ino=1306 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.065 8994 8994 I auditd : avc=type=1400 audit(0.0:159631): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-framework-graphics.art" dev="dm-6" ino=1288 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.065 8994 8994 I auditd : avc=type=1400 audit(0.0:159632): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-framework-location.art" dev="dm-6" ino=1294 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.065 8994 8994 I auditd : avc=type=1400 audit(0.0:159633): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-ext.art" dev="dm-6" ino=1276 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.065 8994 8994 I auditd : avc=type=1400 audit(0.0:159634): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-telephony-common.art" dev="dm-6" ino=1324 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.065 8994 8994 I auditd : avc=type=1400 audit(0.0:159635): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-voip-common.art" dev="dm-6" ino=1330 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.069 8994 8994 I auditd : avc=type=1400 audit(0.0:159636): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-ims-common.art" dev="dm-6" ino=1312 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.069 8994 8994 I auditd : avc=type=1400 audit(0.0:159637): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-framework-nfc.art" dev="dm-6" ino=1300 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.069 8994 8994 I auditd : avc=type=1400 audit(0.0:159638): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-core-icu4j.art" dev="dm-6" ino=1264 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.077 8994 8994 I auditd : avc=type=1400 audit(0.0:159639): avc: denied { lock } for comm="dilhanney.saber" path="/system/framework/arm64/boot-framework-adservices.art" dev="dm-6" ino=1282 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.137 8994 8994 I auditd : avc=type=1400 audit(0.0:159640): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.137 8994 8994 I auditd : avc=type=1400 audit(0.0:159641): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.137 8994 8994 I auditd : avc=type=1400 audit(0.0:159642): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.137 8994 8994 I auditd : avc=type=1400 audit(0.0:159643): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.137 8994 8994 I auditd : avc=type=1400 audit(0.0:159644): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.137 8994 8994 I auditd : avc=type=1400 audit(0.0:159645): avc: denied { read } for comm="main" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=374 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.165 8994 8994 I auditd : avc=type=1400 audit(0.0:159646): avc: denied { read } for comm="binder:8994_2" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=308 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.165 8994 8994 I auditd : avc=type=1400 audit(0.0:159647): avc: denied { read } for comm="binder:8994_2" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=308 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.313 8994 8994 I auditd : avc=type=1400 audit(0.0:159648): avc: denied { read } for comm="dilhanney.saber" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=374 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.365 8994 8994 I auditd : avc=type=1400 audit(0.0:159649): avc: denied { read } for comm="dilhanney.saber" name="max_map_count" dev="proc" ino=18395929 scontext=u:r:untrusted_app:s0:c232,c256,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=com.adilhanney.saber
07-29 07:59:58.461 8994 8994 I wm_on_create_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performCreate,time=127ms]
07-29 07:59:58.462 8994 8994 I wm_on_start_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=handleStartActivity,time=0ms]
07-29 07:59:58.464 8994 8994 I wm_on_resume_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=RESUME_ACTIVITY,time=0ms]
07-29 07:59:58.474 8994 8994 I wm_on_top_resumed_gained_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 07:59:58.492 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Canceling draw. cancelDueToPreDrawListener=true cancelDueToSync=false]
07-29 07:59:58.634 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Draw frame after cancel]
07-29 07:59:58.639 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
07-29 07:59:58.826 8994 9024 I viewroot_draw_event: [window=VRI[MainActivity],event=Transaction not synced due to no frame drawn]
07-29 08:00:10.282 8994 8994 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.adilhanney.saber/com.adilhanney.saber.MainActivity]
07-29 08:00:10.292 8994 8994 I wm_on_top_resumed_lost_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:00:10.330 8994 8994 I wm_on_paused_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performPause,time=0ms]
07-29 08:00:10.995 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:10.995 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:10.995 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
07-29 08:00:11.007 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:11.007 8994 8994 I wm_on_stop_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
07-29 08:00:11.013 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:18.718 8994 8994 I wm_on_restart_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performRestart,time=0ms]
07-29 08:00:18.719 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:18.719 8994 8994 I wm_on_start_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=handleStartActivity,time=0ms]
07-29 08:00:18.719 8994 8994 I wm_on_resume_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=RESUME_ACTIVITY,time=1ms]
07-29 08:00:18.719 8994 8994 I wm_on_top_resumed_gained_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topWhenResuming]
07-29 08:00:18.726 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:18.733 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
07-29 08:00:18.751 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
07-29 08:00:20.492 8994 8994 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.adilhanney.saber/com.adilhanney.saber.MainActivity]
07-29 08:00:20.500 8994 8994 I wm_on_top_resumed_lost_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:00:20.532 8994 8994 I wm_on_paused_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performPause,time=1ms]
07-29 08:00:21.201 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:21.201 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:21.202 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
07-29 08:00:21.209 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:00:21.210 8994 8994 I wm_on_stop_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
07-29 08:00:21.211 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:01:26.411 8994 8994 I wm_on_restart_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performRestart,time=0ms]
07-29 08:01:26.411 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:01:26.411 8994 8994 I wm_on_start_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=handleStartActivity,time=0ms]
07-29 08:01:26.419 8994 8994 I wm_on_resume_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=RESUME_ACTIVITY,time=1ms]
07-29 08:01:26.419 8994 8994 I wm_on_top_resumed_gained_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topWhenResuming]
07-29 08:01:26.419 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:01:26.425 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
07-29 08:01:26.443 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
07-29 08:01:30.280 8994 9024 I viewroot_draw_event: [window=VRI[MainActivity],event=Transaction not synced due to no frame drawn]
07-29 08:01:34.495 8994 8994 I wm_on_top_resumed_lost_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:01:34.502 8994 8994 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.adilhanney.saber/com.adilhanney.saber.MainActivity]
07-29 08:01:36.482 8994 8994 I wm_on_paused_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performPause,time=0ms]
07-29 08:01:36.497 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:01:36.498 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:01:36.499 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
07-29 08:01:36.506 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:01:36.506 8994 8994 I wm_on_stop_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
07-29 08:01:36.510 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:05:25.402 8994 8994 I wm_on_restart_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performRestart,time=0ms]
07-29 08:05:25.405 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:05:25.405 8994 8994 I wm_on_start_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=handleStartActivity,time=4ms]
07-29 08:05:25.410 8994 8994 I wm_on_resume_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=RESUME_ACTIVITY,time=3ms]
07-29 08:05:25.411 8994 8994 I wm_on_top_resumed_gained_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topWhenResuming]
07-29 08:05:25.411 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:05:25.419 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
07-29 08:05:25.430 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
07-29 08:05:27.109 8994 9024 I viewroot_draw_event: [window=VRI[MainActivity],event=Transaction not synced due to no frame drawn]
07-29 08:05:33.896 8994 8994 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.adilhanney.saber/com.adilhanney.saber.MainActivity]
07-29 08:05:33.904 8994 8994 I wm_on_top_resumed_lost_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:05:34.930 8994 8994 I wm_on_paused_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performPause,time=0ms]
07-29 08:05:34.957 8994 8994 I wm_on_stop_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
07-29 08:05:35.119 8994 8994 I wm_on_destroy_called: [Token=57889329,Component Name=com.adilhanney.saber.MainActivity,Reason=performDestroy,time=162ms]
07-29 08:05:35.120 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:05:35.121 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:05:35.121 8994 8994 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:05:42.124 10601 10601 I wm_on_create_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=performCreate,time=106ms]
07-29 08:05:42.125 10601 10601 I wm_on_start_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=handleStartActivity,time=0ms]
07-29 08:05:42.126 10601 10601 I wm_on_resume_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=RESUME_ACTIVITY,time=0ms]
07-29 08:05:42.136 10601 10601 I wm_on_top_resumed_gained_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:05:42.156 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Canceling draw. cancelDueToPreDrawListener=true cancelDueToSync=false]
07-29 08:05:42.248 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Draw frame after cancel]
07-29 08:05:42.253 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
07-29 08:05:42.457 10601 10632 I viewroot_draw_event: [window=VRI[MainActivity],event=Transaction not synced due to no frame drawn]
07-29 08:06:44.804 10601 10601 I wm_on_top_resumed_lost_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:06:44.807 10601 10601 I wm_on_paused_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=performPause,time=0ms]
07-29 08:06:44.863 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:06:44.864 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:06:44.864 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
07-29 08:06:44.870 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:06:44.871 10601 10601 I wm_on_stop_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
07-29 08:06:44.887 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:06:45.516 10601 10601 I wm_on_restart_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=performRestart,time=0ms]
07-29 08:06:45.517 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:06:45.518 10601 10601 I wm_on_start_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=handleStartActivity,time=1ms]
07-29 08:06:45.519 10601 10601 I wm_on_resume_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=RESUME_ACTIVITY,time=1ms]
07-29 08:06:45.520 10601 10601 I wm_on_top_resumed_gained_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=topWhenResuming]
07-29 08:06:45.537 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:06:45.547 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
07-29 08:06:45.551 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
07-29 08:06:45.553 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to screen off]
07-29 08:06:45.589 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Resumed drawing after screen turned on]
07-29 08:06:59.656 10601 10632 I viewroot_draw_event: [window=VRI[MainActivity],event=Transaction not synced due to no frame drawn]
07-29 08:07:01.030 10601 10601 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.adilhanney.saber/com.adilhanney.saber.MainActivity]
07-29 08:07:01.038 10601 10601 I wm_on_top_resumed_lost_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:07:01.080 10601 10601 I wm_on_paused_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=performPause,time=1ms]
07-29 08:07:01.739 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:07:01.739 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:07:01.740 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
07-29 08:07:01.742 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:07:01.743 10601 10601 I wm_on_stop_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
07-29 08:07:01.749 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:13:19.845 10601 10601 I wm_on_restart_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=performRestart,time=0ms]
07-29 08:13:19.849 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:13:19.849 10601 10601 I wm_on_start_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=handleStartActivity,time=5ms]
07-29 08:13:19.855 10601 10601 I wm_on_resume_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=RESUME_ACTIVITY,time=2ms]
07-29 08:13:19.856 10601 10601 I wm_on_top_resumed_gained_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=topWhenResuming]
07-29 08:13:19.856 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:13:19.862 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
07-29 08:13:19.876 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
--------- beginning of main
07-29 08:13:23.089 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Exception: Decryption failed for Saber/
07-29 08:13:23.113 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.114 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.115 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.116 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.116 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.117 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.118 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.119 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.120 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.120 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.122 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.123 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.124 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.125 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.126 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
07-29 08:13:23.126 10601 10649 I flutter : WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
--------- switch to events
07-29 08:13:24.530 10601 10632 I viewroot_draw_event: [window=VRI[MainActivity],event=Transaction not synced due to no frame drawn]
07-29 08:13:26.635 10601 10601 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.adilhanney.saber/com.adilhanney.saber.MainActivity]
07-29 08:13:26.654 10601 10601 I wm_on_top_resumed_lost_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=topStateChangedWhenResumed]
07-29 08:13:27.651 10601 10601 I wm_on_paused_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=performPause,time=0ms]
--------- switch to main
07-29 08:13:28.032 10601 10601 D VRI[MainActivity]: visibilityChanged oldVisibility=true newVisibility=false
--------- switch to events
07-29 08:13:28.067 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:13:28.068 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:13:28.068 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
07-29 08:13:28.079 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
07-29 08:13:28.079 10601 10601 I wm_on_stop_called: [Token=53902149,Component Name=com.adilhanney.saber.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
07-29 08:13:28.080 10601 10601 I viewroot_draw_event: [window=VRI[MainActivity],event=applyTransactionOnDraw applyImmediately]
I see nothing special in this log.
However I was able to simulate again the state returning "Invalid of corrupted pad block" (by logging in and out).
My nextcloud login looks like
I am logged in nextcloud, but my encryption password is empty (I typed password during nextcloud login, but it was probably forgot by Saber). When I enter password, things go OK or wrong. I cannot find the reason.
Please check if you are really correctly logged in. Or try to logout and login again.
I think that this problem is somehow connected with situation that Saber incorrectly saves configuration.
I can confirm that I logged out and logged back in and used the correct encryption password. I also deleted all the files in Saber and tried a new encryption password. I'm still getting the "Invalid of corrupted pad block" warning previously mentioned. I also confirmed that it occurs when I try to refresh.
How are you creating notes to be synced? On logged Saber? Then you logout and then try login?
Or you have all empty. Login, create new notes and then try to synchronize?
Created them after and before logging in. Logged out (about 10 times now on 3 devices each).
It never worked even when I had no notes on any device.
You are still connected on different devices at one time? Can you test it only on one device (on which it does not work?
I am testing only on one device other are switched off. I am creating notes after be logged in.
I have tried both. I have removed it from all devices and next cloud. Then one at a time added devices. Still doesnt work.
And if you test everything only on one device (which was not working)?
I still get the decrypting warning with just one device connected to Nextcloud. So its uploading the file, but unable to read what was uploaded.
I tested this (worked once)
I am not able to create sequence which works every time. Unfortunately I have no more free time to investigate the problem.
No dice.
I would also recommend to those that are trying this to make a backup. If you do the previous method you will lose your files until the bug is inevitability fixed.
Edit: Those worried they lost their files forever: downgrade to 23.3 and you'll be able sync again.
Additional test I want to add to future troubleshooters, I tried using the official Saber nextcloud and got the same result -- It's not working. Seems like the safest way to use cloud sync at the moment is to use the older version of the software.
Edit: 23.3 works like a charm.
Faced the same issue on 24.3, but 23.3 works cool.
Same problem. Log shows this:
flutter: WARNING: SaberSyncInterface: Failed to get sync file from remote file: Exception: Decryption failed for Saber/ flutter: WARNING: SaberSyncInterface: Failed to get sync file from remote file: Invalid argument(s): Invalid or corrupted pad block
I figured out that on 23.3+ versions, folders didn't sync! If you put your notes in folders - all good. Btw, I have a zip backup of all my notes from the latest version. How can I restore it if 23.3v+ can't sync folders at all and 23.3v can't see 24v folders? Have I lost my notes?
The problem seems to be fixed in 24.4
I can confirm that. Version 24.4 works without any problems. Then there was a bug in 24.3.
The issue can now be closed. Thanks guys!
I can confirm that the new update has fixed it for me too!
24.4 fixed it for me.
@n0name-o0o0 can you close this issue as it has been fixed by v0.24.4
?
Using Saber 0.24.2 f-droid
It won't sync cross devides!
I just make a random note on one of my device,and i want to sign in nextcloud and sync it to another device.but the one made notes shows upload is complete,i refresh another,it dont appear.(using same password)i erased the Saber with note's data,it dont appear again when i signed in nextcloud
Nextcloud server: https://nch.pl/