Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtualisation (VMWare) in webinterface results in fatal error #51

Closed
stultitiophobia opened this issue Nov 25, 2018 · 4 comments
Closed
Assignees
Labels
Milestone

Comments

@stultitiophobia
Copy link

i followed https://github.com/Icinga/icingaweb2-module-vspheredb/blob/master/doc/01-Installation.md and have all the latest releases of the modules installed.

at step:
Go to Virtualization (VMware) choose your DB resource and create the schema
the webinterface fails at Virtualisation (VMWare)

with

Fatal error: Uncaught ErrorException: Uncaught ErrorException: Creating default object from empty value in /usr/share/php/Icinga/Web/Controller/ActionController.php:127 Stack trace: #0 /usr/share/php/Icinga/Web/Controller/ActionController.php(127): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'Creating defaul...', '/usr/share/php/...', 127, Array) #1 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(59): Icinga\Web\Controller\ActionController->__construct(Object(Icinga\Web\Request), Object(Icinga\Web\Response), Array) #2 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #3 /usr/share/php/Icinga/Application/Web.php(300): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #4 /usr/share/php/Icinga/Application/webrouter.php(104): Icinga\Application\Web->dispatch() #5 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...' in /usr/share/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php on line 259
i'm not asked for the schema import.

environment:
ubuntu 16.04.5
businessprocess 2.1.0 enabled A Business Process viewer and modeler
cube 1.0.1 enabled Cube for Icinga Web 2
director master enabled Director - Config tool for Icinga 2
fileshipper 1.1.0 enabled Fileshipper for Icinga Director
incubator v0.1.1 enabled Incubator provides bleeding-edge libraries
ipl v0.1.1 enabled The Icinga PHP library
map 1.1.0 enabled Map - Visualize your hosts and service status
mapDatatype 0.0.1 enabled Location datatype for the director addon
monitoring 2.6.2 enabled Icinga monitoring module
reactbundle v0.4.1 enabled ReactPHP-based 3rd party libraries
vsphere 1.1.0 enabled VMware vSphere Import Source
vspheredb 1.0.3 enabled VMware vSphere DB
x509 1.0.0 enabled Scan and view X.509 certificate usage

@nbuchwitz
Copy link
Member

How does your resources. Ini and /etc/icingaweb2/modules/vspheredb/config.ini look like?

@stultitiophobia
Copy link
Author

stultitiophobia commented Nov 25, 2018

Nicolai, thanks for that one...
I REALLY had a typo in that, you saved my evening !


so please close the "issue"

@nbuchwitz
Copy link
Member

You're welcome. Btw. there is a more recent version of my map Datatype😉

@Thomas-Gelf Thomas-Gelf self-assigned this Nov 25, 2018
@Thomas-Gelf Thomas-Gelf added this to the v1.0.4 milestone Nov 25, 2018
@Thomas-Gelf
Copy link
Contributor

I consider this being a bug. Thanks @nbuchwitz for tracking it down, thanks @trendchiller for reporting it. Sure, it's a configuration error - but it should be caught and presented in a friendly way.

@Thomas-Gelf Thomas-Gelf modified the milestones: v1.0.4, v1.1.0 Dec 21, 2018
@Thomas-Gelf Thomas-Gelf modified the milestones: v1.2.0, v1.0.4 Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants