Nextcloud: Difference between revisions

From B-Wiki
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== occ command line ===
cd /etc/www/html
sudo -u www-data php8.2 occ maintenance:repair --include-expensive
=== Update tumbnails ===
=== Update tumbnails ===


Line 11: Line 15:
<syntaxhighlight lang="Shell Session">
<syntaxhighlight lang="Shell Session">
sudo -u#33 php -f /var/www/html/occ face:background_job
sudo -u#33 php -f /var/www/html/occ face:background_job
sudo -u#33 php -f /var/www/html/occ maintenance:repair --include-expensive
sudo -u#33 php -f /var/www/html/occ db:add-missing-indices
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 14:21, 16 March 2025

occ command line

cd /etc/www/html sudo -u www-data php8.2 occ maintenance:repair --include-expensive

Update tumbnails

<syntaxhighlight lang="Shell Session"> sudo -u#33 php -f /var/www/html/occ preview:generate-all -vvv </syntaxhighlight>

<syntaxhighlight lang="Shell Session"> sudo -u#33 php --define apc.enable_cli=1 ./occ db:add-missing-indices </syntaxhighlight>

<syntaxhighlight lang="Shell Session"> sudo -u#33 php -f /var/www/html/occ face:background_job

sudo -u#33 php -f /var/www/html/occ maintenance:repair --include-expensive sudo -u#33 php -f /var/www/html/occ db:add-missing-indices </syntaxhighlight>

Update files inside the data folders

<syntaxhighlight lang="Shell Session"> sudo -u www-data php --define apc.enable_cli=1 occ files:scan --all </syntaxhighlight>