Build OnlyOffice from source code (2023)


Onlyoffice is an online Office suite based on Web. It lets you to edit Microsoft Office documents such as docx, pptx, xlsx and other Open Document files such as odt, ods and odp.

In our Zimbra and Nextcloud SaaS service we offer Onlyoffice integration in order to view and edit documents. This article shows technically how to build OnlyOffice from the source code.

In addition to build OnlyOffice it will be modified to increase the default 20 simultaneous connections maximum limit to 99999 connections. It’s similar to an OnlyOffice without any limits. This is possible thanks to OnlyOffice AGPL license that let us to modify it.

This build has been possible thanks to bTactic I+D department.

Build instructions


If you don’t have the technical expertise to build OnlyOffice yourself you can download our built packages from OnlyOffice v7.2.2.56-btactic2 release .

You are also advised to check our many services which include OnlyOffice integration such as Nextcloud and Zimbra. 

(Warning: This package is not an official OnlyOffice build. If you find problems with it do not seek help on OnlyOffice official forums/trackers. In any case do it if you have manage to reproduce them in the original source code or OnlyOffice original binary packages.)

Supported distros

The package should install fine on Debian 11.
The package might also work on other Debian/Ubuntu based distros.


Just use standard documentation on how to install official Ubuntu packages such as:

However do not add OnlyOffice package repository and when you are asked to install onlyoffice-documentserver package you should do instead::

sudo apt-get install /path/to/onlyoffice-documentserver_7.2.2-56+btactic2_amd64.deb

7 thoughts on “Build OnlyOffice from source code (2023)”

  1. With this new version (upgraded with “dpkg -i onlyoffice-documentserver_7.2.2-56-btactic1_amd64.deb”) mobile editor can’t be opened. Error:

    Editor/file is opened if:

    – file is opened with official CE docker image:
    – or this docker image:

    • Can you please copy-and-paste as text the full ‘Cannot GET’ message from your picture?

      Thank you!

    • I have updated the article with a new version.
      If there hasn’t been anything unexpected with the build Mobile editor should work fine now.

      Enjoy and thank you again for your feedback!


Leave a Comment