meganz / MEGAsync

Easy automated syncing between your computers and your MEGA Cloud Drive
Other
1.58k stars 277 forks source link

Ubuntu: MEGAsync 'unknown drive path' error when trying to add a new folder for syncing #897

Open fsoft72 opened 5 months ago

fsoft72 commented 5 months ago

Hello,

MEGA sync UI throws an error when I try to add a new folder for syncing.

Steps:

I get the error Unknown drive path and nothis is added to Synced folders.

I am using: MEGA 4.11.0 - 64bit (6d4c102) I am running KUbuntu 23.10

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.10
DISTRIB_CODENAME=mantic
DISTRIB_DESCRIPTION="Ubuntu 23.10"

mega01 mega02

tt-mega commented 5 months ago

Hello fsoft72,

Please contact our support team by opening a ticket. They will help you to fix your issue. It could be likely related to the thumbnail creation process, causing the app to crash.

Apologies for the inconveniences.

Jeremi360 commented 2 months ago

I have the same problem.

Edit: Under Linux I closed MegaSync, removed both /home/jeremi360/.local/share/data/Mega Limited and /home/jeremi360/.cache/Mega Limited. I run MegaSync, have to setup everything again, but now it works :D

FPSUsername commented 2 months ago

I've asked support for help. To make things easier for anyone stumbling onto this problem.

Run the following command megasync --debug > ~/megasync.log and then try to add the sync. After that, you can read the log file and check what errors it gives. For me, one apparent error was

DTL  [MegaClient::JourneyID] Cache file path set [mCacheFilePath = '/home/fpsusername/.local/share/data/Mega Limited/MEGAsync/jid'] [megaclient.cpp:117]
ERR  Unable to FileAccess::fopen('/home/fpsusername/.local/share/data/Mega Limited/MEGAsync/jid'): sysstat() failed: error code: 2: No such file or directory [filesystem.cpp:1085]

I logged out of the app and deleted the whole "Mega Limited" folder (from the previous mentioned path). I logged back in and the issue is resolved.