Solved

Impossible to export conf - Post 21.10 upgrade

  • 25 January 2022
  • 5 replies
  • 339 views

Userlevel 1
Badge +6

Hello

 

Thx to itoussies, I was able to update Centreon, but now I can’t export my configuration and am still stuck beofre the mariadb upgrade.

Poller is stopped.

WHen I use dev tools from firefox I see those errors.

The two first when i enter in the export menu

The last one when I click on Export.

 

Might it be the cause of my problem ?

 

Uncaught ReferenceError: $$ is not defined

    render https://IP/centreon/class/centreonToolTip.js:22
    <anonymous> https://IP/centreon/main.get.php?p=60902&poller=1:227
centreonToolTip.js:22:3
    render https://IP/centreon/class/centreonToolTip.js:22
    <anonyme> https://IP/centreon/main.get.php?p=60902&poller=1:227
 

Uncaught ReferenceError: $$ is not defined

    render https://IP/centreon/class/centreonToolTip.js:22
    <anonymous> https://IP/centreon/main.get.php?p=60902&poller=1:638
 
Comme certains cookies utilisent incorrectement l’attribut « SameSite », le fonctionnement ne sera pas celui attendu. 6
 

Uncaught Error: cannot call methods on progressbar prior to initialization; attempted to call method 'value'

    jQuery 5
    updateProgress https://IP/centreon/main.get.php?p=60902&poller=1:603
    generationProcess https://IP/centreon/main.get.php?p=60902&poller=1:300
 
Thx for your help, again
icon

Best answer by Benjamin_b 26 January 2022, 14:09

View original

5 replies

Userlevel 1
Badge +6

I did enable logging for centengine as suggested by itoussies in another post, but the file /var/log/centreon-engine/centengine.debug stay empty.

Userlevel 1
Badge +6

Well, I did restore the snapshot pre-upgrade and restarted all the process and now the button work and I was able to export the configuration.

Time to upgrade MariaDB now :)

Userlevel 1
Badge +6

Nevermind, I still have the issue.

I also identified that when I select my poller in the list and then click on export, it doesnt appears on the ‘selected pollers’ on the next screen. When this happens i know i can’t export my conf even if I manually select the poller again.

 

Is that possible to do a config export via CLI ?

If someone already had the issue and fixed it that would be fantastic ;)

 

Thx

 

Userlevel 1
Badge +6

Seems the upgrade made it work again

Userlevel 6
Badge +18

@Benjamin_b don’t forget to clear your browser cache is you have this type of issue

Reply