Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Unable to update centreon 22.04 - package centreon-release-22.04-3.el7.centos.noarch is already installed #12060

Open
1 task
ERFPP opened this issue Nov 8, 2022 · 0 comments
Labels
status/new New tickets

Comments

@ERFPP
Copy link

ERFPP commented Nov 8, 2022

BUG REPORT INFORMATION

Prerequisites

The opened issue, must be code related. GitHub is not meant for support. Feel free to check the CONTRIBUTING section for more details.

Versions

For the RPM based systems

-- Copy/Paste the result of the following command --

$ rpm -qa | grep centreon | egrep -v "(plugin|pack)" | sort
centreon-22.04.7-5.el7.centos.noarch
centreon-auto-discovery-server-22.04.1-2.el7.centos.noarch
centreon-broker-22.04.1-4.el7.x86_64
centreon-broker-cbd-22.04.1-4.el7.x86_64
centreon-broker-cbmod-22.04.1-4.el7.x86_64
centreon-broker-core-22.04.1-4.el7.x86_64
centreon-broker-storage-22.04.1-4.el7.x86_64
centreon-central-22.04.7-5.el7.centos.noarch
centreon-clib-22.04.1-4.el7.x86_64
centreon-common-22.04.7-5.el7.centos.noarch
centreon-connector-22.04.1-4.el7.x86_64
centreon-connector-perl-22.04.1-4.el7.x86_64
centreon-connector-ssh-22.04.1-4.el7.x86_64
centreon-database-22.04.7-5.el7.centos.noarch
centreon-engine-22.04.1-4.el7.x86_64
centreon-engine-daemon-22.04.1-4.el7.x86_64
centreon-engine-extcommands-22.04.1-4.el7.x86_64
centreon-gorgone-22.04.1-1.el7.centos.noarch
centreon-gorgone-centreon-config-22.04.1-1.el7.centos.noarch
centreon-license-manager-22.04.0-1.el7.centos.noarch
centreon-license-manager-common-22.04.0-1.el7.centos.noarch
centreon-perl-libs-22.04.7-5.el7.centos.noarch
centreon-poller-22.04.7-5.el7.centos.noarch
centreon-pp-manager-22.04.0-2.el7.centos.noarch
centreon-release-21.04-5.el7.centos.noarch
centreon-release-21.10-2.el7.centos.noarch
centreon-release-21.10-4.el7.centos.noarch
centreon-release-22.04-3.el7.centos.noarch
centreon-trap-22.04.7-5.el7.centos.noarch
centreon-web-22.04.7-5.el7.centos.noarch
centreon-widget-engine-status-22.04.0-5.el7.centos.noarch
centreon-widget-global-health-22.04.0-5.el7.centos.noarch
centreon-widget-graph-monitoring-22.04.0-5.el7.centos.noarch
centreon-widget-grid-map-22.04.0-5.el7.centos.noarch
centreon-widget-hostgroup-monitoring-22.04.0-5.el7.centos.noarch
centreon-widget-host-monitoring-22.04.0-5.el7.centos.noarch
centreon-widget-httploader-22.04.0-5.el7.centos.noarch
centreon-widget-live-top10-cpu-usage-22.04.0-5.el7.centos.noarch
centreon-widget-live-top10-memory-usage-22.04.0-5.el7.centos.noarch
centreon-widget-servicegroup-monitoring-22.04.0-5.el7.centos.noarch
centreon-widget-service-monitoring-22.04.0-5.el7.centos.noarch
centreon-widget-single-metric-22.04.0-5.el7.centos.noarch
centreon-widget-tactical-overview-22.04.0-5.el7.centos.noarch

For the deb based systems

-- Copy/Paste the result of the following command --

$ dpkg -l | grep centreon

Operating System

CentOS7

Browser used

  • Edge 107.0.1418.35

Version: --

Additional environment details (AWS, VirtualBox, physical, etc.):
Serveur virtuel Vmware

Description

-- Describe the encountered issue --
When i want to upgrade centreon 22.04.7 :
yum update centreon*
Modules complémentaires chargés : fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.standaloneinstaller.com
  • centos-sclo-rh: mirrors.standaloneinstaller.com
  • centos-sclo-sclo: mirrors.ircam.fr
  • extras: centos.reloumirrors.net
  • updates: mirrors.ircam.fr
    Résolution des dépendances
    --> Lancement de la transaction de test
    ---> Le paquet centreon-release.noarch 0:21.04-5.el7.centos sera mis à jour
    ---> Le paquet centreon-release.noarch 0:21.10-2.el7.centos sera mis à jour
    ---> Le paquet centreon-release.noarch 0:21.10-4.el7.centos sera mis à jour
    ---> Le paquet centreon-release.noarch 0:22.04-3.el7.centos sera utilisé
    --> Résolution des dépendances terminée

