mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
NextCloud : nginx config throws errors, Collabora Office doesn't work #121
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @papypom on 3/6/2025
CloudPanel version(s) affected
2.5.1 - Debian 12 Bookworm
Description
I'm using Nextcloud with Cloudpanel, using the preconfigured VHOST. I had to make somes changes to add the support for mjs & wasm file type, and to access properly /ocm-provider/. Also NextCloud Office throws erros, see screenshots.
How to reproduce
Using the PHP/Nextcloud preset, install nextcloud from zip file (https://download.nextcloud.com/server/releases/latest.zip) and go Administration/Overview and Administration/Nextcloud Office tab to have a list of issues.
Also the Administration/Logging and Administration/Activity don't work out of the box.
Possible Solution
Modify VHOST for Nextcloud, it should at least have the following added to it :
and the following lines have to be changed as such :
I haven't been able to figure out the Nextcloud Office issue, though. Collabora has a howto (https://www.collaboraonline.com/blog/connecting-collabora-online-built-in-code-server-with-nginx/), but following it doesn't solve the issue. I finally installed a separate instance of Collabora.
Additional Context
Using an ARM64 server from Hetzner, so had to replace the Collabora plugin by the ARM64 CODE plugin.