Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 9.0.4.50)

NethServer Version: NS8
Module: OnlyOffice

Hi everyone,
this is my first time trying to install OnlyOffice on NS8, but I just can't get it to work...
I followed Markus's instructions and I still get the same error.
I saw someone else had the same error and read the post, but I honestly don't understand the solution.
Can anyone help me?
TK.

I installed nextcloud and applied a DNS nexttest.xxxx.it.



I installed Onlyoffice like Markus instructions and applaied a DNS onlytest.xxxx.it




I installed Onlyoffice app in Nextcloud and then configure like Markus documentation


You have applied “https://nexttest.xxxx.it” in the configuration of the module?

You trying to apply “https:///onlytestxxxxx.xx” in the OnlyOffice config?

Please see this.

2 Likes

Hi,

In the configuration module of Nextcloud in NS8: https://nexttest.xxxx.it

In the configuration module of Onlyoffice in NS8: https://onlytest.xxxx.it

In the configuratino of Nextcloud, the target of Docs address: https://onlytest.xxxx.it

Like Markus documentation.

Since this setup uses the official Docker image, the local.json file is regenerated each time the container starts, meaning it’s not directly mappable or persistent on the host. Any manual changes made to local.json inside the container are lost after a restart.

Is the part I’m pasting below mandatory? It’s not clear. Is the file I’m supposed to create empty?

The proper workaround is to create the file /home/onlyoffice1/.local/share/containers/storage/volumes/onlyoffice-etc/_data/local-production-linux.json. This file takes precedence over the default configuration and remains persistent across container restarts. Any changes made there are applied automatically on startup.

TK

Hi Roberto,

do you use a valid certificate for Onlyoffice?

If not please follow the steps of “Use a self signed cert or how to disable the certificate check”: GitHub - mrmarkuz/ns8-onlyoffice

1 Like

Hi Markuz,

This is the config of Nextcloud:

Schermata del 2025-09-18 16-45-15

But,
If I type as you write in the documentation, I get this result:

This is my istance:

TK

You installed onlyoffice:latest, I recommend to remove it and to install the current version 1.1.1 either via Software Center (you’d need to add the repository, see https://repo.mrmarkuz.com/)
or on CLI:

add-module ghcr.io/mrmarkuz/onlyoffice:1.1.1

Done… Now it works.

But…

As you can see, I’m on instance number 7, and I already had version 1.1.1 installed. I ran the commands I’m giving you screenshots of, and the first command still gives an error.

Anyway, now it works…

1 Like

I could reproduce.
nano isn’t installed.

After installing by executing

dnf install nano

the command should work.

Sorry for my amateurism….:rofl:

You’r the best…

2 Likes