MEGAsync icon indicating copy to clipboard operation
MEGAsync copied to clipboard

Adding a Local Folder to sync causes the app to freeze - Flatpak version

Open N-Prime opened this issue 10 months ago • 3 comments

Fedora Kinoite 39

Steps to recreate: Settings > Sync > Add > Select

Once you get to this screen it doesn't matter if you select a folder and hit OK or if you cancel - both will return you to the "Add folder" dialog and you can't interact with the app any further (besides right-clicking the icon on the notification area and selecting "Exit"

The last version where this function worked for me was 4.9.1 (4aea5a1).

On Flathub, it has a commit of: 7f30d8f2998e3376afb64525ae537f392c7b737b6209a13fc29a1610493f418c

Released on 2023-06-27

A workaround is to install a previous version before the problem started happening.

This can be done with the command (example below installs the version I mentioned above): sudo flatpak update --commit=7f30d8f2998e3376afb64525ae537f392c7b737b6209a13fc29a1610493f418c nz.mega.MEGAsync

To get a list of all versions on Flathub, use the command: flatpak remote-info --log flathub nz.mega.MEGAsync

Once a folder to be synced is selected, can safely update the app.

Someone else mentioned having the same problem: https://github.com/meganz/MEGAsync/issues/928

N-Prime avatar Apr 17 '24 19:04 N-Prime

Hello @N-Prime, The Desktop app in Flatpak wasn't provided by Mega. It was added to the repository by its own administrator, Please download the official version of the app from https://mega.io/desktop and install it. If your issue persists after installing the official version, please don't hesitate to contact us at [email protected] from the affected email address explaining your issue and we will be happy to help you.

tt-mega avatar Apr 23 '24 03:04 tt-mega

I confirm this is also happening to me in Arch Linux.

Take note that version 4.9.1 has a different sync mechanism, most notably it does not use .megaignore. As long as MEGA backend server still accepts syncs from the old protocol then using the older 4.9.1 is fine.

My hunch is this is about some Java thing and how it can't properly interface with the system's local file dialog box.

Hopefully this will be fixed soon.

jasongodev avatar May 20 '24 00:05 jasongodev

Happens to me as well with Fedora 40 Kinoite and megasync 5.2.1.0 flatpak version. Installing the rpm from the webpage leads to an other error error while loading shared libraries: libavformat.so.59: cannot open shared object file: No such file or directory

xtc0r avatar Aug 27 '24 17:08 xtc0r

Just some update, I'm currently testing a new flatpak manifest that I wrote that will build the version 5.2 and solves all these issues. Still waiting for the test to finish: https://github.com/flathub/nz.mega.MEGAsync/pull/94

jasongodev avatar Aug 27 '24 19:08 jasongodev