meganz / MEGAsync

Easy automated syncing between your computers and your MEGA Cloud Drive
Other
1.65k stars 281 forks source link

Issue with syncing. #557

Open sid-0309 opened 3 years ago

sid-0309 commented 3 years ago

Im trying to sync an encrypted virtual drive ( made with veracrypt ) to mega with the megasync client. But whenever the file is modified mega replaces it with the older cloud version rather than updating the cloud version. This has happened consistently over many trials. The updated file is moved to a .debris folder in my pc and is replaced with the older cloud version in the original location.

mhaeuser commented 3 years ago

I have the same issue on Ubuntu 20.04. I created a debug log snippet demonstrating the bug.

Steps performed:

  1. Closed all applications accessing the cloud storage. Cleared the MEGASync log file.
  2. Replaced /path/to/mega/subpath1/subpath2/broken_file, which is a custom binary file, with another one of the same type but different content.
  3. Fetched and partially anonymised log. I tried to preserve interesting properties such as directory structure.

I do not know why the log contains information about other files, I tried to close all applications accessing the storage and I only manually touch this one file.

Behavior: MEGASync registers the change and downloads the (now outdated) file from the cloud, replacing the new version.

Log snippet:

04/07-17:22:20.091803 140254294941440 DBG Active network interface: lo [:-1] 04/07-17:22:20.091814 140254294941440 DBG Ignored IPv4: 127.0.0.1 [:-1] 04/07-17:22:20.091817 140254294941440 DBG Ignored IPv6: ::1 [:-1] 04/07-17:22:20.091819 140254294941440 DBG Active network interface: enXXX [:-1] 04/07-17:22:20.091822 140254294941440 DBG IPv4: [:-1] 04/07-17:22:20.091824 140254294941440 DBG Ignored IPv6: %enXXX [:-1] 04/07-17:22:20.091826 140254294941440 DBG Ignored network interface: wlp6s0 Flags: 36 [:-1] 04/07-17:22:20.091827 140254294941440 DBG Ignored network interface: virbr0 Flags: 36 [:-1] 04/07-17:22:20.091829 140254294941440 DBG Ignored network interface: virbr0-nic Flags: 36 [:-1] 04/07-17:22:20.091834 140254294941440 DBG Local network adapters haven't changed [:-1] 04/07-17:22:20.291582 140254294941440 INFO Current state. Paused = 0 Indexing = 0 Waiting = 0 Syncing = 0 [:-1] 04/07-17:22:25.531285 140253980714752 DBG Informing cURL of timeout reached for 2 at 217304 [net.cpp:721] 04/07-17:22:26.740610 140253980714752 DBG Filesystem notification. Root: Font Path: broken_file.part [fs.cpp:792] 04/07-17:22:26.740740 140253980714752 DTL Scanning... Remaining files: 0 [sync.cpp:1860] 04/07-17:22:26.740744 140253980714752 DTL Checkpath: broken_file.part [sync.cpp:1872] 04/07-17:22:26.740755 140253980714752 DTL Scanning: /path/to/mega/subpath1/subpath2/broken_file.part in=0 full=0 l=(NULL) [sync.cpp:1266] 04/07-17:22:26.740813 140253980714752 DBG New localnode. Parent: Font [sync.cpp:1654] 04/07-17:22:26.740847 140253980714752 DBG Sync - local file addition detected: /path/to/mega/subpath1/subpath2/broken_file.part [megaapi_impl.cpp:12763] 04/07-17:22:26.740895 140253980714752 DBG Saving LocalNode database with 1 additions and 0 deletions [sync.cpp:953] 04/07-17:22:26.740895 140253980714752 DBG DB transaction BEGIN /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_ID3.db [sqlite.cpp:309] 04/07-17:22:26.740970 140253980714752 DBG DB transaction COMMIT /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_ID3.db [sqlite.cpp:321] 04/07-17:22:26.743038 140253980714752 DBG Scan queue processed, triggering a scan [megaclient.cpp:2664] 04/07-17:22:26.743051 140253980714752 DTL syncops: 1100 [megaclient.cpp:2721] 04/07-17:22:26.743067 140253980714752 DBG Filesystem notification. Root: Font Path: broken_file.part [fs.cpp:792] 04/07-17:22:26.743068 140253980714752 DBG Filesystem notification. Root: Font Path: broken_file [fs.cpp:792] [repeated x1] 04/07-17:22:26.743069 140253980714752 DBG Filesystem notification. Root: Font Path: broken_file.part [fs.cpp:792] 04/07-17:22:26.743093 140253980714752 DTL Running syncdown [megaclient.cpp:2860] 04/07-17:22:26.743093 140253980714752 DBG Running syncdown on demand [megaclient.cpp:2876] 04/07-17:22:26.743110 140253980714752 DBG Node skipped Name: .debris [megaclient.cpp:12581] 04/07-17:22:26.940257 140253980714752 DBG LocalNode is newer: FETCH_HEAD LNmtime: 1617816004 Nmtime: 1617815854 [megaclient.cpp:12628] 04/07-17:22:26.948468 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/COMMIT_EDITMSG Nsize: 8 Nmtime: 1606510115 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948469 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948671 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.948675 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/HEAD Nsize: 23 Nmtime: 1617789293 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948676 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948723 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.948727 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/ORIG_HEAD Nsize: 41 Nmtime: 1616850565 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948727 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948765 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.948768 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/config Nsize: 2405 Nmtime: 1616973974 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948768 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948806 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.948809 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/description Nsize: 73 Nmtime: 1448068916 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948809 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948845 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.948848 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/hooks Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948848 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948848 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:26.948893 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:26.948896 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/index Nsize: 938487 Nmtime: 1617789293 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948896 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948931 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.948934 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/info Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948934 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948934 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:26.948975 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:26.948978 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/logs Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.948978 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.948978 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:26.949018 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:26.949021 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/ms-persist.xml Nsize: 147 Nmtime: 1580938721 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.949024 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.949061 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.956289 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/packed-refs Nsize: 1606 Nmtime: 1578763280 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.956289 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.956339 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.956718 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/refs Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.956718 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.956718 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:26.956768 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:26.956772 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/sourcetreeconfig Nsize: 699 Nmtime: 1522178414 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.956772 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.956810 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.956814 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/sourcetreeconfig.json Nsize: 446 Nmtime: 1576098597 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.956814 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.956851 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.956854 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/tortoisegit.data Nsize: 82216 Nmtime: 1454100962 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.956854 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.956896 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:26.956899 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/tortoisegit.index Nsize: 3148 Nmtime: 1454100962 Nhandle: [megaclient.cpp:12740] 04/07-17:22:26.956899 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:26.956937 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.031989 140253980714752 DTL Scanning... Remaining files: 1 [sync.cpp:1860] 04/07-17:22:27.031993 140253980714752 DTL Scanning postponed. Modification too recent [sync.cpp:1864] 04/07-17:22:27.332477 140253980714752 DTL Scanning... Remaining files: 1 [sync.cpp:1860] 04/07-17:22:27.332483 140253980714752 DTL Checkpath: broken_file.part [sync.cpp:1872] 04/07-17:22:27.332498 140253980714752 DTL Scanning: /path/to/mega/subpath1/subpath2/broken_file.part in=0 full=0 l=0x7f8f0c7de430 [sync.cpp:1266] 04/07-17:22:27.332542 140253980714752 WARN Error opening file [sync.cpp:1753] 04/07-17:22:27.332545 140253980714752 DBG Next notification repeats, skipping duplicate [sync.cpp:1808] 04/07-17:22:27.332618 140253980714752 DTL Scanning... Remaining files: 1 [sync.cpp:1860] 04/07-17:22:27.332620 140253980714752 DTL Checkpath: broken_file [sync.cpp:1872] 04/07-17:22:27.332629 140253980714752 DTL Scanning: /path/to/mega/subpath1/subpath2/broken_file in=0 full=0 l=0x7f8f2156c3d0 [sync.cpp:1266] 04/07-17:22:27.332675 140253980714752 DBG Sync - local file deletion detected: /path/to/mega/subpath1/subpath2/broken_file.part [megaapi_impl.cpp:12779] 04/07-17:22:27.332695 140253980714752 DBG Sync - local file change detected: /path/to/mega/subpath1/subpath2/broken_file [megaapi_impl.cpp:12791] 04/07-17:22:27.332707 140253980714752 DBG Saving LocalNode database with 1 additions and 1 deletions [sync.cpp:953] 04/07-17:22:27.332709 140253980714752 DBG DB transaction BEGIN /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_ID3.db [sqlite.cpp:309] 04/07-17:22:27.333168 140253980714752 DBG DB transaction COMMIT /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_ID3.db [sqlite.cpp:321] 04/07-17:22:27.336636 140253980714752 DBG Self filesystem notification skipped [sync.cpp:1837] 04/07-17:22:27.336638 140253980714752 DBG Scan queue processed, triggering a scan [megaclient.cpp:2664] 04/07-17:22:27.336641 140253980714752 DTL syncops: 1000 [megaclient.cpp:2721] 04/07-17:22:27.336641 140253980714752 DBG Running syncup on demand [megaclient.cpp:2734] 04/07-17:22:27.366951 140253980714752 DBG LocalNode is older: broken_file LNmtime: 1614520093 Nmtime: 1617540229 [megaclient.cpp:13081] 04/07-17:22:27.602805 140253980714752 DBG LocalNode change detected on syncupload: FETCH_HEAD LNsize: 1090 LNmtime: 1617816004 NSize: 110 Nmtime: 1617815854 Nhandle: [megaclient.cpp:13105] 04/07-17:22:27.603104 140253980714752 DTL Unsynced LocalNode (file): FETCH_HEAD 0x7f8f3279c300 0 [megaclient.cpp:13194] 04/07-17:22:27.603105 140253980714752 DBG Waiting for the upload delay: FETCH_HEAD 219256 [megaclient.cpp:13199] 04/07-17:22:27.716024 140253980714752 DTL Running syncdown [megaclient.cpp:2860] 04/07-17:22:27.716025 140253980714752 DBG Running syncdown on demand [megaclient.cpp:2876] 04/07-17:22:27.716035 140253980714752 DBG Node skipped Name: .debris [megaclient.cpp:12581] 04/07-17:22:27.736706 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/subpath2/broken_file Nsize: 1985 Nmtime: 1617540229 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.736707 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.736708 140253980714752 DBG Start fetching file node [megaclient.cpp:12816] 04/07-17:22:27.736711 140253980714752 DBG Sync - requesting file /path/to/mega/subpath1/subpath2/broken_file [megaapi_impl.cpp:12820] 04/07-17:22:27.736716 140253980714752 DBG Caching transfer [megaclient.cpp:9691] 04/07-17:22:27.736720 140253980714752 DBG DB transaction BEGIN /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_transfers_ID1.db [sqlite.cpp:309] 04/07-17:22:27.736790 140253980714752 DBG DB transaction COMMIT /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_transfers_ID1.db [sqlite.cpp:321] 04/07-17:22:27.908276 140253980714752 DBG LocalNode is newer: FETCH_HEAD LNmtime: 1617816004 Nmtime: 1617815854 [megaclient.cpp:12628] 04/07-17:22:27.916208 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/COMMIT_EDITMSG Nsize: 8 Nmtime: 1606510115 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916209 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916353 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.916357 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/HEAD Nsize: 23 Nmtime: 1617789293 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916357 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916379 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.916382 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/ORIG_HEAD Nsize: 41 Nmtime: 1616850565 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916382 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916398 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.916400 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/config Nsize: 2405 Nmtime: 1616973974 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916400 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916415 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.916417 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/description Nsize: 73 Nmtime: 1448068916 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916418 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916432 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.916435 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/hooks Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916435 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916435 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:27.916452 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:27.916455 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/index Nsize: 938487 Nmtime: 1617789293 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916456 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916471 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.916473 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/info Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916474 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916474 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:27.916489 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:27.916492 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/logs Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916492 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916492 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:27.916507 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:27.916510 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/ms-persist.xml Nsize: 147 Nmtime: 1580938721 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.916510 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.916528 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.916531 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/packed-refs Nsize: 1606 Nmtime: 1578763280 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.928250 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.928275 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.928571 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/refs Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.928571 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.928572 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:27.928621 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:27.928625 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/sourcetreeconfig Nsize: 699 Nmtime: 1522178414 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.928625 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.928647 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.928650 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/sourcetreeconfig.json Nsize: 446 Nmtime: 1576098597 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.928651 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.928669 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.928672 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/tortoisegit.data Nsize: 82216 Nmtime: 1454100962 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.928672 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.928687 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.928690 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/tortoisegit.index Nsize: 3148 Nmtime: 1454100962 Nhandle: [megaclient.cpp:12740] 04/07-17:22:27.928690 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:27.928704 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:27.928734 140254294941440 INFO Pending downloads: 1 [:-1] 04/07-17:22:27.928933 140254294941440 INFO Current state. Paused = 0 Indexing = 0 Waiting = 0 Syncing = 0 [:-1] 04/07-17:22:27.998366 140253980714752 INFO Transfer (DOWNLOAD) starting. File: broken_file [megaapi_impl.cpp:16395] 04/07-17:22:27.998566 140253980714752 DBG Starting async open [megaclient.cpp:3613] 04/07-17:22:27.998567 140253980714752 DTL Async open start [filesystem.cpp:597] 04/07-17:22:27.998718 140253980714752 DBG Async open finished [megaclient.cpp:3624] 04/07-17:22:27.998718 140253980714752 DTL Deleting PosixAsyncIOContext [fs.cpp:83] 04/07-17:22:27.998720 140253980714752 DBG Contiguous progress: 0 (0) [transferslot.cpp:1308] 04/07-17:22:27.998722 140253980714752 DBG Resuming transfer at 0 Completed: 0 Contiguous: 0 Partial: 0 Size: 1985 ultoken: 0 [megaclient.cpp:3678] 04/07-17:22:27.998725 140253980714752 DBG Activating transfer [megaclient.cpp:3747] 04/07-17:22:27.998745 140253980714752 DTL syncops: 0100 [megaclient.cpp:2721] 04/07-17:22:27.998752 140253980714752 DBG DNS cache hit for g.api.mega.co.nz (IPv4) [net.cpp:1915] 04/07-17:22:27.998753 140253980714752 DBG cs POST target URL: [net.cpp:1373] 04/07-17:22:27.998754 140253980714752 DBG cs Sending 46: [{"a":"g","n":"","g":1,"v":2,"ssl":2}] [net.cpp:1384] 04/07-17:22:27.998755 140253980714752 DBG Using the IP of the hostname: [net.cpp:1404] 04/07-17:22:27.998812 140253980714752 DBG Set cURL timeout[2] to 217329 from 0(ms) at ds: 217329 [net.cpp:2691] 04/07-17:22:27.998836 140253980714752 DBG Informing cURL of timeout reached for 2 at 217329 [net.cpp:721] 04/07-17:22:27.998859 140253980714752 DTL cs cURL: Found bundle for host : 0x7f8f22d5cfb0 [serially] [net.cpp:1758] 04/07-17:22:27.998862 140253980714752 DTL cs cURL: Re-using existing connection! (#49) with host [net.cpp:1758] 04/07-17:22:27.998865 140253980714752 DTL cs cURL: Connected to () port 443 (#49) [net.cpp:1758] 04/07-17:22:27.998923 140253980714752 DTL cs cURL: We are completely uploaded and fine [net.cpp:1758] 04/07-17:22:27.998925 140253980714752 DBG Adding curl socket 74 to 1 [net.cpp:2598] 04/07-17:22:27.998926 140253980714752 DBG Set cURL timeout[2] to 217449 from 12000(ms) at ds: 217329 [net.cpp:2691] 04/07-17:22:28.108565 140253980714752 DTL cs cURL: Mark bundle as not supporting multiuse [net.cpp:1758] 04/07-17:22:28.108569 140253980714752 DTL Header: HTTP/1.1 200 OK [net.cpp:2483] 04/07-17:22:28.108571 140253980714752 DTL Header: Content-Type: application/json [net.cpp:2483] 04/07-17:22:28.108572 140253980714752 DTL Header: Access-Control-Allow-Origin: [net.cpp:2483] 04/07-17:22:28.108573 140253980714752 DTL Header: Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak [net.cpp:2483] 04/07-17:22:28.108573 140253980714752 DTL Header: Access-Control-Expose-Headers: Original-Content-Length [net.cpp:2483] 04/07-17:22:28.108574 140253980714752 DTL Header: Access-Control-Max-Age: 86400 [net.cpp:2483] 04/07-17:22:28.108575 140253980714752 DTL Header: Original-Content-Length: 347 [net.cpp:2483] 04/07-17:22:28.108577 140253980714752 DTL Header: Content-Length: 347 [net.cpp:2483] 04/07-17:22:28.108578 140253980714752 DTL Header: Connection: keep-alive [net.cpp:2483] 04/07-17:22:28.108598 140253980714752 DTL cs cURL: Connection #49 to host left intact [net.cpp:1758] 04/07-17:22:28.108601 140253980714752 DBG Removing socket 74 [net.cpp:2585] 04/07-17:22:28.108603 140253980714752 DBG Set cURL timeout[2] to -1 from -1(ms) at ds: 217330 [net.cpp:2691] 04/07-17:22:28.108606 140253980714752 DBG CURLMSG_DONE with HTTP status: 200 from g.api.mega.co.nz - [net.cpp:2166] 04/07-17:22:28.108607 140253980714752 DBG cs Received 347: [net.cpp:2195] 04/07-17:22:28.108689 140253980714752 DBG Populating transfer slot with 1 connections, max request size of 16777216 bytes [transferslot.cpp:152] 04/07-17:22:28.108692 140253980714752 DBG Downloading chunk of size 1985 [raid.cpp:901] 04/07-17:22:28.108706 140253980714752 DBG DNS cache hit for (IPv4) [net.cpp:1915] 04/07-17:22:28.108707 140253980714752 DBG D22 POST target URL: [net.cpp:1373] 04/07-17:22:28.108708 140253980714752 DBG D22 [sending 0 bytes of raw data] [net.cpp:1378] 04/07-17:22:28.108709 140253980714752 DBG Using the IP of the hostname: [net.cpp:1404] 04/07-17:22:28.108777 140253980714752 DBG Set cURL timeout[0] to 217330 from 0(ms) at ds: 217330 [net.cpp:2691] 04/07-17:22:28.108864 140253980714752 DBG Informing cURL of timeout reached for 0 at 217330 [net.cpp:721] 04/07-17:22:28.108883 140253980714752 DTL D22 cURL: Too old connection (570 seconds), disconnect it [net.cpp:1758] 04/07-17:22:28.108885 140253980714752 DTL D22 cURL: Connection 2 seems to be dead! [net.cpp:1758] 04/07-17:22:28.108888 140253980714752 DTL D22 cURL: Closing connection 2 [net.cpp:1758] 04/07-17:22:28.108943 140253980714752 DTL D22 cURL: TLSv1.2 (OUT), TLS alert, close notify (256): [net.cpp:1758] 04/07-17:22:28.109049 140253980714752 DTL D22 cURL: Trying :443... [net.cpp:1758] 04/07-17:22:28.109052 140253980714752 DTL D22 cURL: TCP_NODELAY set [net.cpp:1758] 04/07-17:22:28.109085 140253980714752 DBG Adding curl socket 56 to 2 [net.cpp:2598] 04/07-17:22:28.109088 140253980714752 DBG Set cURL timeout[0] to 217332 from 199(ms) at ds: 217330 [net.cpp:2691] 04/07-17:22:28.148035 140253980714752 DTL D22 cURL: Connected to () port 443 (#3) [net.cpp:1758] 04/07-17:22:28.148138 140253980714752 DTL D22 cURL: ALPN, offering http/1.1 [net.cpp:1758] 04/07-17:22:28.148149 140253980714752 DTL D22 cURL: SSL re-using session ID [net.cpp:1758] 04/07-17:22:28.148265 140253980714752 DTL D22 cURL: TLSv1.3 (OUT), TLS handshake, Client hello (1): [net.cpp:1758] 04/07-17:22:28.148285 140253980714752 DBG Setting curl socket 56 to 1 [net.cpp:2608] 04/07-17:22:28.179407 140253980714752 DTL D22 cURL: TLSv1.3 (IN), TLS handshake, Server hello (2): [net.cpp:1758] 04/07-17:22:28.219288 140253980714752 DTL D22 cURL: TLSv1.2 (IN), TLS handshake, Finished (20): [net.cpp:1758] 04/07-17:22:28.219294 140253980714752 DTL D22 cURL: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): [net.cpp:1758] 04/07-17:22:28.219318 140253980714752 DTL D22 cURL: TLSv1.2 (OUT), TLS handshake, Finished (20): [net.cpp:1758] 04/07-17:22:28.219335 140253980714752 DTL D22 cURL: SSL connection using TLSv1.2 / AES128-SHA [net.cpp:1758] 04/07-17:22:28.219336 140253980714752 DTL D22 cURL: ALPN, server did not agree to a protocol [net.cpp:1758] 04/07-17:22:28.219339 140253980714752 DTL D22 cURL: Server certificate: [net.cpp:1758] 04/07-17:22:28.219346 140253980714752 DTL D22 cURL: subject: CN=.userstorage.mega.co.nz [net.cpp:1758] 04/07-17:22:28.219352 140253980714752 DTL D22 cURL: start date: Nov 24 00:00:00 2020 GMT [net.cpp:1758] 04/07-17:22:28.219354 140253980714752 DTL D22 cURL: expire date: Dec 25 23:59:59 2021 GMT [net.cpp:1758] 04/07-17:22:28.219366 140253980714752 DTL D22 cURL: issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA [net.cpp:1758] 04/07-17:22:28.219368 140253980714752 DTL D22 cURL: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. [net.cpp:1758] 04/07-17:22:28.319599 140253980714752 DBG Informing cURL of timeout reached for 0 at 217332 [net.cpp:721] 04/07-17:22:28.319606 140253980714752 DBG Set cURL timeout[0] to 217341 from 900(ms) at ds: 217332 [net.cpp:2691] 04/07-17:22:29.059807 140253980714752 DTL D22 cURL: Mark bundle as not supporting multiuse [net.cpp:1758] 04/07-17:22:29.059817 140253980714752 DTL Header: HTTP/1.1 200 OK [net.cpp:2483] 04/07-17:22:29.059819 140253980714752 DTL Header: Content-Length: 1985 [net.cpp:2483] 04/07-17:22:29.059820 140253980714752 DTL Header: Content-Type: application/octet-stream [net.cpp:2483] 04/07-17:22:29.059822 140253980714752 DTL Header: Content-Disposition: attachment [net.cpp:2483] 04/07-17:22:29.059823 140253980714752 DTL Header: Cache-Control: private [net.cpp:2483] 04/07-17:22:29.059824 140253980714752 DTL Header: Content-Transfer-Encoding: binary [net.cpp:2483] 04/07-17:22:29.059824 140253980714752 DTL Header: Access-Control-Allow-Origin: * [net.cpp:2483] 04/07-17:22:29.059825 140253980714752 DTL Header: Access-Control-Allow-Headers: MEGA-Chrome-Antileak [net.cpp:2483] 04/07-17:22:29.059826 140253980714752 DTL Header: Access-Control-Max-Age: 86400 [net.cpp:2483] 04/07-17:22:29.059836 140253980714752 DTL D22 cURL: Connection #3 to host left intact [net.cpp:1758] 04/07-17:22:29.059839 140253980714752 DBG Removing socket 56 [net.cpp:2585] 04/07-17:22:29.059841 140253980714752 DBG Set cURL timeout[0] to -1 from -1(ms) at ds: 217339 [net.cpp:2691] 04/07-17:22:29.059844 140253980714752 DBG CURLMSG_DONE with HTTP status: 200 from - [net.cpp:2166] 04/07-17:22:29.059846 140253980714752 DBG [received 1985 bytes of raw data] [net.cpp:2189] 04/07-17:22:29.059867 140253980714752 DBG Transfer request finished (0) Position: 1985 (1985) Size: 1985 Completed: 1985 of 1985 [transferslot.cpp:574] 04/07-17:22:29.059932 140253989107456 DBG Finished chunk: 0 - 1985 Size: 1985 [raid.cpp:672] 04/07-17:22:29.059948 140253980714752 DBG Writing data asynchronously at 0 to 1985 [transferslot.cpp:802] 04/07-17:22:29.059950 140253980714752 DTL Async write start [filesystem.cpp:670] 04/07-17:22:29.060206 140253348378368 DTL Async write finished OK [fs.cpp:236] 04/07-17:22:29.060246 140253980714752 DTL Processing finished async fs operation [transferslot.cpp:843] 04/07-17:22:29.060248 140253980714752 DTL Async write succeeded [transferslot.cpp:876] 04/07-17:22:29.060250 140253980714752 DBG Cached data at: 0 Size: 1985 [raid.cpp:917] 04/07-17:22:29.060253 140253980714752 DBG Contiguous progress: 1985 (0) [transferslot.cpp:1308] 04/07-17:22:29.060264 140253980714752 DBG Caching transfer [megaclient.cpp:9691] 04/07-17:22:29.060270 140253980714752 DBG DB transaction BEGIN /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_transfers_ID1.db [sqlite.cpp:309] 04/07-17:22:29.060352 140253980714752 DBG Download complete: 1 [transfer.cpp:587] 04/07-17:22:29.060656 140253980714752 DBG Overwriting a local synced file. Moving the previous one to debris [transfer.cpp:748] 04/07-17:22:29.060701 140253980714752 DTL Creating local debris folder [sync.cpp:1963] 04/07-17:22:29.060715 140253980714752 DBG Error creating local directory: /path/to/mega/.debris errno: 17 [fs.cpp:1267] 04/07-17:22:29.060716 140253980714752 DTL Creating daily local debris folder [sync.cpp:1979] 04/07-17:22:29.060726 140253980714752 DBG Error creating local directory: /path/to/mega/.debris/2021-04-07 errno: 17 [fs.cpp:1267] 04/07-17:22:29.060737 140253980714752 WARN Unable to move file: /path/to/mega/subpath1/subpath2/broken_file to /path/to/mega/.debris/2021-04-07/broken_file. Error code: 17 [fs.cpp:1053] 04/07-17:22:29.060738 140253980714752 DTL Creating daily local debris folder [sync.cpp:1979] 04/07-17:22:29.060748 140253980714752 DBG Error creating local directory: /path/to/mega/.debris/2021-04-07 errno: 17 [fs.cpp:1267] 04/07-17:22:29.060758 140253980714752 WARN Unable to move file: /path/to/mega/subpath1/subpath2/broken_file to /path/to/mega/.debris/2021-04-07/broken_file. Error code: 17 [fs.cpp:1053] 04/07-17:22:29.060760 140253980714752 DTL Creating daily local debris folder [sync.cpp:1979] 04/07-17:22:29.060889 140253980714752 DTL Successfully moved file: /path/to/mega/subpath1/subpath2/broken_file to /path/to/mega/.debris/2021-04-07 19.22.29.00/broken_file [fs.cpp:1043] 04/07-17:22:29.060890 140253980714752 DBG Renaming temporary file to target path [transfer.cpp:840] 04/07-17:22:29.060954 140253980714752 DTL Successfully moved file: /path/to/mega/.debris/tmp/.getxfer.145254.3.mega to /path/to/mega/subpath1/subpath2/broken_file [fs.cpp:1043] 04/07-17:22:29.060968 140253980714752 INFO Transfer (DOWNLOAD) finished. File: broken_file [megaapi_impl.cpp:15989] 04/07-17:22:29.060994 140253980714752 DTL Scanning: /path/to/mega/subpath1/subpath2/broken_file in=0 full=0 l=0x7f8f2156c3d0 [sync.cpp:1266] 04/07-17:22:29.061061 140253980714752 DBG Sync - local file change detected: /path/to/mega/subpath1/subpath2/broken_file [megaapi_impl.cpp:12791] 04/07-17:22:29.061077 140253980714752 DBG LocalNode created, associating with remote Node [file.cpp:581] 04/07-17:22:29.061079 140253980714752 DBG Saving LocalNode database with 1 additions and 0 deletions [sync.cpp:953] 04/07-17:22:29.061080 140253980714752 DBG DB transaction BEGIN /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_ID3.db [sqlite.cpp:309] 04/07-17:22:29.061122 140253980714752 DBG DB transaction COMMIT /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_ID3.db [sqlite.cpp:321] 04/07-17:22:29.062957 140253980714752 DTL Deleting PosixAsyncIOContext [fs.cpp:83] 04/07-17:22:29.062965 140253980714752 DBG Removing cached transfer [megaclient.cpp:9701] 04/07-17:22:29.062989 140253980714752 DBG DB transaction COMMIT /path/to/user/.local/share/data/Mega Limited/MEGAsync/megaclient_statecache12_transfers_ID1.db [sqlite.cpp:321] 04/07-17:22:29.069328 140253980714752 DTL syncops: 1100 [megaclient.cpp:2721] 04/07-17:22:29.069347 140253980714752 DTL syncops: 0100 [megaclient.cpp:2721] 04/07-17:22:29.069361 140253980714752 DBG Filesystem notification (deletion). Root: Font Path: broken_file [fs.cpp:763] 04/07-17:22:29.069362 140253980714752 DBG Filesystem notification. Root: Font Path: broken_file [fs.cpp:792] 04/07-17:22:29.069385 140253980714752 DBG Next notification repeats, skipping duplicate [sync.cpp:1808] 04/07-17:22:29.069437 140253980714752 DBG Self filesystem notification skipped [sync.cpp:1837] 04/07-17:22:29.069448 140253980714752 DBG Scan queue processed, triggering a scan [megaclient.cpp:2664] 04/07-17:22:29.069453 140253980714752 DTL syncops: 1100 [megaclient.cpp:2721] 04/07-17:22:29.069467 140253980714752 DTL Running syncdown [megaclient.cpp:2860] 04/07-17:22:29.069468 140253980714752 DBG Running syncdown on demand [megaclient.cpp:2876] 04/07-17:22:29.069485 140253980714752 DBG Node skipped Name: .debris [megaclient.cpp:12581] 04/07-17:22:29.241308 140253980714752 DBG LocalNode is newer: FETCH_HEAD LNmtime: 1617816004 Nmtime: 1617815854 [megaclient.cpp:12628] 04/07-17:22:29.254920 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/COMMIT_EDITMSG Nsize: 8 Nmtime: 1606510115 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.254921 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255073 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255077 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/HEAD Nsize: 23 Nmtime: 1617789293 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255078 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255106 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255109 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/ORIG_HEAD Nsize: 41 Nmtime: 1616850565 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255109 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255132 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255135 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/config Nsize: 2405 Nmtime: 1616973974 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255135 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255157 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255160 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/description Nsize: 73 Nmtime: 1448068916 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255160 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255179 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255182 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/hooks Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255182 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255182 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:29.255208 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:29.255211 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/index Nsize: 938487 Nmtime: 1617789293 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255212 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255230 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255233 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/info Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255233 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255233 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:29.255255 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:29.255258 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/logs Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255258 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255258 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:29.255280 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:29.255283 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/ms-persist.xml Nsize: 147 Nmtime: 1580938721 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255283 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255302 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255305 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/packed-refs Nsize: 1606 Nmtime: 1578763280 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255305 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255323 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255326 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/refs Nsize: -1 Nmtime: 0 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255326 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255326 140253980714752 DBG Creating local folder [megaclient.cpp:12829] 04/07-17:22:29.255349 140253980714752 DBG Skipping folder creation over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12833] 04/07-17:22:29.255351 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/sourcetreeconfig Nsize: 699 Nmtime: 1522178414 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255352 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255371 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255374 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/sourcetreeconfig.json Nsize: 446 Nmtime: 1576098597 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255378 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255399 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255410 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/tortoisegit.data Nsize: 82216 Nmtime: 1454100962 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255410 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787] 04/07-17:22:29.255429 140253980714752 DBG Skipping download over an unscanned file/folder, or the file/folder is not to be synced (special attributes) [megaclient.cpp:12804] 04/07-17:22:29.255432 140253980714752 DBG Unsynced remote node in syncdown: /path/to/mega/subpath1/edk2/.git/tortoisegit.index Nsize: 3148 Nmtime: 1454100962 Nhandle: [megaclient.cpp:12740] 04/07-17:22:29.255432 140253980714752 DBG doesn't have a previous localnode [megaclient.cpp:12787]

mattw-mega commented 3 years ago

Hi @mhaeuser , thanks very much for supplying the log. The relevant line is this:
04/07-17:22:27.366951 140253980714752 DBG LocalNode is older: broken_file LNmtime: 1614520093 Nmtime: 1617540229 [megaclient.cpp:13081] which indicates the local file was replaced with one with a timestamp from February (1614520093, you can convert from unix timestamp). The cloud node has an april timestamp (1617540229 ). Perhaps this modification time comparison is not ideal for all cases, and in fact some changes are in the works already. But in the meantime, if you overwrite the file with a current timestamp, it should upload the file rather than download it. thanks

mhaeuser commented 3 years ago

@mattw-mega Thank you for your quick reply! Thanks for the workaround, but I hope you agree this is just that. Can you please provide an update to this issue when the changes you mentioned land?

cwmke commented 3 years ago

Veracrypt users, do you have preserve modification time checked in preferences?

mattw-mega commented 1 year ago

Hi @sid-0309 , @mhaeuser , you may like to know we have a big update coming for MEGAsync which should help with that. Instead of deciding to upload/download based on modified time, it is based on which side of the sync changed. You can read about it and perhaps help test it here: https://github.com/meganz/MEGAsync/issues/770 thanks