icingaweb2 icon indicating copy to clipboard operation
icingaweb2 copied to clipboard

Deprecation warning upon finishing setup

Open Artim96 opened this issue 2 years ago • 8 comments

Describe the bug

When finishing setup, an error message appears together with the confirmation that setup has finished.

To Reproduce

Provide a link to a live example, or an unambiguous set of steps to reproduce this issue. Include configuration, logs, etc. to reproduce, if relevant.

  1. go through setup process until after the DB setup

Expected behavior

Only the confirmation message appearing.

Screenshots

Screenshot from 2023-11-20 13-33-07

Your Environment

Include as many relevant details about the environment you experienced the problem in

  • Icinga Web 2 version and modules (System - About): 2.12.1-1+debian12
  • Web browser used: Chrome
  • Icinga 2 version used (icinga2 --version): r2.14.0-1
  • PHP version used (php --version): 8.2.7
  • Server operating system and version: Debian Testing

Additional context

Error message doesn't seem to interfere with further setup.

Artim96 avatar Nov 20 '23 13:11 Artim96

Hii @Artim96, thanks for reporting!

This happens, though, if you don't provide LDAP binds bind_dn, bind_pw etc., you won't be able to log into Icinga Web after the wizard anyway without setting neither of them.

yhabteab avatar Nov 20 '23 14:11 yhabteab

They should not be needed as everything necessary is readable without. If they are still needed, is is a bug and I'd need to know how to add them after the fact. Just add "bind_dn=" and "bind_pw=" in the [icingaweb_ldap] section of the ressources.ini?

Artim96 avatar Nov 20 '23 14:11 Artim96

Didn't you skip this step? At least my setup does not find any users without setting the bind_dn and the ldap password.

Bildschirmfoto 2023-11-20 um 16 38 13

yhabteab avatar Nov 20 '23 15:11 yhabteab

No, I didn't, as the setup was purposefully done in a way that those aren't needed, as it's only available through intrante.

Artim96 avatar Nov 20 '23 16:11 Artim96

I don't know how you successfully completed the wizard then, since these attributes are required, as you can see in the docs.

yhabteab avatar Nov 20 '23 16:11 yhabteab

I don't know how you successfully completed the wizard then, since these attributes are required, as you can see in the docs.

Then you might want to tell that the installer. It wasn't required, it also passed validation without.

Artim96 avatar Nov 20 '23 18:11 Artim96

As you can see from the labels, I have clearly marked this as a bug. If you can log into your Icinga Web after the wizard, then you don't need to worry about this. I was just trying to point out how this deprecation error is triggered.

yhabteab avatar Nov 21 '23 07:11 yhabteab

As you can see from the labels, I have clearly marked this as a bug. If you can log into your Icinga Web after the wizard, then you don't need to worry about this. I was just trying to point out how this deprecation error is triggered.

Actually I can't. But icingaweb isn't writing any logs, not even when setting log level to debug. Hence my question how to add a Bind DN and password after the fact.

Artim96 avatar Nov 21 '23 09:11 Artim96