Nextcloud: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| 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 === | ||
Revision as of 13:57, 22 December 2024
=== 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 </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>