Use Onlyoffice on cloudron1 with Nextcloud on cloudron2?
-
@murgero said in Use Onlyoffice on cloudron1 with Nextcloud on cloudron2?:
@ei8fdb Oh, change the secret key
/app/data/config/production-linux.json
(2 places to change it in the file!!!)Yup, done that.
Then add the domain you installed OO on cloudron1 to nextcloud on cloudron2 in the nextcloud OO app.
This is where the errors I've mentioned above occur.
-
I've been wondering about this too, so I just did a little test.
All I needed to do was to copy the URL and secret at nexcloudurl.coop/settings/admin/onlyoffice from the Nextcloud on Cloudron1 over to the Nextcloud on Cloudron2 and as far as I can tell I had OnlyOffice working (I created a new doc and typed some text).
I didn't need to do anything in the OnlyOffice app on Cloudron1 (indeed, I don't think I've ever had to touch that since installing it).
-
@girish said in Use Onlyoffice on cloudron1 with Nextcloud on cloudron2?:
@ei8fdb Can you not put any OO installation domain + secret in https://docs.cloudron.io/apps/onlyoffice/#setup-nextcloud-connector ?
Yes, that is correct. At least, that's all I had to do just now and it seemed to work fine. I didn't get any errors.
-
@jdaviescoates said in Use Onlyoffice on cloudron1 with Nextcloud on cloudron2?:
Yes, that is correct. At least, that's all I had to do just now and it seemed to work fine. I didn't get any errors.
Hmm interesting. Would you be willing to give me temporary access to that OO server so I can test? I promise not to write too many documents.
I wonder if it's due to me hosting the OO server on my home server and trying to access it from my company VPS-hosted Nextcloud (hosted on Cloudron).
-
@ei8fdb I also don't seem to be able to reproduce this here. Just to rule out anything obvious, for both collabora or onlyoffice + nextcloud both parties have to be able to reach themselves. So make sure there are no external firewalls or such blocking the oo app to connect to nextcloud and vice-versa. Otherwise the original error looks like the secret is wrong actually. Also likely obvious but just to be safe, when the secret is changed on the app side, it has to be restarted.
-
@nebulon said in Use Onlyoffice on cloudron1 with Nextcloud on cloudron2?:
@ei8fdb I also don't seem to be able to reproduce this here. Just to rule out anything obvious, for both collabora or onlyoffice + nextcloud both parties have to be able to reach themselves. So make sure there are no external firewalls or such blocking the oo app to connect to nextcloud and vice-versa.
@nebulon just checking - is it possible to ping from the OpenOffice terminal? I tried but get:
root@openoffice-container-id:/usr/bin# ping bash: /usr/bin/ping: Operation not permitted
I can ping the Nextcloud server from the OO server cloudron server, and vice-versa.
1. bernat@cloudron1:~$ ping nextcloud.cloudron2 PING nextcloud.cloudron2 (AAA.BBB.CCC.DDD) 56(84) bytes of data. 64 bytes from nextcloud.cloudron2 (AAA.BBB.CCC.DDD): icmp_seq=1 ttl=52 time=27.4 ms 2. root@cloudron2:~# ping ootest.cloudron1 PING ootest.cloudron1 (EEE.FFF.GGG.HHH) 56(84) bytes of data. 64 bytes from EEE.FFF.GGG.HHH: icmp_seq=1 ttl=53 time=27.3 ms
Otherwise the original error looks like the secret is wrong actually. Also likely obvious but just to be safe, when the secret is changed on the app side, it has to be restarted.
I didn't change the secret on the test OO server so it's not caused a wrong password.
@nebulon - could I give you temporary access to my test OO server and see if you can use it?
I'm at a loss to where the issue is.