Backstory
I’ve been using onlyoffice with owncloud for about a year, no issues. Recently noticed documents weren’t opening, stating token error. I probably did something that I can’t remember doing which borked it, but as is the case with not remembering, I don’t remember actually making any changes to container configs (only kept up with image updates).
Steps to reproduce
- Set up owncloud in docker container with reverse proxy (working)
- Set up onlyoffice in docker container with reverse proxy (working)
- In owncloud settings > additional, set
ONLYOFFICE Docs address
ashttps://onlyoffice.mydomain.com
andSecret
as per thelocal.json
which is the same as the output when typingdocker exec 45df18b9f6da /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyoffice/documentserver/local.json 'services.CoAuthoring.secret.session.string'
- Hit save
Expected behaviour
Owncloud should connect to onlyoffice and allow document editing directly from onlyoffice
Actual behaviour
I get an error Error when trying to connect (URI must be a string or UriInterface) (version 7.2.1.34)
which I can’t find replicated when I google.
Server configuration
Operating system:
Docker in DSM (Synology linux)
Web server:
nginx
Database:
mariadb:10.5
PHP version:
ownCloud version: (see ownCloud admin page)
10.11.0.6
Updated from an older ownCloud or fresh install:
Updated
Where did you install ownCloud from:
owncloud/server:latest
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
Github gist = /BackedUpBooty/7c5c69897c00f494dd6c3963af67ce9a
**Are you using external storage, if yes which one:** local
**Are you using encryption:** no
**Are you using an external user-backend, if yes which one:** No
### Client configuration
**Browser:**
Chrome
**Operating system:**
Windows
### Logs
#### ownCloud log (data/owncloud.log)
Github gist = /BackedUpBooty/922c622c3e0a3b2d0b5364504d979364