Summary: | www/onlyoffice-documentserver documentserver-generate-allfonts.sh errors | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Martin Waschbüsch <martin> |
Component: | Individual Port(s) | Assignee: | Mikael Urankar <mikael> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(mikael) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Martin Waschbüsch
2024-11-13 07:39:12 UTC
(In reply to Martin Waschbüsch from comment #0) Yeah, that should be /usr/local/etc/onlyoffice/documentserver/nginx/includes/ds-cache.conf I've mixed up ETCDIR and LOCALBASE. There is an extra whitespace after $DIR/sdkjs/common/Images/*.gz \ and the shell thinks that $DIR/sdkjs/slide/themes/themes.js.gz is a command (In reply to Mikael Urankar from comment #1) Now it makes sense. :-) Thanks for the quick reply! (In reply to Mikael Urankar from comment #1) I just noticed another issue in /usr/local/bin/documentserver-flush-cache.sh The sed command there: sed -i "s/{{HASH_POSTFIX}}/${HASH}/g" ${API_PATH} That is a gnu-ism. BSD sed needs to explicitly specify a backup suffix (or empty string if no backup wanted): sed -i "" "s/{{HASH_POSTFIX}}/${HASH}/g" ${API_PATH} A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=29abb996b4728af244f46a187d834c7154f736bc commit 29abb996b4728af244f46a187d834c7154f736bc Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2024-11-13 11:52:01 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2024-11-13 11:57:17 +0000 www/onlyoffice-documentserver: Various fixes - Fix nginx ds-cache.conf location in documentserver-flush-cache.sh - Fix sed invocation in documentserver-flush-cache.sh - Remove extra whitespace in documentserver-generate-allfonts.sh - Remove todo list in Makefile PR: 282724 www/onlyoffice-documentserver/Makefile | 7 +------ ...common_documentserver_bin_documentserver-flush-cache.sh.m4 | 5 +++-- ..._documentserver_bin_documentserver-generate-allfonts.sh.m4 | 11 +++++++---- 3 files changed, 11 insertions(+), 12 deletions(-) (In reply to Martin Waschbüsch from comment #3) Thanks! |