Thank you very much for this.
An added complication is that I am on a Yunohost server so can’t directly access occ commands. However, I have found the way round that here. This is just to explain my weird looking code.
I got occ access with:
sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ
then tried the command you gave me, added to the funny occ exception:
sudo -u nextcloud php8.2 config:app:set --value ${https://docsi.domain.uk} richdocuments wopi_url
(with my actual domain in the place of the word domain)
which gave me
Could not open input file: config:app:set
I’m a bit spent from staring at the shell now, so I’m going to come back to it fresh tomorrow night. Thanks for your help. I’ve got the git page you linked to saved and will see whether I’ve missed anything from that.
In the meantime, thanks again.