Hi Everyone,
First time posting on this forum, so if I have left out any information, please let me know Iāll be happy to update the post.
I set up a NC instance on my UNRAID server several months ago, and have been moving my files off GoogleDrive to this instance, mostly without issues. Recently, I had to move my server from my work office to my home. At this time I also ran an update for NC.
I initially went through and updated all the local IPs to reflect my home setup, and all seemed to be well. I later went to edit a document and was hit with
Document loading failed
Unauthorized Request
I went into settings/admin/richdocuments and verified the CODE server URL was correct, and when I visit the URL I get an āokā message. However underneath the server settings where I expect to see āAdvanced Optionsā there is nothing there, as if advanced options are disabled.
I then went into the conf file and added
"allowed_wopi_hosts": [
"local IP:port"
],
but the error persists.
I then found a post here and ran the command
occ config:app:set richdocuments wopi_allowlist --value=IP/URL_HERE
and got a confirmed return but the error persistsā¦
any ideas as to
A: How to fix the issue of the admin panel not showing the allow WOPI hosts
and/or
B: How to fix the issue of unauthorized requests.
NC Version: Nextcloud Hub 9
Reduced NC Config:
'trusted_domains' =>
array (
0 => 'www.MYURL.com',
),
'dbtype' => 'mysql',
'version' => '30.0.5.1',
'memcache.local' => '\\OC\\Memcache\\APCu',
"wopi_url" => "localIP",
"allowed_wopi_hosts" => [
"localIP:9980",
],
'app_install_overwrite' =>
array (
0 => 'unsplash',
1 => 'maps',
2 => 'metadata',
3 => 'richdocuments',
4 => 'onlyoffice',
5 => 'spreed',
6 => 'socialsharing_email',
7 => 'libresign',
8 => 'calendar',
),