nextcloud / nextcloud/richdocuments

Collabora online not opening when Nextcloud is running in Docker with reverse proxy

Open
#1,795 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug integration: built-in code server setup
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug
Collabora Online built-in instance is not opening when Nextcloud is running on docker with the environment variable "OVERWRITEHOST" is set, and nginx is running by reverse proxy

To Reproduce
Steps to reproduce the behavior:

  1. Run owncloud by
    docker run -d --restart always -e OVERWRITEHOST=example.com -e OVERWRITEPROTOCOL=https -p 127.0.0.1:8080:80 nextcloud
  2. Setup nginx reverse proxy (with SSL)
  3. Enable collabora built-in server in settings
  4. Try to edit a document

Expected behavior
The document should be opened, but instead an error page is shown. I suspect that the problem is that the host in OVERWRITEHOST is not taken by collabora online, because in "Network inspector" it is showing the host "localhost:8080", which is invalid.

Screenshots

Screenshot_20211007_143545

Client details:

  • OS: Debian 10 buster
  • Browser: any

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the documented Docker command with OVERWRITEHOST and OVERWRITEPROTOCOL, an nginx SSL reverse proxy, and the built-in Collabora server. Start with the Network inspector result showing localhost:8080, then trace the Collabora launch/configuration path; done means a document opens through the configured reverse-proxy host.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.