Getting error when running two onlyoffice docker in same VM?

Hi,

I have installed docker and have followed this guide to install onlyoffice: Installing ONLYOFFICE Docs for Docker on a local server - ONLYOFFICE

Document Server version: Version: 8.0.1-31
Type of installation of the Document Server docker
OS: Ubuntu 20.04
Browser version: Mozilla Firefox 125.0.2

I saw from this page GitHub - ONLYOFFICE/DocumentServer: ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time., this community edition only allows up to 20 maximum concurrent access. Is it true?

Now my intention is to install two docker container of onlyoffice in same VM with host port mapping for one onlyoffice server 8443:443 and other onlyoffice server 8444:443. I want this to separate two customers.

I had installed it and run the example page fine. But with 8443:443 server, I can open the editor page but other server with 8444:443 I can’t.

I check the log “/var/log/onlyoffice/documentserver/docservice/out.log”

[2024-05-07T09:54:31.764] [ERROR] [localhost] [10.10.1.4new__1_.docx1715073380441] [uid-1] nodeJS - dnsLookup error: hostname = hostname.domain.com Error: getaddrinfo EAI_AGAIN sinope.ms.minervis.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
[2024-05-07T09:54:31.765] [WARN] [localhost] [10.10.1.4new__1_.docx1715073380441] [uid-1] nodeJS - checkIpFilter error: url = https://hostname.domain.com:8444/example/track?filename=new%20(1).docx&useraddress=10.136.1.4
[2024-05-07T09:55:08.627] [ERROR] [localhost] [10.10.1.4new.docx11715073432671] [uid-1] nodeJS - dnsLookup error: hostname = hostname.domain.com Error: getaddrinfo EAI_AGAIN hostname.domain.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
[2024-05-07T09:55:08.628] [WARN] [localhost] [10.10.1.4new.docx11715073432671] [uid-1] nodeJS - checkIpFilter error: url = https://hostname.domain.com:8444/example/track?filename=new.docx&useraddress=10.10.1.4

I am using internal certificate for domain. Same domain name with 8443 port the other server page editor access is fine.

  • Is it possible to run two onlyoffice docker in same VM?
  • For multiple customer which installation is recommended?

Appreciate your assistance in this regard.

Thanks
Saiful

Hello @saifulslm09

this community edition only allows up to 20 maximum concurrent access. Is it true?

Yes, that’s true. Here’s comparison table of different editions for your reference: Compare editions | ONLYOFFICE Docs

  • Is it possible to run two onlyoffice docker in same VM?

Theoretically, it should be possible. However, we haven’t checked this scenario, because we always recommend installing Document server on the separate clean server. It’s necessary to avoid dependencies and ports conflicts.
As for the provided logs, it seems that the situation is related to your DNS settings.

  • For multiple customer which installation is recommended?

I believe it’s better to contact colleagues of mine at sales@onlyoffice.com. They are the right people to discuss license questions. Anyway, from my point of view, if 20 simultaneous connections of Community Edition aren’t enough in your usage scenario, it is time to get commercial license.

Thank you @Alexandre . I will contact.

Would you please share a guideline how to switch enterprise edition from community edition?

Sincerely,
Saiful

Hello @saifulslm09
You need to run the documentserver-prepare4shutdown.sh script to forcefully close all editing sessions and save the files: Updating ONLYOFFICE Docs for Docker to the latest version - ONLYOFFICE
After that stop your current Document Server container and deploy a new one with desired version. The quickest way to do is using the installation script:Installing ONLYOFFICE Docs using the provided script - ONLYOFFICE

NB! Please prepare entire server backup\snapshot before any actions just in case.