Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and Configure Nextcloud Office #1101

Open
Blackwidow-sudo opened this issue Feb 28, 2025 · 0 comments
Open

Install and Configure Nextcloud Office #1101

Blackwidow-sudo opened this issue Feb 28, 2025 · 0 comments

Comments

@Blackwidow-sudo
Copy link

Blackwidow-sudo commented Feb 28, 2025

Problem

"Step 11 - Whitelist your Nextcloud instance to access Collabora" doesn't really fit into this guide. Although its not wrong to mention the coolwsd.xml for configuration purposes, the section is generally kind of misleading.

  • "Follow this Collabora Online guide to install the required packages." is misleading since we're running it with docker and not on the host OS.
  • Editing the /etc/coolwsd/coolwsd.xml file inside the container to add an alias group for https://nextcloud.example.com:443 is not necessary since we already declared that with the -e "aliasgroup1=https://nextcloud.example.com:443" in step 3 (according to the docs)

If there is anything wrong with what i say here, let me know.

Suggested Fix

We could replace it with the following:

Step 11 - Further configuration

For more fine grained configuration you can copy out the coolwsd.xml configuration file to edit it and then mount it.

First copy the config file and adjust the read permissions, so we don't get any errors when mounting it.

docker cp <container_id>:/etc/coolwsd/coolwsd.xml .
chmod 644 coolwsd.xml

Then stop and remove the container we started in step 3.

docker stop <container_id>
docker rm <container_id>

Edit the coolwsd.xml to your liking and finally start the container again, mounting the local coolwsd.xml as a config file:

docker run -t -d -p 127.0.0.1:9980:9980 -e "aliasgroup1=https://nextcloud.example.com:443" -v ./coolwsd.xml:/etc/coolwsd/coolwsd.xml --restart always collabora/code

If you dont specify the aliasgroup1 environment variable, you should add your nextcloud domain with an alias group to the config file to limit the access to office.example.com (see the docs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant