Open alexdibella opened 3 months ago
Hello,
What likely is happening here is that the mega-cmd-server
instance running in the background gets terminated once you log out of your SSH session. The server process is needed for WebDAV and mega-backup
to function.
Could you please try running nohup mega-cmd-server &
before launching MEGAcmd, and then log out and see if the issue still persists? Thanks!
Hi,
That did not work. However, it did work when I left a byobu detached session open and logged out.
Do you have any idea why this could happen? mega-cmd-server
should be running no matter if a user is logged in or not.
mega-cmd-server
is launched as in the background when you run mega-cmd-shell
. That process is likely also being asked to quit as your user session gets closed on exiting ssh
. By always running an active session using a detached byobu instance, that guarantees that mega-cmd-server does not exit, which as a result keeps the WebDAV and mega-backup
sessions alive.
Hi,
I am running megacmd on my ubuntu server and I am serving a specific folder with webdav on the same machine. I wrote a script to backup some data to the served folder (via rsync, if that matters).
I have the following situation:
Failed to sync: couldn't list files: Propfind "http://127.0.0.1:4443/XXXXX/XXXXX/": dial tcp 127.0.0.1:4443: connect: connection refused
Any idea what could go wrong?
edit: if it helps, the same happens with overnight backups set up via
mega-cmd backup
. The files are uploaded to the cloud only when I ssh into my server to check in the morning...