Nextcloud Office is not configured

I have just installed nextcloud from the zip file. Everything seems OK and I have cleaned up any major issues highlighted in the admin/Overview page.

I am brand new to nextcloud so please bear with me.

Here is the problem I am experiencing; when I click on a office document I get “Nextcloud Office is not configured”. I have looked everywhere but cannot see where or what to configure. It is not a very informative error.

I did find similar questions posted but not quite the same and no resolution.

PRETTY_NAME=“Ubuntu 22.04.3 LTS”
nginx version: nginx/1.18.0 (Ubuntu)
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)
end Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2-1ubuntu2.14, Copyright (c), by Zend Technologies

Its a dedicated machine and the Nginx config has been copied directly from the documentation tweaking it to my domain name and ssl certs.

Please help.