Nextcloud version : 27.1.2
Operating system and version :
lscr.io/linuxserver/nextcloud Docker Container
Apache or nginx version : Nginx Proxy Manager v2.10.4
PHP version : 8.2.10
The issue you are facing:
I have setup nextcloud to connect to OnlyOffice document server.
They both rest on Docker containers in the same docker network.
They see each other without issues. And I am able to edit documents without problems.
However every day I have to go back to the Netxcloud Admin Settings and inside OnlyOffice plugin settings click on save for Nextcloud to recconect with the OnlyOffice document server. Otherwise I won´t be able to click on a document to edit it, it will instead download the document.
Is there a way to avoid this? it doesn´t seem like normal behaviour
Steps to replicate it:
- Just install Nextcloud with OnlyOffice Document Server
The output of your Nextcloud log in Admin > Logging:
{"reqId":"uzbreJTzyA7nFTDbTGF3","level":3,"time":"2023-10-27T08:30:05+00:00","remoteAddr":"","user":"--","app":"onlyoffice","method":"","url":"--","message":"GetConvertedUri on check error","userAgent":"--","version":"27.1.2.1","exception":{"Exception":"Exception","Message":"Error occurred in the document service: Error while downloading the document file to be converted.","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/onlyoffice/lib/DocumentService.php","line":95,"function":"ProcessConvServResponceError","class":"OCA\\Onlyoffice\\DocumentService","type":"->"},{"file":"/config/www/nextcloud/apps/onlyoffice/lib/DocumentService.php","line":446,"function":"GetConvertedUri","class":"OCA\\Onlyoffice\\DocumentService","type":"->"},{"file":"/config/www/nextcloud/apps/onlyoffice/lib/Cron/EditorsCheck.php","line":145,"function":"checkDocServiceUrl","class":"OCA\\Onlyoffice\\DocumentService","type":"->"},{"file":"/app/www/public/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OCA\\Onlyoffice\\Cron\\EditorsCheck","type":"->"},{"file":"/app/www/public/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/app/www/public/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/app/www/public/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/config/www/nextcloud/apps/onlyoffice/lib/DocumentService.php","Line":241,"message":"GetConvertedUri on check error","CustomMessage":"GetConvertedUri on check error"},"id":"653b865d1d66e"}