ONLYOFFICE 7.0: online forms, password protection in sheets, collaboration improvements and much more
ONLYOFFICE 7.0 released

Old version Enterpris with DocServer 6.0 for Docker, installation

Dear ONLYOFFICE specialists
Is there a way to get an older version for Docker installation as a link in the download area?
My problem is as follows: I have a Windows-based version as an enterprice (license) and for technical reasons I have to switch to Debian-Docker. I tried to install via link, but I get the latest version of the document server and I don’t have a license for it. I need to switch my running portal to docker and need your help! Thank you very much for the answer and possible help with a link to version 6.

Hello @Prof_h_c_K_Krause
You can switch repo manually when container is being created. Please check it out, this is –ee (Enterprise Edition) repo: Docker Hub
So, for example, for v.6.0.1.32 installation you should run the same steps as described here https://helpcenter.onlyoffice.com/installation/docs-enterprise-install-docker.aspx
But change the repo in the end of the command.
Example:

sudo docker run -i -t -d -p 80:80 --restart=always \
    -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice  \
    -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data  \
    -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \
    -v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql  onlyoffice/documentserver-ee:6.0.1.32

Alexandre, Many many thanks! I just have to read the installation instructions, sorry I’m stupid. It is actually possible to select the versions to install.

Unfortunately simply switching from/to 6 version with command didn’t work. Tried few times: ended up Community Server not being able to properly communicate with DocServer. Next- I do a clean install with version default.

As far as I understand, you need to migrate portal (Workspace) from Windows server to Linux\docker one.
Please try to follow my steps:
First of all, your new portal must have the same component versions as the old one. For example, if old portal had Community server v.10.5, then you should install the same version on the new server.

The point is that different versions of a product may have different versions of database tables.

You can deploy docker containers with not actual versions via installation script workspace-enterprise-install.sh .

Component version parameters you can find here: Installing server version with additional script parameters - ONLYOFFICE

Example of the command: bash workspace-enterprise-install.sh -ims false -cv 11.1.0.1506 -cpv 2.9.1.369 -dv 6.3.0.11

You can find component versions here:

Community Server: Docker Hub

Control Panel: Docker Hub

Document Server: Docker Hub

When new portal installation is done, let’s start the migration process. Prepare backup file via Control Panel on the old server > change core.machinekey parameter on the new server as it is described here:Using the Control Panel backup/restore feature - ONLYOFFICE > restore backup file on the new portal.

If I misunderstood your request, please clarify it.

Dear Alexandre, Everything is correct. I have the task of switching from Windows server 2019 to Linux/ Docker. I will follow your advice and do it step by step. If something doesn’t work out, I will ask questions. Thanks again.

1 Like