richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

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

Open carloscjdev opened this issue 4 years ago • 3 comments

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

carloscjdev avatar Oct 07 '21 12:10 carloscjdev

@juliushaertl same #1497

BornToBeRoot avatar Jan 02 '22 01:01 BornToBeRoot

@carloscjdev did you managed to solve this? any workaround?

ccerrillo avatar Sep 20 '22 12:09 ccerrillo

Did you initially setup/install richdocumentscode + richdocuments while connected via http://localhost:8080 by chance?

What happens if you either change the wopi_url/public_wopi_url from the command-line or change/re-save settings under Admin settings->Office?

joshtrichards avatar Nov 16 '23 15:11 joshtrichards