OnlyOffice broke after Nextcloud Upgrade (ver 22.1.1)

NethServer Version: 7.9
Module: Nextcloud
Hi all,
and these days the Nextcloud (nethserver enterprise) update to version 22.1.1.
On some servers, OnlyOffice broke …
I tried to reinstall the connector but I get this error, when clic to SAVE:

Error trying to connect (Host violates local access rules)

Has anyone had the same problem?
TK

Sorry I have only now seen the solution of the good markuz.
TK

I had this error recently because my DNS gave me the internal IP of the Onlyoffice host and this needs to be allowed in Nextcloud.

From the wiki (to share the solution here too):

“violates local access rules” error

add

'allow_local_remote_servers' => true,

to /usr/share/nextcloud/config/config.php.

Maybe your DNS provides a local IP address for the Onlyoffice host. This way you can allow local network addresses.

2 Likes

Hi @roberto.schiano,
can you post a link to the solution for others here please? Also it would be fine if you mark the topic as solved.

Edit!!!
@mrmarkuz answered with the solution here at the same time I wrote this message, so you don’t need to post the link, but marking the topic as solved will help others too.

2 Likes

Sorry,
I tried the Markuz’s solution and now OnlyOffice works well.

As markuz wrote above, the solution can be found here:

https://wiki.nethserver.org/doku.php?id=onlyoffice#issues

Tk to all

2 Likes