Dépendances résolues

=================================================================================================================================================================================================
Package Architecture Version Dépôt Taille

Mise à jour :
centreon-release noarch 22.04-3.el7.centos centreon-stable-noarch 3.4 k

Résumé de la transaction

Mettre à jour 1 Paquet

Taille totale  : 3.4 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
package centreon-release-22.04-3.el7.centos.noarch is already installed

Résumé des erreurs

Logs

PHP error logs

PHP 8.0.13

tail -f /var/log/php-fpm/centreon-error.log
[08-Nov-2022 10:10:19 Europe/Paris] PHP Warning:  Undefined array key "theme" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/69f3024a902d37b45dc54ca2adc7c137329eb991_0.file.global_health_service.ihtml.php on line 37
[08-Nov-2022 10:10:19 Europe/Paris] PHP Warning:  Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/69f3024a902d37b45dc54ca2adc7c137329eb991_0.file.global_health_service.ihtml.php on line 37
[08-Nov-2022 10:10:19 Europe/Paris] PHP Warning:  Undefined array key "theme" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/69f3024a902d37b45dc54ca2adc7c137329eb991_0.file.global_health_service.ihtml.php on line 37
[08-Nov-2022 10:10:19 Europe/Paris] PHP Warning:  Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/69f3024a902d37b45dc54ca2adc7c137329eb991_0.file.global_health_service.ihtml.php on line 37
[08-Nov-2022 10:16:32 Europe/Paris] CRITICAL: You are not authorized to access this resource {"context":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You are not authorized to access this resource at /usr/share/centreon/vendor/symfony/framework-bundle/Controller/AbstractController.php:358)"}

[08-Nov-2022 10:17:10 Europe/Paris] CRITICAL: You are not authorized to access this resource {"context":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You are not authorized to access this resource at /usr/share/centreon/vendor/symfony/framework-bundle/Controller/AbstractController.php:358)"}

[08-Nov-2022 10:17:13 Europe/Paris] CRITICAL: You are not authorized to access this resource {"context":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You are not authorized to access this resource at /usr/share/centreon/vendor/symfony/framework-bundle/Controller/AbstractController.php:358)"}

centreon-broker logs (if needed)

tail -f /var/log/centreon-broker/central-broker-master.log
[2022-11-08T10:20:11.943+01:00] [tcp] [error] Error while reading on socket: End of file
[2022-11-08T10:20:12.043+01:00] [core] [error] feeder 'central-broker-master-input-2' error:Attempt to read data from peer 127.0.0.1:37526 on a closing socket
[2022-11-08T10:20:12.043+01:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2022-11-08T10:20:12.043+01:00] [core] [info] feeder: queue files of client 'central-broker-master-input-2' removed
[2022-11-08T10:20:12.043+01:00] [core] [info] multiplexing: '/var/lib/centreon-broker//central-broker-master.queue.central-broker-master-input-2' removed
[2022-11-08T10:20:12.044+01:00] [core] [info] feeder: thread of client 'central-broker-master-input-2' will exit
[2022-11-08T10:20:12.109+01:00] [core] [info] New incoming connection 'central-broker-master-input-3'
[2022-11-08T10:20:12.109+01:00] [core] [info] multiplexing: 'central-broker-master-input-3' starts with 0 in queue and the queue file is disable
[2022-11-08T10:20:12.109+01:00] [core] [info] removing 'central-broker-master-input-2' from acceptor 'central-broker-master-input'
[2022-11-08T10:20:12.109+01:00] [core] [info] Destroying muxer central-broker-master-input-2: number of events in the queue: 0



@ERFPP ERFPP added the status/new New tickets label Nov 8, 2022
@ERFPP ERFPP changed the title Impossible to update centreon 22.04.7 -> 22.10 - package centreon-release-22.04-3.el7.centos.noarch is already installed Unable to update centreon 22.04 - package centreon-release-22.04-3.el7.centos.noarch is already installed Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/new New tickets
Projects
None yet
Development

No branches or pull requests

1 participant