Skip to main content

Update Commands

As with most things in my world, it seems following the directions simply don't work like they are intended, and as such, I have to modify commands to execute tasks tailored to my installation. Here is my list of those, as I run across them.

Ensure you are in the NC directory: /var/www/nextcloud/

Update DB Indices

sudo -u www-data php8.2 --define apc.enable_cli=1  /var/www/nextcloud/occ  maintenance:repair --include-expensive

Maintenance Repair

sudo -u www-data php8.2 --define apc.enable_cli=1  /var/www/nextcloud/occ  maintenance:repair