Try the fastest and simplest way to install ONLYOFFICE

Documentserver not showing anything in nextcloud

Issues during installation, usage and configuring

Documentserver not showing anything in nextcloud

Postby oneiros » Sun Sep 10, 2017 5:51 pm

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
oneiros
 
Posts: 5
Joined: Sun Sep 10, 2017 5:35 pm

Re: Documentserver not showing anything in nextcloud

Postby Alexander_mb » Tue Sep 12, 2017 10:00 am

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.
Alexander_mb
 
Posts: 26
Joined: Tue Aug 08, 2017 2:01 pm

Re: Documentserver not showing anything in nextcloud

Postby oneiros » Tue Sep 12, 2017 3:49 pm

edit: never mind the post - sry
Last edited by oneiros on Wed Sep 13, 2017 8:47 pm, edited 1 time in total.
oneiros
 
Posts: 5
Joined: Sun Sep 10, 2017 5:35 pm

Re: Documentserver not showing anything in nextcloud

Postby oneiros » Tue Sep 12, 2017 4:11 pm

edit: never mind the post - sry
Last edited by oneiros on Wed Sep 13, 2017 8:47 pm, edited 1 time in total.
oneiros
 
Posts: 5
Joined: Sun Sep 10, 2017 5:35 pm

Re: Documentserver not showing anything in nextcloud

Postby oneiros » Tue Sep 12, 2017 4:15 pm

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!
oneiros
 
Posts: 5
Joined: Sun Sep 10, 2017 5:35 pm

Re: Documentserver not showing anything in nextcloud

Postby Alexander_mb » Thu Sep 14, 2017 10:05 am

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.
Alexander_mb
 
Posts: 26
Joined: Tue Aug 08, 2017 2:01 pm

Re: Documentserver not showing anything in nextcloud

Postby oneiros » Mon Sep 18, 2017 12:01 pm

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!
oneiros
 
Posts: 5
Joined: Sun Sep 10, 2017 5:35 pm

Re: Documentserver not showing anything in nextcloud

Postby Alexander_mb » Mon Sep 18, 2017 12:29 pm

Hello oneiros,

We are glad the issue has been resolved.
Alexander_mb
 
Posts: 26
Joined: Tue Aug 08, 2017 2:01 pm


Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 1 guest