From nobody Fri Dec 20 16:40:23 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YFCp03V5Dz5Wy0D for ; Fri, 20 Dec 2024 16:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFCp01NMQz44NH for ; Fri, 20 Dec 2024 16:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734712824; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8PVieqpA396x6qNGKT+uL5cMLNTu1unX81z47757Uxc=; b=HfQe2MKdfds7yd8BGcRV5fg7IIpFkxbNweHDxFERP1nQEdb+cMhKsI/DN6RqekN6Eybq2U DAf73e23oek06nm2jSOVau5B7KbMLhLcYrloFXjUV4C//eNHJqGAPKc6fwFtSsmIxM+EV6 kjl/ET++YU6FPCbYtpRpkC2Vbb9HCWS5xgFvij80mxGVWJ1oTzhNs6/ewuGXlcNVSbD6GG AVfk+Cy8DHpWNM+uHIhBglYVFU3zuoBRhRWOjQfY4LqwODFk5M/fTDfazzbFoA/onnGiIh /oScx2jicZM+hA9YPyfUOt1UjyOcjo0igfySNuoIn8//1JwDVE/6Nqisu9vXIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734712824; a=rsa-sha256; cv=none; b=az5YFcgjkuWP1ExAX+XYntaRgGUvl7/Z4PbrnnabJAe+EijHjKzAMTj2Uhy4x675kZ6bVT CZTueE6USTjUzIJtAk1leQJZidkTOSItCn1hLGtlEDCQki4HrL7jzgWqSAxRLtSkSz3HWE ieVB7iwVLIzOnREFmfGGf5I9UPpfPtOcuZ1xqSGgaTpTSlofZF2fllmcoU+ZFldhHOyO7a 3HCXXoPWdsnTTD4Gw50zFmUYZ6zvsXMggHtxC7ODFql7goy3vR8x8rFkfwW6sbfrALadIO akZJLKbZSUJMgw3ZfenhklMPPCGYHTE3bigdHuqej6Hl1TFwpdhBNdjmDMi/4w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YFCp0082SzmRP for ; Fri, 20 Dec 2024 16:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BKGeNQL032780 for ; Fri, 20 Dec 2024 16:40:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BKGeNZQ032776 for ports-bugs@FreeBSD.org; Fri, 20 Dec 2024 16:40:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283445] www/onlyoffice-documentserver wrong path in /usr/local/bin/documentserver-flush-cache.sh Date: Fri, 20 Dec 2024 16:40:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd.org@vollkorn.cryptobitch.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mikael@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283445 Bug ID: 283445 Summary: www/onlyoffice-documentserver wrong path in /usr/local/bin/documentserver-flush-cache.sh 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: freebsd.org@vollkorn.cryptobitch.de Flags: maintainer-feedback?(mikael@FreeBSD.org) Assignee: mikael@FreeBSD.org The script /usr/local/bin/documentserver-flush-cache.sh tries to create a f= ile in line 27: ``` # Save the hash to a variable in the configuration file echo "set \$cache_tag \"$HASH\";" > /usr/local/etc/onlyoffice/etc/nginx/includes/ds-cache.conf ``` Running the script fails: ``` # /usr/local/bin/documentserver-flush-cache.sh /usr/local/bin/documentserver-flush-cache.sh: cannot create /usr/local/etc/onlyoffice/etc/nginx/includes/ds-cache.conf: No such file or directory ``` This path does not exist. Instead, there is: /usr/local/etc/onlyoffice/documentserver/nginx/includes/ Changing line 27 to this path remedies this error. This is related to nginx errors ``` # service nginx start Performing sanity check on nginx configuration: nginx: [emerg] unknown "cache_tag" variable nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed Starting nginx. nginx: [emerg] unknown "cache_tag" variable /usr/local/etc/rc.d/nginx: WARNING: failed to start nginx ``` The above script is run automatically on documentserver startup, but when it fails the tag is never declared and nginx fails, too. --=20 You are receiving this mail because: You are the assignee for the bug.=