Desktop client is now available on flathub

The Nextcloud desktop client is now also available to be installed using flatpak. For those of you who are not aware of that, Flatpak is a application package system that is available on all major Linux distributions. It allows you to install and update applications quite easily and also gives a huge improvement in security, since all apps are running in a sandboxed environment. You can find out more about Flatpak here.

If you want to give the flatpak a try, you can easily install it by running the following command:

flatpak install --from https://flathub.org/repo/appstream/org.nextcloud.Nextcloud.flatpakref

After installing you can start the client using

flatpak run org.nextcloud.Nextcloud

In case you encounter issues, please report them at: https://github.com/flathub/org.nextcloud.Nextcloud

4 Likes

What about its integration with Nautilus / Caja / Nemo? I suppose, a flatpak package cannot install anything in the /usr hierarchy, so it is probably not going to work, or is it?

Yes, right now there is no support for the nautilus integration. It is also a known issue by nautilus: https://gitlab.gnome.org/GNOME/nautilus/issues/476

As a workaround you can manually place the plugin from https://github.com/nextcloud/desktop/blob/57bc7918d7b0650c116f3512787f7677d4e5ab17/shell_integration/nautilus/syncstate.py in /usr/share/nautilus-python/extensions/. If you install it manually make sure to set the appname in the script to Nextcloud.

Thanks for the info!

I just installed Nextcloud via flathub (https://flathub.org/apps/details/org.nextcloud.Nextcloud).
Works good, but it seams that the flathub version of Nextcloud is not supporting “TOTP second-factor auth” can you confirm this?

When I enable TOTP i can’t connect to my server (getting errors but no TOTP prompt), when disabled it works with no problems.

@w.reidlinger I recently released 2.5.1 to flathub. This should also fix your issue regarding two factor authentication, since it comes with the new login flow.

I think there is something wrong with flatpak distro. May you please take a look into this issue (I suspect there is a bug)