nextcloud
- Erik Lönroth
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/edge | 26 | 30 Jul 2024 |
juju deploy nextcloud --channel edge
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
20.04
18.04
Upgrading nextcloud
Currently, upgrading nextcloud is a manual process.
sudo -u www-data php /var/www/nextcloud/updater/updater.phar
Log from the process is in /var/www/nextcloud/updater.log
Backups from the upgrade is kept in /var/www/updater-xyz/backups/
Updating .htaccess
This updates the /var/www/nextcloud/.htaccess
cd /var/www/nextcloud/
sudo -u www-data php occ maintenance:update:htaccess
Upgrading from php7 to php8 (If you have an old installation)
If you are going from a php7 to a php8 environment.
apt install php8.1-curl php8.1-xml php8.1-pgsql php8.1-mbstring php8.1-gd php8.1-redis php8.1-intl php8.1-gmp php8.1-bcmath libapache2-mod-php8.1 php8.1-fpm
a2enmod php8.1
systemctl disable php7.4
systemctl disable php7.4-fpm.service
systemctl enable php8.1-fpm.service --now
a2enmod proxy_fcgi setenvif
a2disconf php7.4-fpm
systemctl restart apache2