How to prevent Allfonts.js and presentation themes to be generated on startup

Questions/problems on Docker
Post Reply
huantx
Posts: 1
Joined: Sun Aug 23, 2020 3:42 pm

How to prevent Allfonts.js and presentation themes to be generated on startup

Post by huantx » Sun Aug 23, 2020 5:56 pm

Hello. I have installed Onlyoffice Document Server 5.6.0 through Docker, in a Debian Stretch host. Now, everytime I restart the server, it runs the tasks of generating Allfonts.js and presentation themes.

I want to disable this, since it is not necessary because I am not adding any new fonts nor themes, and takes time and resources (my server has very limited memory and processor power). Is there any way to skip this routine, through some environment variable for example?

Carl
Posts: 422
Joined: Thu Apr 12, 2018 10:00 am

Re: How to prevent Allfonts.js and presentation themes to be generated on startup

Post by Carl » Mon Aug 24, 2020 3:05 pm

Hello huantx,

During container startup, the script /app/ds/run-document-server.sh is launched. In turn, this script launches documentserver-generate-allfonts.sh that is responsible for fonts generation. Unfortunately, at the moment this behavior cannot be changed. However, we might add such option in one of the future Document Server updates. You may also express your wish in this Github issue:
https://github.com/ONLYOFFICE/Docker-Do ... issues/281

Post Reply