Closed mariuszkopowski closed 5 years ago
I have this issue as well. I can add a single dimension without any problems. But if I try to add a second dimension I get the following:
`#0 /usr/share/icingaweb2/modules/cube/library/Cube/Ido/IdoHostStatusCubeRenderer.php(21): Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}(Integer, String, String, Integer, Array)
I get also similiar Error when I have a data field that isn't from Data List but fill it out with defualt value in template e.g. I have a template called "Windows" and there I have a field called "App" in template I fill it out with "Unknown" then each host have some other value e.g. "VMWare", "Web" etc. Then I get error as above. But if I remove defualt value ("Unknown") everything works ok.
+1, I get the same error output
what DB backend are you running? I've seen the same with PostgreSQL db backend, see #9 there someone reported he switched to MySQL and the problem disappeared.
I'm running PostgreSQL 10.4 so that might be the problem then. Thanks for pointing out @buzzdeee !
It works fine after running MySql instead of PostgreSQL 10.4. So, I can confirm that it has something to do with Cube + PostgreSQL. Even if PostgreSQL >= 9.5.
Hi all I'm running postgres 9.6. Is there any way to migrate to MySQL without loosing data? Or even better is there any way to fix this?
@mariuszkopowski, no need for migration, please test with #29 which could fix your errors
Since the related PR is now merged >> Closed.
Hi I have few fields based on Lists from director. When I'm trying to add more then one dimension I get an error
Environment:
icinga2 --version
):r2.8.2-1