meganz / MEGAcmd

Command Line Interactive and Scriptable Application to access MEGA
Other
1.89k stars 406 forks source link

Failed to register heartbeat record for new sync #953

Open nummu4 opened 3 months ago

nummu4 commented 3 months ago

Hi, I’ve synced megacmd with my QNap via shell. I’ve to shut down the computer and after that I couldn’t sync anymore, the server was irresponsive. I’ve tried to delete Megacmd and installed it again but now when I try to sync my folder I get the error Failed to sync: Invalid argument. I’ve activated the debug and in the log file I see this warning: Failed to register heartbeat record for new sync. Error: -2 What does it mean?

I’ve the last version of the MEGA app for NAS (1.6.3)

polmr commented 3 months ago

I think this should be a workaround to fix that: https://github.com/meganz/MEGAcmd/issues/623#issuecomment-1063906599

nummu4 commented 3 months ago

I've tried to use it, but I haven't access to /etc/machine-id or /var/lib/dbus/machine-id, it says Permission denied even if I'm using the root account

polmr commented 3 months ago

That's odd. Do they exist? have any content? What's the output of (if you see any, you can replace the actual characters by XXXX, before pasting them here):

nummu4 commented 3 months ago

Do I have to do those commands on my mac or on my nas via shell? In both cases I have results only with ls -ld /etc, the other doesn't exist (No such file or directory) For my mac I have: lrwxr-xr-x@ 1 root wheel 11 24 Ago 2022 /etc -> private/etc For my nas (shell): drwxr-xr-x 35 admin administ 3920 Mar 25 14:12 /etc/

nummu4 commented 3 months ago

Hi @polmr , any news on that? I still can't sync my files