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

syncNode_nfs_count(2) >= 2! This should not happen! #1035

Open
untitled9074 opened this issue Feb 21, 2025 · 1 comment
Open

syncNode_nfs_count(2) >= 2! This should not happen! #1035

untitled9074 opened this issue Feb 21, 2025 · 1 comment
Labels

Comments

@untitled9074
Copy link

MEGAcmd version

2.0.0

Operating System/Platform

Linux

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

Ubuntu 24.04

Steps

I noticed today that my log is full of the subject line errors (if journalctl | grep syncNode_nfs_count | less to be trusted, it started today). I edited couple .megaignore files, resolved couple of sync issues (symlinks I did not care about), moved couple folders around.

Expected behavior

No errors

Actual behavior

Errors.

Any idea what could have caused this? What should I do to fix this?

@polmr
Copy link
Collaborator

polmr commented Feb 24, 2025

Hello @untitled9074

May we ask you some extra help in order to identify the reasons for that unexpected message?

We would like some more context regarding how have you configured your sync(s). Any information will be welcomed. Did you have sync configured within MEGAcmd before updating to latest version? Where they new? any particular filesystem?

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
  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 a while untill you see the mentioned errors.

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

  3. Together with ~/megacmd.log you should find log files within ~/.megaCmd folder (named megacmdserver.log and perhaps rotated ones megacmdserver.log.2025-XX-XX_XX-XX-XX.XXXXXX.gz)

  4. Have all these logs sent to [email protected] (instead of this thread) since they may contain sensitive data like local folder paths. Note: they will only be used for the purpose of analyzing your issue. Link this issue in your email.

Additionally, you may want to share the output of this command (executed while mega-cmd-server is running):

mega-sync-issues  --detail --all --limit=0 > ~/sync_issues.log

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

No branches or pull requests

2 participants