Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2023 19:13:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274248] net-mgmt/librenms: service librenms start failing
Message-ID:  <bug-274248-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274248

            Bug ID: 274248
           Summary: net-mgmt/librenms: service librenms start failing
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dvl@FreeBSD.org
          Reporter: driesm@freebsd.org
             Flags: maintainer-feedback?(dvl@FreeBSD.org)
          Assignee: dvl@FreeBSD.org

After some upgrade, one of the recent ones; not sure if librenms related or
python upgrade related or php related but the error I get when starting
librenms with "service librenms star" is :

Oct  3 21:06:10 librenms librenms[13235]: MainThread(CRITICAL):Error in con=
fig
fetching process: 127
Oct  3 21:06:10 librenms librenms[13235]: MainThread(CRITICAL):ERROR: Could=
 not
execute command [['/usr/bin/env', 'ph
p', '/usr/local/www/librenms/config_to_json.php']]: Expecting value: line 1
column 1 (char 0)
Oct  3 21:06:10 librenms librenms[13235]: 'NoneType' object has no attribute
'get'

When I execute the command manually from the CLI which the rc script produc=
es
it works fine. I'm on FreeBSD 14-STABLE. Will take a look later, if you cou=
ld
also take a quick look Dan that would great!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274248-7788>