[Bug 274248] net-mgmt/librenms: service librenms start failing

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Oct 2023 19:13:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274248

            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 config
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 produces
it works fine. I'm on FreeBSD 14-STABLE. Will take a look later, if you could
also take a quick look Dan that would great!

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