I tried adding Nextcloud office and Collabora in the admin account under apps so I could create and read Documents and Spreedsheet files, but I don’t see them in the menu nor do they open when opening a file. Is there something special that needs to be done? Anyone know?
Please be aware that Office solutions have been withdrawn from the Murena self-hosting project probably because of their high resources (RAM, CPU) requirements.
I installed the built-in one, (Yea it is suppose to be slower, but I am mostly testing right now.) but it does not show up on the Murena Dashboard. When trying to open a file with writer, it times out. In: https://$Domain/settings/admin/richdocuments it says:
You have not configured the allow-list for WOPI requests. Without this setting users may download restricted files via WOPI requests to the Nextcloud server. Click here for more info
Could not establish connection to the Collabora Online server. This might be due to a missing configuration of your web server. For more information, please visit: Connecting Collabora Online Single Click with Nginx
And the directions is not clear enough for me to follow. (I do not know how to go into the Docker Containers and change things.)
I could try to reproduce your setup, but not before week 45 (from 11/5).
I can’t help you more for now, since I never installed this way and don’t know exactly how it behaves
It’s not a good idea to change anything in a Docker container, as they can get re-deployed from image without warning.
However, some host OS directories are exposed to container, you can find them in your /mnt/repo-base/docker-compose.yml file (look for volumes).
You will find, in your host OS:
Nextcloud configuration file in /mnt/repo-base/volumes/nextcloud/html/config/config.php
Nginx enabled configuration in /mnt/repo-base/config/nginx/sites-enabled/
Please be aware that creating a new Nginx “site” may need an additional Docker volume, and adding it to docker-compose.yml will probably trigger nginx container re-deploy at restart.
For example, a very basic static HTTPS-enabled “www.domain.tld” site:
I have not had time to look at it yet. It looks to actually be a Next Cloud issue that is passed onto the selfhosting. (At least part of it is.) The internal Collabora Online does not connect properly to Next Cloud. I got it working in Nextcloud (But that version was not a docker install.) I will try to work on it this week.
I got it somehow working.
Unfortunately, I’m facing some authorization token error when opening a document
I couldn’t find a solution, it bites me but I have to give up
They are plenty of threads in Nextcloud community forum, but none relevant
If anyone willing to try, here is the recipe for Docker Collabora. NB1 {domain.tld} is to be replaced with your actual DNS domain NB2 all commands to be issued in /mnt/repo-base directory
1. Prerequisites
1.1. Create a “collaboraonline” CNAME record in your DNS zone (to mail.{domain.tld})
1.3. restart nginx with docker-compose restart nginx
1.4. get SSL certificate with bash scripts/ssl-renew.sh
2. Get default configuration file
2.1. start a dummy container with docker pull collabora/code followed by docker run -t -d -p 9980:9980 -e 'aliasgroup1=https://collaboraonline.{domain.tld}:443' --restart always --cap-add MKNOD collabora/code
2.2. create a dedicated dir with mkdir -p volumes/collaboraonline/etc/coolwsd
2.3. get container ID with docker ps
2.4. copy generated default configuration with (replace {id}) docker cp {id}:/etc/coolwsd/coolwsd.xml volumes/collaboraonline/etc/coolwsd/
2.5. cleanup with docker stop {id} then docker rm {id}