Page 1 of 1

Documentserver not showing anything in nextcloud

PostPosted: Sun Sep 10, 2017 5:51 pm
by oneiros
Hi,

i installed the onlyoffice document-server via docker and got it running - no problem so far. It's listening on port 9980, I started it via:

Code: Select all
docker run -i -t -d -p 9980:80 onlyoffice/documentserver


My apache vhost configuration looks like the following:
Code: Select all
<VirtualHost onlyoffice.mytld.wtf:443>
  ServerName onlyoffice.mytld.wtf:443

  # SSL configuration, you may want to take the easy route instead and use Lets Encrypt!
  SSLEngine on
  SSLCertificateFile /etc/letsencrypt/live/onlyoffice.mytld.wtf/cert.pem
  SSLCertificateChainFile /etc/letsencrypt/live/onlyoffice.mytld.wtf/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/onlyoffice.mytld.wtf/privkey.pem
  SSLProtocol             all -SSLv2 -SSLv3
  SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RS
A-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-E
CDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GC
M-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
  SSLHonorCipherOrder     on

#  Container uses a unique non-signed certificate
    SSLProxyEngine On
    SSLProxyVerify None
    SSLProxyCheckPeerCN Off
    SSLProxyCheckPeerName Off

  # keep the host
  ProxyPreserveHost On

  ProxyPass           / http://127.0.0.1:9980/
  ProxyPassReverse    / http://127.0.0.1:9980/
</VirtualHost>


I can visit the document-server site via myip:9980 (http) and It's up and running.
I can also visit i tvia https://onlyoffice.mytld.wtf/welcome/ - Document server is running.
So far, so good. Now, in my nextcloud (v12) I installed and activated the onlyoffice app in the internal store. It's version 1.1.4.
I configured my "onlyoffice" tab unter settings -> administrator -> basic settings to the address: https://onlyoffice.mytld.wtf/

In the cloud, i made a new file -> document -> named it and opened it. Now, I can see the top-navigation bar of my nextcloud, the rest of the screen is blank (white).
No error or something else is reported so far.

Did I something wrong in configuration or is this maybe another known noob-user problem?

Thanks for help!

Greetings

Alex

Re: Documentserver not showing anything in nextcloud

PostPosted: Tue Sep 12, 2017 10:00 am
by Alexander_mb
Hello Alex,

Please open the console of the browser when opening the document and send us the screenshot of the Network tab of the console.

Re: Documentserver not showing anything in nextcloud

PostPosted: Tue Sep 12, 2017 3:49 pm
by oneiros
edit: never mind the post - sry

Re: Documentserver not showing anything in nextcloud

PostPosted: Tue Sep 12, 2017 4:11 pm
by oneiros
edit: never mind the post - sry

Re: Documentserver not showing anything in nextcloud

PostPosted: Tue Sep 12, 2017 4:15 pm
by oneiros
Hi,

Image

https://i.imgur.com/ZKs1Mf2.png
Content Security Policy: The Settings of the site blocked the loading of a ressource: http://onlyoffice.oneiros.wtf...

I can also create you a nextcloud-account if it can be helpful.
Thanks!

Re: Documentserver not showing anything in nextcloud

PostPosted: Thu Sep 14, 2017 10:05 am
by Alexander_mb
Hello oneiros,

The problem is that your Document Server uses http protocol and NextCloud https protocol. You need to turn on https on your document server to resolve the problem. You can find more information in our Help Center.

Re: Documentserver not showing anything in nextcloud

PostPosted: Mon Sep 18, 2017 12:01 pm
by oneiros
Oh boy, could've come to that idea on my own. If everything would be that easy :)
Thanks a lot for your help! I really appreciate it!

Greetings and a lot of thanks!

Re: Documentserver not showing anything in nextcloud

PostPosted: Mon Sep 18, 2017 12:29 pm
by Alexander_mb
Hello oneiros,

We are glad the issue has been resolved.