User Tools

Site Tools


computing:nextcloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
computing:nextcloud [2023/12/16 23:50] oemb1905computing:nextcloud [2023/12/17 00:27] oemb1905
Line 244: Line 244:
   sudo -u www-data php updater.phar   sudo -u www-data php updater.phar
      
-Use redis for everything except local memcache which uses apcu. Also, in this configuration, redis is on the same machine as nextcloud. First, install needed packages.+Use redis for everything except local memcache which uses apcu. Also, in this configuration, redis is on the same machine as nextcloud. First, install needed packages. Adjust versions to your needs.
  
-  sudo apt install redis memcached php-apcu php-redis redis-server php-memcache php-memcached +  sudo apt install  php-{apcu,redis,memcache,memcached} redis memcached redis-server 
-  sudo apt install  php8.2-{apcu,redis,memcache,memcached} redis memcached redis-server+  sudo apt install  php8.3-{apcu,redis,memcache,memcached} redis memcached redis-server 
 +  sudo apt-get install php-{xml,curl,gd,cgi,zip,mysql,mbstring,intl,fpm,apcu,gmp,imagick,bcmath,bz2} 
 +  sudo apt-get install php8.3-{xml,curl,gd,cgi,zip,mysql,mbstring,intl,fpm,apcu,gmp,imagick,bcmath,bz2}
  
 Then, right underneath the '''filelocking.enabled' => true,'' line, enter the following: Then, right underneath the '''filelocking.enabled' => true,'' line, enter the following:
Line 270: Line 272:
   RewriteRule ^\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L]   RewriteRule ^\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L]
      
-Enable rotation of logs, delete the log contents (removes errors from admin settings GUI)+Enable rotation of logs
  
   'log_rotate_size' => 100 * 1024 * 1024,   'log_rotate_size' => 100 * 1024 * 1024,
 +
 +Delete the log contents (removes errors from admin settings GUI)
 +  
 +  sudo -u www-data truncate nextcloud.log  --size 0
  
 This will put the logs on a schedule and remove old errors in due time. This will put the logs on a schedule and remove old errors in due time.
  
  --- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/12/16 18:56//  --- //[[jonathan@haacksnetworking.org|oemb1905]] 2023/12/16 18:56//
computing/nextcloud.txt · Last modified: 2024/04/13 21:18 by oemb1905