As the title suggests, I’m using two separate servers for my Nextcloud and OnlyOffice installs. At the moment, neither of them are Docker installs - Nextcloud was manually installed, and OnlyOffice runs on its own VM and was installed using the bash script. I have since gone and fetched our Let’s Encrypt certificates for OnlyOffice, and I’ve pasted my JWT (obtained from /etc/onlyoffice/documentserver/local.json) into Nextcloud… aaaaand I get this error:
Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 7.3.3.49)
What gives? What do I do?
I should note: I have run the bash /usr/bin/documentserver-update-securelink.sh command, and I do have HTTP and HTTPS open on my server’s firewall. The error persists.
Please provide logs of Document Server from /var/log/onlyoffice/documentserver/.
Additionally, please provide local.json for reference. You can archive all of these, upload archive to any cloud storage and share an external link to it via PM in terms of safety.
I believe you’ve contacted me via PM about this case and not it is solved. Please confirm.
In case it is not solved yet, provide fresh info on your current environment:
Type of installation and version of Document Server;
Version of Nextcloud;
Version of the connector app;
Information about proxy (if used);
Logs of Document Server after attempting to connect.
Logs are located in /var/log/onlyoffice/documentserver/.
I did indeed! The first time we communicated, it was for our internal OnlyOffice server to work with our internal Nextcloud server, this time was for our DMZ network OnlyOffice server to work withour DMZ network Nextcloud (public facing) server. But! I got it working - not EXACTLY sure how, tbh, but it seems to be happy now and has survived through various reboots of either server, which was the objective.
I know that I had a directive wrong in the Nextcloud config file, and there were a few months of updates that I needed to apply to the server (Alma Linux 8), the OnlyOffice instance, and the Nextcloud instance. But! We’re up and running now.
Okay. Spoke too soon. I’m getting the error between these two servers again, and this time, nothing has changed. Nothing happened. No reboots, no nothing. It just doesn’t work, magically.
…despite the fact that I can simply do a curl https://onlyoffice-dmz.example.com/healthcheck FROM the Nextcloud server, and it returns true. Why is this not consistently working/staying up?!?