we recognized that many of you use ownCloud and Nextcloud on your DietPi. Thus we started to do a great rework of their automated installation and configuration to offer you the best optimized ready to use instances. You can follow the progress on github: https://github.com/Fourdee/DietPi/issues/1067
The rework includes:
- Optimized PHP settings to suppress warnings on web ui admin panel.
- Optimized Apache and Nginx configuration, selective for your instance subdirectory.
- Usage of Redis server for transactional file locking.
- Configure system cron to schedule ownCloud/Nextcloud cron jobs.
- Shortcuts for occ commands: Simply type 'occ' on ownCloud and 'ncc' on Nextcloud, without 'sudo -u www-data php /var/www/*cloud/'.
- 4-byte character support on database, to allow storing of emojis inside apps.
- Automated appliance of maintenance:mode on DietPi's maintenance tasks.
- Ongoing improvements are planned.
But as we want to be careful, we are not able to include all the changes we made into existing instances.
Thus if you want to enjoy the total set of improvements, simply uninstall ownCloud/Nextcloud via dietpi-software and install it again afterwards. Configurations, including selective webserver config files, will be removed that way, but your data will stay in place and your database will be dumped into the userdata folder. Afterwards, install the instance again and directly restore the nextcloud/owncloud database backup to fully restore all data inside your instance.
- Even that DietPi automatically creates a MySQL/MariaDB backup, we recommend to please always do a manual backup of database and datafolder by yourself, before doing significant changes. You may want to use 'dietpi-backup', or in scheduled way 'dietpi-sync' for this.
- Read the MariaDB instructions on how to dump and restore the database: https://mariadb.com/kb/en/library/backu ... -overview/. This is valid for MySQL databases as well.