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

Fatal error installation #13

Closed
gonzalo- opened this issue Oct 12, 2018 · 6 comments
Closed

Fatal error installation #13

gonzalo- opened this issue Oct 12, 2018 · 6 comments

Comments

@gonzalo-
Copy link

Hello,

I am having a problem with the installation over CentOS 7:

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(409): 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

Icingaweb2 version: r2.8.4-1

Any idea?

@cberg2048
Copy link

I think this may be the same issue I ran into in #9. What version of Director are you running?

@gonzalo-
Copy link
Author

Yup, the same one, any idea of deliver the vmaware module with those libs in?

sorry for the noise

@cberg2048
Copy link

No problem. I have no idea about when, or if, the module will contain those libraries. As far as I know, Thomas is the sole contributor. Also please take a look at the rest of the requirements in /doc/01-Installation.md
The reactbundle also messed me up.

@Thomas-Gelf
Copy link
Contributor

Hi guys,

following the installation guide step by step will get you started. Director must be at least 1.5.x, reactbundle as explained NOT from the master, DB resource and related config.ini need to be in the right place. It definitively works, I know multiple people that have been able to install it this and last week. Some had trouble, but root cause was always that they skipped a step in the documentation.

After a longer break I'm now once again actively working on this, and while not having an official deadline I'd love to ship a first public release within the first week of November. Depends on multiple factors, so please don't bet on this. The module is pretty mature, running in semi-production in an environment with 5000+ VMs since nearly a year.

To get it release-ready some boring tasks need to be addressed: steal schema-migration logic from Icinga Director, be helpful when not configured correctly - and drop the requirement of running one daemon per vCenter - there should be just one of them.

@gonzalo-: there is no vmware lib required, I started to hate them in the Perl world and did not want to have such dependency at all. Code talking to the SOAP API has been written from scratch, supports just what we need - and is very fast. It supports all versions from 5.5 up to 6.7.

The exception you're seeing hides the real error, like the Director this module behaves a little bit different than the average Icinga Web 2 module - we're using them as protoypes to experiment with what we want to have in the main framework in future. You're exception however tells me that some of the very basic requirements (from Installation.md) hasn't been fulfilled. Once released, we'll catch those errors - until now we didn't, just because we didn't care. That's why I placed the "Do not use" hint into the Readme file. This way I get less noise. But still, quite some people from all over the world already ignored those lines and successfully installed this module 😆

Hope this helps, otherwise please let me know.

Cheers,
Thomas

@Thomas-Gelf
Copy link
Contributor

Regarding the reactbundle: it says "install a release version", please take this literal. The master is always "empty" per definition and will not work.

@gonzalo-
Copy link
Author

@Thomas-Gelf I am using the script that you have in the README, the last release seems to be 0.3.1, it's that OK? Besides that, I switched director to the last version and looks working now.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants