meganz / MEGAcmd

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

Cannot stop syncs once they enter failing state #979

Open theherk opened 3 weeks ago

theherk commented 3 weeks ago

MEGAcmd version

1.6.3

Operating System/Platform

Synology

Platform version. In the case of Linux, please enter the Linux distribution you are using.

DSM 7.2.1-69057 Update 5

Steps

  1. Install package
  2. Grant system user read write to shared directory.
  3. Add test sync of small directory, which worked.
  4. All larger sync, which starts failing sysstat() failed: error code: 2: No such file or directory, even though this is the same shared directory.
  5. Try to remove sync.
  6. Fail.
  7. Stop the server.
  8. Try to remove sync in non-interactive mode, which starts the server and again starts generating fail messages in the log.

Expected behavior

Syncs can be stopped.

Actual behavior

Syncs can't be stopped. Well the server can be stopped, but there is no way to take any action without the broken sync starting again, thus preventing the management of syncs. So it seems to be unusable.