[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1039475: marked as done (icingaweb2 backend is not configured correctly)



Your message dated Sat, 01 Jul 2023 04:03:51 +0000
with message-id <E1qFRpv-001224-KM@fasolo.debian.org>
and subject line Bug#1039475: fixed in debian-edu-config 2.12.33
has caused the Debian Bug report #1039475,
regarding icingaweb2 backend is not configured correctly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1039475: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039475
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-config
Version: 2.12.32

After logging into icingaweb2 after a fresh installation of the main server, 
the following PHP exception can be found in the logs:

Icinga\Exception\ConfigurationError in /usr/share/icingaweb2/modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php:178 with message: No backend has been configured
#0 /usr/share/icingaweb2/modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php(76): Icinga\Module\Monitoring\Backend\MonitoringBackend::loadConfig()
#1 /usr/share/icingaweb2/modules/monitoring/library/Monitoring/Controller.php(32): Icinga\Module\Monitoring\Backend\MonitoringBackend::instance()
#2 /usr/share/php/Icinga/Web/Controller/ModuleActionController.php(28): Icinga\Module\Monitoring\Controller->moduleInit()
#3 /usr/share/php/Icinga/Web/Controller/ActionController.php(169): Icinga\Web\Controller\ModuleActionController->prepareInit()
#4 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(59): Icinga\Web\Controller\ActionController->__construct()
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch()
#6 /usr/share/php/Icinga/Application/Web.php(290): Zend_Controller_Front->dispatch()
#7 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#8 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#9 {main}

However a backend has been configured by edu-icinga-setup in 
/etc/icingaweb2/modules/monitoring/backends.ini:

[icinga]
type = "ido"
resource = "icinga_ido"

The resource referred to is also defined in /etc/icingaweb2/resources.ini:

…
[icinga_ido]
type = "db"
db = "mysql"
host = "localhost"
port = ""
dbname = "icingadb"
username = "icinga2"
password = "v64nhbe27dfBjR3T"
charset = ""
use_ssl = "0"

-- 
Guido Berhoerster

--- End Message ---
--- Begin Message ---
Source: debian-edu-config
Source-Version: 2.12.33
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
debian-edu-config, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1039475@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated debian-edu-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 01 Jul 2023 05:41:56 +0200
Source: debian-edu-config
Architecture: source
Version: 2.12.33
Distribution: unstable
Urgency: medium
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1038881 1039475
Changes:
 debian-edu-config (2.12.33) unstable; urgency=medium
 .
   [ Guido Berhoerster ]
   * Adapt ntp configuration for ntpsec. Closes: #1038881.
     ntpsec has replaced ntp in bookworm, adapt configuration and add a
     drop-in file instead of editing the configuration file. Drop insserv
     overrides for ntp, the ntpsec systemd unit has an ordering dependency
     on nss-lookup.target equivalent to the "$named" facility.
   * Set up database for icingaweb2
     Starting with version 2.11 user preferences must be stored in the DB.
   * Fix permissions issue preventing icingaweb2 from reading the backend config
     The /etc/icingaweb2/modules directory ends up with "drwxrwSrwx" permissions,
     missing the "x" bit preventing icingaweb2 from reading the monitoring backend
     configuration in /etc/icingaweb2/modules/monitoring/. Instead of adjusting
     single files and directories, enforce sensible permissions on all directories
     and configuration files. Closes: #1039475.
Checksums-Sha1:
 ae4ecc841b87b852508b4e69d09dc171bc6d9351 2017 debian-edu-config_2.12.33.dsc
 b690e786f55def429311b569bba8534323230f89 354332 debian-edu-config_2.12.33.tar.xz
 ac9299d30f46205147a4b5908bccb5577a9b32f1 6659 debian-edu-config_2.12.33_source.buildinfo
Checksums-Sha256:
 5812f3e6ecb5ee830d3793944b7a5e7d6ce1b9503528071903fbf4a9071e6669 2017 debian-edu-config_2.12.33.dsc
 1132d865f71473cda14270e3cbc724dd3a33e4848e0093d191315beeb1f46e17 354332 debian-edu-config_2.12.33.tar.xz
 16d89d9d1f98e4ccb80f8bcab4be5fff7a020d797d2a36cda570ce9d2147e65e 6659 debian-edu-config_2.12.33_source.buildinfo
Files:
 6a1ee497cf43cae36a0c5266f7f9f636 2017 misc optional debian-edu-config_2.12.33.dsc
 6c1ced3df59f4e3db0864c95c4ec9c42 354332 misc optional debian-edu-config_2.12.33.tar.xz
 f28a43155725c46b71a93a8c5d2a7721 6659 misc optional debian-edu-config_2.12.33_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmSfooUVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxhRkQAJmMRh0JdfMt3ziPP7N61BNGAbwn
k/MVTY4Yv3uJCuhg/9FvJPqOHmq42lPez3eo+m/xTVTqidFnk8MHF/Ro2zwyx83x
okdRbYhItbJ6ohQh1q8K/4cfSTWclOupWMKw2FIt3lR2xWsBLQUUVtoeRZNDEpg9
5ilDlsKDUrIZyua6k/1rvNd+aL9FflvXD7+fqweUJRJFEI9Y4PjqgBkrWduHdezV
QjPfVXZxEuYpLNCsQSZo5kmpr/lHimH+asol+Qk3OlINTsRZFqFk6iZ0qlYmzVb4
59uZ46lale0qEd16uQ5UCFWcMBtWJvTliyo0TEp3wcRbJX6iMuIbVNq5Br2EWapV
ampIvv8lKTNezmFmakNEu+vgOCpqtOFEuPkRuYUFBjTV3ixOf2D94VkSa0nZ8rcl
l+4QlmpU/hPDJ8FmFwvQPEjWVlCQfHgW/J0J57s1kDPJAsCp5Am4B7iM0/2qtqCp
e0KLgPoaz1soRWVGywUXaQ0S5WEBAcXFj/gfFOij09aY9Yx6liFa5KRGoIfmUuqr
df4S2yTIVLwfcg78qbOe5Qi9Cjebk9a9TLRkBZSjvQqGlTG517XdKGarxnwaQhFW
N4npJMeaBpBvuikZi3TMWYhF/vFiUV94Sl8THpWvlXsiy5QizjP976YeDSRLxDOk
gszN+NvYvh5thah9
=KJlv
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: