[Bug 282724] www/onlyoffice-documentserver documentserver-generate-allfonts.sh errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Nov 2024 07:39:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282724

            Bug ID: 282724
           Summary: www/onlyoffice-documentserver
                    documentserver-generate-allfonts.sh errors
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: martin@waschbuesch.de
          Assignee: mikael@FreeBSD.org
             Flags: maintainer-feedback?(mikael@FreeBSD.org)

With the latest 8.2.0.143 version, running
/usr/local/bin/documentserver-generate-allfonts.sh results in this output:

***

root@files:~# /usr/local/bin/documentserver-generate-allfonts.sh
Generating AllFonts.js, please wait...Done
Generating presentation themes, please wait...Done
Generating js caches, please wait...Done
/usr/local/bin/documentserver-generate-allfonts.sh:
/usr/local/www/onlyoffice/documentserver/sdkjs/slide/themes/themes.js.gz: not
found
ds:docservice: stopped
ds:docservice: started
ds:converter: stopped
ds:converter: started
/usr/local/bin/documentserver-flush-cache.sh: cannot create
/usr/local/etc/nginx/includes/ds-cache.conf: No such file or directory
sed: 1: "/usr/local/www/onlyoffi ...": extra characters at the end of l command

***

The themes.js.gz I do not understand. The script tried to remove it with rm -f,
so even if it did not exist, no error should be printed?

In case of nginx, the includes directory does not exist on my system (I do not
use nginx for this at all, I use apache), so maybe checking for it and perhaps
creating it on the fly would be needed?

Since everything seems to work, it may all be negligible stuff? But still,
better to point it out. :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.