Short answer:
If Nextcloud is installed through its normal DEB packages, not Flatpack):
/home/pablo/.config/Nextcloud
If Nextcloud is installed through Flatpack):
/home/pablo/.var/app/org.nextcloud.Nextcloud/config
or
/home/pablo/.var/app/com.nextcloud.desktopclient.nextcloud/config
Long history:
I have been running several versions of Nextcloud in Linux Mint Cinamon computers and some Windows, using several servers from different providers which give some Gb for free.
In Linux Mint, I notice that all the versions that one can install from the software manager have some issues, are old or both.
in December 2022 none of the options offered by the Linux Mint Software Manager are version 3.5.4, which is the one I found working flawless at the time (end of November, beginning of December).
In this one, the config file was stored at (if it is installed through its normal DEB packages, not Flatpack):
/home/pablo/.config/Nextcloud
There are 1 or 2 option shown in software manager offering 3.3.x, which are Flatpack (take a lot of disk space) and had some issues storing the SSL certificate of cloud.operationtulip.com (I need to approve trust on that self signed certificate every very few minutes) β¦ hundreds of useless clicks per day. In them, the config file was stored at:
/home/pablo/.var/app/org.nextcloud.Nextcloud/config
or
/home/pablo/.var/app/com.nextcloud.desktopclient.nextcloud/config
There is another option shown in software manager, which is not Flatpack, but quite old (2.6.x) β¦ and shown some limitations handling several accounts and issues with some nextcloud providers.
It is quite old so, there is not point in giving more information about it.
Because of all these issues, I would advise running the latest version or at least the last one in December 2022, which is 3.5.4, by adding its specific PPA:
sudo add-apt-repository ppa:nextcloud-devs/client
- sudo apt update*
- sudo apt install nextcloud-client*
Thanks to the Nextcloud developers for such an amazing work.