Additional note: Nextcloud also comes as part of Mail-in-a-Box (MIAB). If you are using that version of Nextcloud, you need to know the following:
1- It uses SQLite, you can't change this easily as the same SQLite is also accessed by MIAB to sync contacts and calendar functionality. The Nextcloud devs don't recommend SQLite for multi user servers. [1]
2- MIAB supports using Nextcloud for managing contacts and calendar but file management is not officially supported so if you want to use that same installation of Nextcloud for storing your files, you won't get support from the MIAB devs in relation to any issue related to files storage [2] (in that case you will have to seek help from the Nexcloud community).
3- As a result of the 2 points above, for multiuser installations you may want to have a second instance of Nextcloud, backed by Postgres or MariaDB, just for your files storage, while you can keep using the version included in MIAB for contacts and calendar. However, for a single user installation, you would be fine using the version of Nextcloud that comes in MIAB (I have been doing that for a long time and I'm fine, mine is a single-user system).
4- The version of Nextcloud that is included in MIAB by default locks access to the admin interface, this can be unlocked using the provided script [3]
5- The automated backups that MIAB creates, will also include all your Nextcloud flies, not just email, calendar and contacts. So if you have a lot of files it's a good idea to use the S3 backup functionality instead of the default on-disk backup method (otherwise backups files will soon eat up all your storage). In my case I use the MIAB S3 backups feature, and I save my data in Digitalocean Spaces which is S3-compatible [4]
1- It uses SQLite, you can't change this easily as the same SQLite is also accessed by MIAB to sync contacts and calendar functionality. The Nextcloud devs don't recommend SQLite for multi user servers. [1]
2- MIAB supports using Nextcloud for managing contacts and calendar but file management is not officially supported so if you want to use that same installation of Nextcloud for storing your files, you won't get support from the MIAB devs in relation to any issue related to files storage [2] (in that case you will have to seek help from the Nexcloud community).
3- As a result of the 2 points above, for multiuser installations you may want to have a second instance of Nextcloud, backed by Postgres or MariaDB, just for your files storage, while you can keep using the version included in MIAB for contacts and calendar. However, for a single user installation, you would be fine using the version of Nextcloud that comes in MIAB (I have been doing that for a long time and I'm fine, mine is a single-user system).
4- The version of Nextcloud that is included in MIAB by default locks access to the admin interface, this can be unlocked using the provided script [3]
5- The automated backups that MIAB creates, will also include all your Nextcloud flies, not just email, calendar and contacts. So if you have a lot of files it's a good idea to use the S3 backup functionality instead of the default on-disk backup method (otherwise backups files will soon eat up all your storage). In my case I use the MIAB S3 backups feature, and I save my data in Digitalocean Spaces which is S3-compatible [4]
[1] https://docs.nextcloud.com/server/stable/admin_manual/config...
[2] See par. "What’s inside the box?" https://mailinabox.email/
[3] https://github.com/mail-in-a-box/mailinabox/blob/master/tool...
[4] https://www.digitalocean.com/docs/spaces/resources/s3-sdk-ex...