flathub / nz.mega.MEGAsync

https://flathub.org/apps/details/nz.mega.MEGAsync
12 stars 9 forks source link

Unresponsive when adding Sync Folders #49

Closed abuturabofficial closed 9 months ago

abuturabofficial commented 1 year ago

I can login fine, but the app becomes unresponsive when adding the sync folders. The app will remain in the same state for an indefinite period of time, until from the tray/system monitor you quit/kill it. No matter how long you wait, it neither adds sync folders nor get out of freezing state or crash.

All these issues started with latest update of 4.9.5.0_OSX.

GrgMdmn commented 1 year ago

I have the same problem: I can confirm. Too bad, the flatpak version is the only one that has the rights to browse different storage drives.

mardab commented 1 year ago

Can confirm, this update replaces built-in file selector with one from system, and that does not translate well between system and flatpak, thus causes lockup no matter whether you select something or cancel.

Here is a handy downgrade command back to one before latest: # flatpak update --commit=7f30d8f2998e3376afb64525ae537f392c7b737b6209a13fc29a1610493f418c nz.mega.MEGAsync

abuturabofficial commented 1 year ago

Can confirm, this update replaces built-in file selector with one from system, and that does not translate well between system and flatpak, thus causes lockup no matter whether you select something or cancel.

Here is a handy downgrade command back to one before latest: # flatpak update --commit=7f30d8f2998e3376afb64525ae537f392c7b737b6209a13fc29a1610493f418c nz.mega.MEGAsync

Thanks a lot, I didn't know that method for downgrade.

JPT77 commented 10 months ago

The downgrade does not help much as it does not show any folders except the ones MegaSync created: MEGA and MEGAsync. Do I have to sync into these folders or shouln't I because they contain internal data?

abuturabofficial commented 10 months ago

The downgrade does not help much as it does not show any folders except the ones MegaSync created: MEGA and MEGAsync. Do I have to sync into these folders or shouln't I because they contain internal data?

Add required folders' permissions via flatseal (it used to work that way, now I don't use flatpak version anymore)

JPT77 commented 10 months ago

Yeah, sure. Thanks. Should help. Flatseal is not really user friendly, but somehow it does it's job.

DinoMC commented 9 months ago

To add to this, I tried downgrading to 4.9.5 as mentioned and while that fixed the local folder issue, it now had a new issue where it was impossible to select the cloud folder when creating a new sync.

After testing more versions, I finally found one where everything seems to work : I can select both folders, and then the app does sync my files correctly.

For anyone looking to solve the issue for now while hoping the flatpak get updated eventually, I would thus suggest to revert to version 4.7.3.

The commit ID is ad7bf83c064b88ecfb90260d7dfc20a15a6740dea30320f52c976aaadc232633 , and here's the full command I used to downgrade :

sudo flatpak update --commit=ad7bf83c064b88ecfb90260d7dfc20a15a6740dea30320f52c976aaadc232633 nz.mega.MEGAsync

abuturabofficial commented 9 months ago

@DinoMC Please consider using native package for your distribution or distrobox (if on some immutable distro), as flatpak version of megasync is very slow in upgrading to the latest release, and it may cause a security issue.

danieltomasz commented 9 months ago

@abuturabofficial unfortunately I have a problem with building latest megasync on Ubuntu 23.10, so I hope flatpak is a solution

abuturabofficial commented 9 months ago

@danieltomasz maybe try their .deb package instead of building from source for the time, issue is being fixed.