Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mega-cmd unresponsive on Synology NAS #950

Open
BKFCAW opened this issue Mar 14, 2024 · 3 comments
Open

mega-cmd unresponsive on Synology NAS #950

BKFCAW opened this issue Mar 14, 2024 · 3 comments

Comments

@BKFCAW
Copy link

BKFCAW commented Mar 14, 2024

I am a Pro II subscriber, with 2 Linux boxes, 2 Max Minis and 1 Synology NAS (213j). For a while, all machines were synchronizing with MEGA properly, but as of yesterday, the NAS would not sync, and mega-cmd has become unresponsive. I finally uninstalled/reinstalled the MEGA app on the NAS. Now when I try to start mega-cmd, there is the greeting banner, then nothing, by that I mean that apparently mega-cmd-server and mega-cmd are running, but there is no mega-cmd prompt. I note from a 'top' command that mega-cmd-server is taking close to 60% of memory, but almost no CPU cycles.

@BKFCAW
Copy link
Author

BKFCAW commented Mar 14, 2024

I've tried again, and this time I get

Fetching nodes ||######################################||(195/195 MB: 100.00 %)

...at which point it hangs.

At this point I cannot access the Synology MEGA server to change, add or delete any sync information between the Synology and MEGA. The next step is to try to mount the Synology drive on a Mac, where communication with MEGA seems to work. Failing that, I will switch to iDrive or another service.

@polmr
Copy link
Collaborator

polmr commented Mar 18, 2024

Hello @BKFCAW
Are you using latest MEGAcmd version from https://mega.io/nas ?

If so, a log may indicate what is halting the execution of MEGAcmd Server.

Instructions to retrieve it:

  1. Ensure MEGAcmd server is not running.
    On a terminal:
pgrep mega-cmd-server >/dev/null && echo still running

If so, execute

mega-quit

Ensure again it's not running

pgrep mega-cmd-server >/dev/null && echo still running

If the above does not work, you can try to kill it in with more ungentle manners:

killall -2 mega-cmd-server && sleep 1 && killall -9 mega-cmd-server
  1. Execute the server with debug level enabled:
mega-cmd-server --debug-full 2>&1 > ~/megacmd.log

The above will save a log file in your HOME folder.

  1. Let it run for > 2 minutes. You can try to open another console and open mega-cmd (shell), to ensure it's not working.

  2. Close the server: Ctrl + C in the terminal where you execute the server, or mega-quit from another one.

  3. Have log sent to supporrt@mega.nz, since it may contain sensitive data. It will only be used for the purpose of analyzing your issue. Link this issue in your email.

@BKFCAW
Copy link
Author

BKFCAW commented Mar 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants