[Tutorial] Installing OnlyOffice server on Raspberry Pi 4 Ubuntu Server 20.10

Upgrading OnlyOffice
OnlyOffice 6.1.1-53 was released. Manually upgrading is pretty straightforward.

If you have deleted the file /etc/apt/sources.list.d/onlyoffice.list, start from the echo deb [arch=amd64]... line under Download and prep OnlyOffice in the above instructions. If you still have that file, start from the apt update & apt download line.

Always check the “Depends” line in output/DEBIAN/control for changes. You may need to add dependencies. From 6.1.0-83 to 6.1.1-53 they added redis-tools. To avoid problems during installation, I recommend manually installing new dependencies. These steps are specific to redis-tools, but you can adapt them as necessary for future upgrades.

Start by checking if you already have it installed.
apt search redis-tools

If not, install.
apt install redis-tools:arm64

Modify the output/DEBIAN/control file. I recommend copying the control file from the previous version, then simply adding in whatever new stuff is needed.

Depends: debconf:arm64 (>= 0.5) | debconf-2.0:arm64, adduser:arm64, ca-certificates:arm64, coreutils:arm64, curl:arm64, libasound2:amd64, libcairo2:amd64, libcurl3:amd64 | libcurl4:amd64, libcurl3-gnutls:amd64, libgconf-2-4:amd64, libgtk-3-0:amd64, libstdc++6:amd64 (>= 4.8.4), libxml2:amd64, libxss1:amd64, libxtst6:amd64, logrotate:arm64, mysql-client:arm64 | mariadb-client:arm64, nginx-extras:arm64 (>= 1.3.13), postgresql-client:arm64 (>= 9.1), pwgen:arm64, redis-tools:arm64, supervisor:all (>= 3.0b2), xvfb:arm64, zlib1g:amd64

In version 6.1.1 the $CLUSTER_MODE error seems to be fixed, so no need to edit that line in postinst.

Continue the instructions through the apt -f install.

That’s it. Enjoy the new version!