User Tools

Site Tools




Table of Contents



Nextcloud config.php:

Caching with php-apcu and local memcached server:

'default_language' => 'de',
'default_locale' => 'de_DE',
'default_phone_region' => 'DE',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Memcached',
'memcached_servers' => 
array (
  0 => 
  array (
    0 => 'localhost',
    1 => 11211,


Don't use AJAX cron, use system cron:

  • /5 * * * * <user> php -f /var/www/<domain>/cloud/wwwroot/cron.php

run Cron / OCC manually:

sudo -u <user> php -f /var/www/<domain>/cloud/wwwroot/cron.php

Collabora Setup

Collabora CODE replaces Onlyoffice and works like a Pad.

There are .deb Packages, use them!

  • NGINX is required as reverse proxy. Setup http://localhost:9980
  • Create letsencrypt certs for your office.<domain> Subdomain and use httpS
  • use httpS://office.<domain> in the Collabora App Settings
  • Setup SSL in /etc/loolwsd/loolwsd.xml: Browser SSL = false, termination = true!!
  • In bullseye loolwsd was renamed to coolwd 8-o

/etc/loolwsd/loolwsd.xml Changes:

<enable type="bool" desc="Controls whether SSL encryption between browser and loolwsd is enabled (do not disable for production deployment). If default is false, must first be compiled with SSL support to enable." default="true">false</enable>
<termination desc="Connection via proxy where loolwsd acts as working via https, but actually uses http." type="bool" default="true">true</termination>

Also setting by commandline works (coolwsd in bullseye):

loolconfig set ssl.enable false
loolconfig set ssl.termination true
loolconfig set
loolconfig set-admin-password
systemctl status loolwsd


communitycloud/services/nextcloud.txt · Last modified: 2023/04/14 20:16 by tkilla