Page 1 of 1

Error when compiling Document Server for a local server

PostPosted: Thu Nov 03, 2016 1:39 am
by clavth
Hello,

English is not my first language.

I'm trying to compile Document Server for Debian 8.*.
I'm following you guide @ http://helpcenter.onlyoffice.com/server ... -code.aspx

I have 0 error during the process, but at the end, some files are missing.

Code: Select all
sudo -u onlyoffice "/var/www/onlyoffice/documentserver/server/tools/AllFontsGen"\
        "/usr/share/fonts"\
        "/var/www/onlyoffice/documentserver/sdkjs/common/AllFonts.js"\
        "/var/www/onlyoffice/documentserver/sdkjs/common/Images"\
        "/var/www/onlyoffice/documentserver/server/FileConverter/bin/font_selection.bin"
sudo: /var/www/onlyoffice/documentserver/server/tools/AllFontsGen: command not found
Makefile:117: recipe for target 'install' failed
make: *** [install] Error 1


Script can't find AllFontsGen, AllFonts.js and font_selection.bin.

I found the first and the second with google's help @ https://lab.nexedi.com/bk/DocumentServer

But I can't find font_selection.bin.

So ... I'm stuck.

Any help would be appreciated.

Thanks.
CLAVTH.

Re: Error when compiling Document Server for a local server

PostPosted: Thu Nov 03, 2016 6:30 am
by Maxim
Hello!
There is similar problem https://github.com/ONLYOFFICE/DocumentServer/issues/37. Please pay attention to the post of our coder:

Code: Select all
you should run not AllFontsGen directly, but by sh file
bash /usr/bin/documentserver-generate-allfonts.sh

Try this sh file!

Re: Error when compiling Document Server for a local server

PostPosted: Wed Dec 13, 2017 3:15 am
by yisusflow
Pudiste compilarlo ? yo estoy teniendo problemas actualmente para Ubuntu server 14