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

Synology DS7.2.2 problem with mega-cmd cant login, stuck and unable to get locale #1029

Open
sykmer opened this issue Feb 6, 2025 · 0 comments
Labels

Comments

@sykmer
Copy link

sykmer commented Feb 6, 2025

MEGAcmd version

1.4.1

Operating System/Platform

Synology

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

DSM 7.2.2-72806 Update 2

Steps

Hello

I have a problem with MEGAcmd on my Synology NAS server.
My server model is DS3622xs+
I installed the MEGAcmd package from synology packages directly through their software
The latest version they have there is
MEGAcmd version: 1.4.0.0: code 1040000

The problem is that after entering the command to log in, the program hangs and nothing happens.
NAS@NAS:~$ mega-cmd

.======================================================================================================================.
| __ __ _____ ____ _ _ |
| | / | |/ | / \ ___ _ __ ___ _| | |
| | |/| | \ / | _ / _ \ / | ' _ \ / _ | |
| | | | | /
\ |
| |/ ___ \ (
| | | | | | (
| | |
| |
| |
||_// ____|| || ||_,_| |
| |
| Welcome to MEGAcmd! A Command Line Interactive and Scriptable |
| Application to interact with your MEGA account. |
| Please write to [email protected] if you find any issue or |
| have any suggestion concerning its functionalities. |
| Enter "help --non-interactive" to learn how to use MEGAcmd with scripts. |
| Enter "help" for basic info and a list of available commands. |
`======================================================================================================================´
MEGA CMD> whoami
[API:err: 13:01:19] Not logged in.
MEGA CMD> login myemail mypassword

The DSM system is installed cleanly because it is a new server

Yesterday I also tried to log in in the evening but from the new information in the console I had this:

[Initiating server in background. Log: /var/services/homes/sykmer/.megaCmd/megacmdserver.log]
Warning: unable to get locale
MEGA CMD> whoami
[API:err: 21:31:06] Not logged in.
MEGA CMD> login myemail mypassword
ERROR reading output code: 104#################################################################||(39/39 MB: 100.00 %)

[Server is probably down. Type to respawn or reconnect to it]
MEGA CMD>

LOGI:
NAS@NAS:~$ cat /var/services/homes/sykmer/.megaCmd/megacmdserver.log

.======================================================================================================================.
| __ __ _____ ____ _ _ |
| | / | |/ | / \ ___ _ __ ___ _| | |
| | |/| | \ / | _ / _ \ / | ' _ \ / _ | |
| | | | | /
\ |
| |/ ___ \ (
| | | | | | (
| | |
| |
| |
||_// ____|| || ||_,_| |
| |
| SERVER |
`======================================================================================================================´
[API:err: 13:01:19] Not logged in.

NAS@NAS:~$ ps aux | grep mega
NAS 2865 0.0 0.0 106040 2148 pts/0 Sl+ 14:01 0:00 mega-cmd
NAS 11777 0.0 0.0 33216 2460 pts/1 S+ 14:08 0:00 grep --color=auto mega
NAS 31343 0.0 0.1 809488 17336 ? Ssl 13:58 0:00 mega-cmd-server

Can you help me solve this problem?
I would like to synchronize directories from mega to my synology.

I also wanted to manually update the Megacmd version on the synology to the latest one, but the process defeated me due to its complexity.

Expected behavior

I would like to synchronize directories from mega to my synology.

Actual behavior

The problem is that after entering the command to log in, the program hangs and nothing happens.
NAS@NAS:~$ mega-cmd

.======================================================================================================================.
| __ __ _____ ____ _ _ |
| | / | |/ | / \ ___ _ __ ___ _| | |
| | |/| | \ / | _ / _ \ / | ' _ \ / _ | |
| | | | | /
\ |
| |/ ___ \ (
| | | | | | (
| | |
| |
| |
||_// ____|| || ||_,_| |
| |
| Welcome to MEGAcmd! A Command Line Interactive and Scriptable |
| Application to interact with your MEGA account. |
| Please write to [email protected] if you find any issue or |
| have any suggestion concerning its functionalities. |
| Enter "help --non-interactive" to learn how to use MEGAcmd with scripts. |
| Enter "help" for basic info and a list of available commands. |
`======================================================================================================================´
MEGA CMD> whoami
[API:err: 13:01:19] Not logged in.
MEGA CMD> login myemail mypassword

@sykmer sykmer added the bug label Feb 6, 2025
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

1 participant