Deprecation warning upon finishing setup
Artim96 opened this issue · 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.
- go through setup process until after the DB setup
Expected behavior
Only the confirmation message appearing.
Screenshots
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.
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.
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?
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.
I don't know how you successfully completed the wizard then, since these attributes are required, as you can see in the docs.
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.
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.
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.