Connect internal OnlyOffice with internal nextcloud with http?

Hello,

I have an internal nextcloud and internal onlyoffice instance, so it is not nessessary to encrypt the communication between this both applications.
But the OnlyOffice App has https as mandatory.
It is possible to connect nextcloud and onlyoffice with http, e.g. to comment out the right lines in an onlyoffice php file?

Thank you!
Michael

assuming you are using containers you can use this settings in nextcloud to connect to an onlyoffice container through http.

Hello,

assuming you are using containers

No, I have a normal installation. My nextcloud is in the path /var/www/html/cloud

And I can’t find a file named “configure_onlyoffice.yml”

How is the file in a non dockewr installation?
Thanks!

without docker it’s

sudo -u www-data php /var/www/html/cloud/occ --no-warnings config:system:set onlyoffice 'DocumentServerUrl --value="/ds-vpath/"'
sudo -u www-data php /var/www/html/cloud/occ --no-warnings config:system:set onlyoffice 'DocumentServerInternalUrl --value="http://<onlyoffice_documentserver>/"'
sudo -u www-data php /var/www/html/cloud/occ --no-warnings config:system:set onlyoffice 'StorageUrl --value="http://<nextcloud-web-adress>/"'

or you can enter the values through the nextcloud web gui.

Hello,

–value=“/ds-vpath/”’

What is ‘ds-vpath’?

My nextcloud run with 192.168.178.194/cloud
My OnlyOffice run with 192.168.178.193

i got this settings from here:

https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud

sorry. i forgot. that’s the reverse proxy path in the nextcloud nginx server. you have to add some lines to it’s config too.

and

that’s not true since they start the docker container with -p 80:80

Hello,

possible, but I have a native installation and not a docker. (my knowledge of docker is still too low)

If I try to connect with http, an error occured:

OnlyOffice is running with http, but the App in nextcloud require https

this settings

go here
grafik

did you open this submenu?

Hello,

Yes now!
I have input “http://192.168.178.193” in both fields and leave the first field empty.
The nextcloud App writes: Data has been updated successfully.

But I have not the context menu “Open with ONLYOFFICE” !?

since you run nc and oo on different servers you should have different entries.

what happens when you click on a office document?

…194/cloud is the nextcloud server
… 193 is the onlyoffice
So is this correct?

what happens when you click on a office document?

It occured the download mask

Thank you for your patience!

that’s what i get after i run the playbook:

grafik

and then you should be able to create new offices docs.

grafik

Hello,
yes, now I see the three new items in my menu (Dokument, Tabelle, Präsentation)

But now - the next probelm - nextcloud write, onlyoffice is not available:

But if I access direct with my browser to the document server, he write all is fine:

What else could be wrong here?

Hi! I have a normal installation of NC on bare metal and would like to add Community Edition, which supports versioning. I assume, that I need to install a docker image. Would you be so kind to explain, how to do it efficiently?

Reiner:

Referring to your first reply to this topic (July 20. 2019 9:30 PM):

I am running my nextcloud and onlyoffice instances in docker containers, and I have a similar issue to the one described here (not the same issue, but similar).

I do not quite understand this answer.

The githib link describes a "configure_onlyoffice.yml file. As there is no such file anywhere in a nextcloud installation, I am presuming that this is a fragment of a docker-compose.yml file. The problem is, where exactly do you put it?

There is no (known) tasks keyword in docker-compose yml. Putting this text as is causes errors when starting the container. There must be a keyword to use, but which one? Is there an example somewhere of running these tasks from a docker-compose.yml file? Is there an example of a docker-compose.yml file that incorporates these tasks???