markVnl / nethserver-collabora

GNU General Public License v2.0
0 stars 0 forks source link

Resolved: Unauthorized WOPI Host with external NextCloud after nethserver-collabora update #2

Open mmccarn opened 3 years ago

mmccarn commented 3 years ago

Error in Nextcloud:

Unauthorized WOPI Host

Resolution:

config setprop loolwsd AllowWopiHost nextcloud.my-domain.tld
signal-event nethserver-collabora-update

(Note: "nextcloud.my-domain.tld" resolves to my external nextcloud server)

Why I'm documenting this:

I've been successfully using nethserver-collabora with an external Nextcloud server since October 2019.

However, I had never set 'AllowWopiHost' (even though the wiki page clearly says to set this value if nextcloud is on a different server, and has not been edited since before I installed nethserver-collabora...)

I suddenly started getting Unauthorized WOPI Host errors after updating to nethserver-collabora.noarch 0.1.2-1.ns7 on Feb 18 2021.

Setting AllowWopiHost as shown above solved the problem.

Thanks, by the way - I found setting up a neth server and installing nethserver-collabora to be the easiest and most maintanable solution for integrating collabora with Nextcloud...

markVnl commented 3 years ago

Hi @mmccarn,

Thanks for the feedback 👍

Updates where actually broken for a year after fixing this some issues came to light,

Will document this in the README/wiki/documentation before the release of next update.