User Tools

Site Tools


Sidebar






newpage

communitycloud:services:nextcloud

Table of Contents

Nextcloud

Setup

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,
  ),
),
...

Cronjob:

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!!


/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>


Links:

communitycloud/services/nextcloud.txt · Last modified: 2021/05/03 17:57 by tkilla