The documentserver-configure.sh Bash script

The onlyoffice-documentserver RPM package contains a documentserver-configure.sh script but the DEB version doesn’t, is this because with Debian/Ubuntu debconf is used for the PostgreSQL and RabbitMQ settings and with CentOS/RedHat it needs to be done another way?

FWIW I checked the contents of the two packages by downloading them from GitHub and extracting them both, for example:

mkdir /tmp/deb 
cd /tmp/deb 
wget https://github.com/ONLYOFFICE/DocumentServer/releases/download/v7.3.3/onlyoffice-documentserver_amd64.deb
dpkg-deb -R onlyoffice-documentserver_amd64.deb .
ls usr/bin | sort
documentserver-generate-allfonts.sh
documentserver-jwt-status.sh
documentserver-letsencrypt.sh
documentserver-prepare4shutdown.sh
documentserver-static-gzip.sh
documentserver-update-securelink.sh

mkdir /tmp/rpm
cd /tmp/rpm
wget https://github.com/ONLYOFFICE/DocumentServer/releases/download/v7.3.3/onlyoffice-documentserver.x86_64.rpm
rpm2cpio onlyoffice-documentserver.x86_64.rpm | cpio -idmv 
ls usr/bin | sort
documentserver-configure.sh
documentserver-generate-allfonts.sh
documentserver-jwt-status.sh
documentserver-letsencrypt.sh
documentserver-prepare4shutdown.sh
documentserver-static-gzip.sh
documentserver-update-securelink.sh

Hello @chris
You’re right. In the case of deb installation, installation process uses settings from debconfig. rpm doesn’t have it, so presence of documentserver-configure.sh script is a necessity on rpm installations.

1 Like