====== 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 * * * * php -f /var/www//cloud/wwwroot/cron.php run Cron / OCC manually: sudo -u php -f /var/www//cloud/wwwroot/cron.php ===== Collabora Setup ===== Collabora CODE replaces Onlyoffice and works like a Pad. **There are .deb Packages, use them!** https://www.collaboraoffice.com/code/linux-packages/ * NGINX is required as reverse proxy. Setup http://localhost:9980 ... * Create letsencrypt certs for your office. Subdomain and use httpS * use httpS://office. 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:** false true ** Also setting by commandline works (coolwsd in bullseye):** loolconfig set ssl.enable false loolconfig set ssl.termination true loolconfig set storage.wopi.host nextcloud.example.com loolconfig set-admin-password systemctl status loolwsd \\ **Links:** * Config Tips: https://www.linuxbabe.com/ubuntu/integrate-collabora-onlinenextcloud-without-docker * find the admin system here: https:// <...> /loleaflet/dist/admin/admin.html * Example nginx conf: https://help.nextcloud.com/t/nginx-collabora-behind-nginx-reverse-proxy/77889