Question

Centreon upgrade 21.10.5 to 22.04

  • 24 June 2022
  • 2 replies
  • 883 views

Badge +2

Hi,

I’ve upgraded from 21.10.5 to 22.04 and I need to revert to 21.10 because I’ve a lot of problems.

1st one I’ve configured a no working openID connection. Once I’ve updated all PluginPack I loose the conncection to the website with the problem “whitelist IP”.

As i can’t connect to the web interface I can’t remove the openID configuration. 1st revert back for me!

In 21.10 version I desactivate openID connection and upgrade again to 22.04. I can now update all pluginPack an d continue to work on this version.

When I try to send configuration I’ve an new problem:

No picture on the left on each items and problems appear in errors/warnings in move files:

Warning chmod(); Operation not permitted (I’ve not this problem on 21.10)

You can see these 2 problems here:

https://ibb.co/q1kGFLX

Here the last line of the error log

https://ibb.co/bF24zvX

And I’ve some problem with PP proxmox (crédential problems) and TCP check seems to not working well.

So I’ve reverted again to version 21.10.

Hope these informations can help you to solve the problem.

Here the last line of the error log

https://ibb.co/bF24zvX

 

And I’ve some problem with PP proxmox (crédential problems) and TCP check seems to not workint well.

So I’ve reverted again to version 21.10.

Hope these informations can help you to solve problems.


2 replies

Userlevel 3
Badge +10

Hi,

 

About your issue of chmod, you can run following lines on central server :

chown -R apache. /etc/centreon-engine/*

chown -R apache. /etc/centreon-broker/*

 

Badge +2

Hello,

FYI I had the same issue with “Move Export Files” from https://docs.centreon.com/docs/installation/web-and-post-installation/#initialization-of-the-monitoring point 3. on a Centreon 23.04 server fresh installed with the packages on Alma 9.2

→ this was the issue (8 files were owned by centreon-engine) and your 2 commands solved the problem, thanks.

 

The files if needed by Centreon :

# ls -lh /etc/centreon-engine/*
-rw-rw-r-- 1 centreon-engine centreon-engine 4,5K 16 juin  14:36 /etc/centreon-engine/centengine.cfg
-rw-rw-r-- 1 centreon-engine centreon-engine 1,1K 16 juin  14:36 /etc/centreon-engine/commands.cfg
-rw-rw-r-- 1 apache          apache          1,5K 16 juin  14:36 /etc/centreon-engine/connectors.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/contactgroups.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/contacts.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/dependencies.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/escalations.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/hostgroups.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/hosts.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/hostTemplates.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/meta_commands.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/meta_host.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/meta_services.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/meta_timeperiod.cfg
-rw-rw-r-- 1 apache          apache             2 16 juin  14:36 /etc/centreon-engine/plugins.json
-rw-rw-r-- 1 centreon-engine centreon-engine 1,2K 16 juin  14:36 /etc/centreon-engine/resource.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/servicegroups.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/services.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/serviceTemplates.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/severities.cfg
-rw-rw-r-- 1 apache          apache          1,1K 16 juin  14:36 /etc/centreon-engine/tags.cfg
-rw-rw-r-- 1 centreon-engine centreon-engine 1,1K 16 juin  14:36 /etc/centreon-engine/timeperiods.cfg

# ls -lh /etc/centreon-engine/*
-rw-rw-r-- 1 apache apache 4,5K 16 juin  14:36 /etc/centreon-engine/centengine.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/commands.cfg
-rw-rw-r-- 1 apache apache 1,5K 16 juin  14:36 /etc/centreon-engine/connectors.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/contactgroups.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/contacts.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/dependencies.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/escalations.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/hostgroups.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/hosts.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/hostTemplates.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/meta_commands.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/meta_host.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/meta_services.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/meta_timeperiod.cfg
-rw-rw-r-- 1 apache apache    2 16 juin  14:36 /etc/centreon-engine/plugins.json
-rw-rw-r-- 1 apache apache 1,2K 16 juin  14:36 /etc/centreon-engine/resource.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/servicegroups.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/services.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/serviceTemplates.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/severities.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/tags.cfg
-rw-rw-r-- 1 apache apache 1,1K 16 juin  14:36 /etc/centreon-engine/timeperiods.cfg
 

Reply