By default, Nextcloud generates photo thumbnails on-demand that leads to slow Photos thumbnails load. To speed it up we’re using the Preview Generator app for Nextcloud to pre-generate previews regularly.
First we set the default thumbnail sizes by using the "occ config" commands:
@zion you can do both at the same time. If you create a account within Nextcloud, Cloudrons LDAP is not involved. The other way around you can deny access for Cloudron accounts via the apps security tab within Cloudron. Switching off LDAP is not recommended but you are free to do whatever you like ^^
Also, the reason for nextcloud update is that it has some slightly tricky optimization to change ownership of files carefully. It also changes the default data directory of newer nextcloud installations.
@chminc Indeed, I looked into this quite recently myself for our setup and came to very similar conclusions. It's not advised to use object storage. We will move to volume storage in case the space on the server won't be enough - it is not that much more expensive. But I have made really good experience with the Cloudron backup function, it restored everything completely error-free. And you can store the backup on object storage. Using encryption is not a problem at all.
you must run this from within the nextcloud container.
also, I had some dificulties with the mysql migration, the temp mariadb/mysql docker container should match the same type and version as the source. In my case src had mariadb 10.5, so the container from the code sample above (mariadb 10.1) throw some strange errors while importing the sql dump.
@jdaviescoates This is an idea I have quickly considered as well but one reason why I want to move this installation to Cloudron so desperately is that I want to have less work with it, not more 🙂
We will probably need to live with the fact that we will need to re-share all information again and simply do the move using one of the manual ways (e.g. user migration plugin). That will create chaos for a day or two, but at least then we will have a more stable installation.