You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running: icingacli vspheredb daemon run --trace --debug
Running vCenter Sync for ID=1
Server for vCenterID= failed, will try again in 30 seconds
PHP Fatal error: Uncaught ErrorException: Undefined array key "args" in /usr/share/php/Icinga/Cli/Loader.php:359
Stack trace:
#0 /usr/share/php/Icinga/Cli/Loader.php(359): Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}() #1 /usr/share/php/Icinga/Cli/Loader.php(268): Icinga\Cli\Loader->formatTrace() #2 /usr/share/php/Icinga/Application/Cli.php(162): Icinga\Cli\Loader->dispatch() #3 /usr/share/php/Icinga/Application/Cli.php(152): Icinga\Application\Cli->dispatchOnce() #4 /usr/bin/icingacli(7): Icinga\Application\Cli->dispatch() #5 {main}
thrown in /usr/share/php/Icinga/Cli/Loader.php on line 359
Fatal error: Uncaught ErrorException: Undefined array key "args" in /usr/share/php/Icinga/Cli/Loader.php:359
Stack trace:
#0 /usr/share/php/Icinga/Cli/Loader.php(359): Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}() #1 /usr/share/php/Icinga/Cli/Loader.php(268): Icinga\Cli\Loader->formatTrace() #2 /usr/share/php/Icinga/Application/Cli.php(162): Icinga\Cli\Loader->dispatch() #3 /usr/share/php/Icinga/Application/Cli.php(152): Icinga\Application\Cli->dispatchOnce() #4 /usr/bin/icingacli(7): Icinga\Application\Cli->dispatch() #5 {main}
thrown in /usr/share/php/Icinga/Cli/Loader.php on line 359
Stopping while there is no more loop
Possible Solution
No idea:(
Steps to Reproduce (for bugs)
Just installed current master enabled it with correct database.
Your Environment
VMware vCenter®/ESXi™-Version: 6.7.0
Version/GIT-Hash of this module: 1.1.0 commit 5af1a02
The error shown is an error hiding the real error 🤣 Are you sure you're running PHP 7.3 and not 7.4? v7.4 introduced zend.exception_ignore_args, and the Code in Icinga Web 2 seems not being ready for this. This needs to be fixed. As a workaround you can set it to 0, I guess it is 1 in your setup. Afterwards you should see the real error that occurred.
To get a better understanding of whether this is a site-specific issue (read: you intentionally configured this) or a package/vendor-related default it would be helpful if you could provide some more details about your setup:
is 7.3.26-1+ubuntu18.04.1+deb.sury.org+1 really the PHP version you're using on CLI, or is there a more recent one
has zend.exception_ignore_args already been in your vendor-provided INI-file, has it intentionally been added to your configuration - or isn't it there at all?
Expected Behavior
It should start syncing the vcenter
Current Behavior
when running: icingacli vspheredb daemon run --trace --debug
Running vCenter Sync for ID=1
Server for vCenterID= failed, will try again in 30 seconds
PHP Fatal error: Uncaught ErrorException: Undefined array key "args" in /usr/share/php/Icinga/Cli/Loader.php:359
Stack trace:
#0 /usr/share/php/Icinga/Cli/Loader.php(359): Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}()
#1 /usr/share/php/Icinga/Cli/Loader.php(268): Icinga\Cli\Loader->formatTrace()
#2 /usr/share/php/Icinga/Application/Cli.php(162): Icinga\Cli\Loader->dispatch()
#3 /usr/share/php/Icinga/Application/Cli.php(152): Icinga\Application\Cli->dispatchOnce()
#4 /usr/bin/icingacli(7): Icinga\Application\Cli->dispatch()
#5 {main}
thrown in /usr/share/php/Icinga/Cli/Loader.php on line 359
Fatal error: Uncaught ErrorException: Undefined array key "args" in /usr/share/php/Icinga/Cli/Loader.php:359
Stack trace:
#0 /usr/share/php/Icinga/Cli/Loader.php(359): Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}()
#1 /usr/share/php/Icinga/Cli/Loader.php(268): Icinga\Cli\Loader->formatTrace()
#2 /usr/share/php/Icinga/Application/Cli.php(162): Icinga\Cli\Loader->dispatch()
#3 /usr/share/php/Icinga/Application/Cli.php(152): Icinga\Application\Cli->dispatchOnce()
#4 /usr/bin/icingacli(7): Icinga\Application\Cli->dispatch()
#5 {main}
thrown in /usr/share/php/Icinga/Cli/Loader.php on line 359
Stopping while there is no more loop
Possible Solution
No idea:(
Steps to Reproduce (for bugs)
Just installed current master enabled it with correct database.
Your Environment
The text was updated successfully, but these errors were encountered: