documentserver-generate-allfonts.sh missing

Issues during installation and related to database
Post Reply
NilsKamm
Posts: 4
Joined: Thu Aug 27, 2020 12:34 pm

documentserver-generate-allfonts.sh missing

Post by NilsKamm » Wed Feb 10, 2021 1:51 am

Hi everyone!

i used these instructions to install the documentserver with docker and it runs well:
https://helpcenter.onlyoffice.com/insta ... ocker.aspx

Now i wanted to add a font to the installation using these instructions:
https://helpcenter.onlyoffice.com/de/in ... linux.aspx

But the documentserver-generate-allfonts.sh file is missing in /usr/bin.

Does anyone has an idea how to fix this problem or to add a font to the documentserver in another way?

Thanks a lot!
Nils

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

Re: documentserver-generate-allfonts.sh missing

Post by Carl » Wed Feb 10, 2021 12:56 pm

Hello Nils,

When using a docker-installation, you need to perform all the steps from the font installation guide inside the Document Server container.
Use docker exec -it [container id] bash to enter the container.

NilsKamm
Posts: 4
Joined: Thu Aug 27, 2020 12:34 pm

Re: documentserver-generate-allfonts.sh missing

Post by NilsKamm » Mon Feb 15, 2021 8:50 pm

Hey Carl!
should be in the instructions. ;-)

I tried it with your information.
Thanks a lot for it!

First i copied the font-file from the host into the container:
sudo docker cp /usr/share/fonts/chinese_rocks_rg.ttf docker_id:/usr/share/fonts/chinese_rocks_rg.ttf

Then i tried to run the documentserver-generate-allfonts.sh:
sudo docker exec -it docker_id /usr/bin/documentserver-generate-allfonts.sh

Both commands worked without any errors but the font is still not shown in OnlyOffice.

Any idea what i have done wrong or what i can try / check?

Thanks a lot!

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

Re: documentserver-generate-allfonts.sh missing

Post by Carl » Fri Feb 19, 2021 8:13 am

Hello Nils,

Please make sure to clear the cache of all browsers where you work with ONLYOFFICE editors as all fonts are cached.

Post Reply