Thanks for your answer Yes, I restarted the whole server. I have the impression that the centreon bookworm packages are not installed during the update, only the bullseye packages remain and are removed when I do a
apt autoremove
I've run another test and the problem is that the bullseye packages are removed, not the configuration files, but the bookworm packages are not installed during the upgrade.
@Bastien I created an internal ticket for our team to check this issue.
Hi @Laurent ,
Thank you very much, I expect your news.
Sincerely
Hi, @Laurent,
Do you have any news about this ticket ?
I expect yours news.
Thanks
Sincerely
Hi @Bastien we are in the final stretch of developments for the future version 24.10.
I hope we will have time to fix packaging issue for the release of this version.
In anyway, if we are not ready, this will arrive a few weeks later the release and we will fix all version of Centreon for Debian 11 to allow to upgrade to Debian 12.
Hi @Laurent ,
Ok, thank you very much for your feedback So I'll let you get back to me when it's done. Good luck with the finalization of 24.10 Bye
Hi @Laurent ,
I'm reopening the subject because with the new version, it still doesn't work. I followed this topic https://thewatch.centreon.com/product-how-to-21/how-to-migrate-from-debian-11-to-debian-12-3874 but after the upgrade, I have no more centreon packages installed
Do you want more information to try to solve the problem ?
HI @Bastien if you don’t have Centreon packages, it means that Debian upgrade has uninstalled them.
You need to reinstall Centreon packages
I've already tried but it doesn't work, there are dependency errors with centreon.conf.php and other files. Isn't it normal that the debian update removes the centreon packages? Isn't there a problem with the update process?
Hi @Bastien no it’s not normal but when you executed the command:
apt-get dist-upgrade
A message must have told you that the Centreon packages will be uninstalled like:
you can try to move install.conf.dist.php:
cd /usr/share/centreon/www/install mv install.conf.dist.php install.conf.php
Then create missing files:
/etc/centreon/centreon.conf.php
/etc/centreon/conf.pm
with following templates:
centreon.conf.php
<?php /* * Centreon is developed with GPL Licence 2.0: * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt * Developed by: Julien Mathis - Romain Le Merlus - Christophe Coraboeuf * * The Software is provided to you AS IS and WITH ALL FAULTS. * Centreon makes no representation and gives no warranty whatsoever, * whether express or implied, and without limitation, with regard to the quality, * safety, contents, performance, merchantability, non-infringement or suitability for * any particular or intended purpose of the Software found on the Centreon website. * In no event will Centreon be liable for any direct, indirect, punitive, special, * incidental or consequential damages however they may arise and even if Centreon has * been previously advised of the possibility of such damages. * * For information : contact@centreon.com */ /* Database */ $conf_centreonn'hostCentreon'] = "127.0.0.1"; $conf_centreonn'hostCentstorage'] = "127.0.0.1"; $conf_centreonn'user'] = "centreon"; $conf_centreonn'password'] = 'centreon'; $conf_centreonn'db'] = "centreon"; $conf_centreonn'dbcstg'] = "centreon_storage"; $conf_centreonn'port'] = "3306";
I don’t remember if is exactly the full-upgrade or the autoremove that delete package but after the dist-upgrade is ok because i can get the last release of the 24.04.
With the steps of the how-to when i need to do that you say ?
Hello,
I try to upgrade debian 11 to 12 with centreon 24.04 already installed.
I have the same issue, apt full-upgrade remove all centreon packages and the content of /usr/share/centreon/www is removed.
Hi guys, did you have a backup of previous system? It look like some old Centreon packages have been installed and are no more present with 24.10.x and Debian 12 and because of this and of dependency system, Debian propose to remove them.
If you validate this proposition, Debian remove all Centreon packages.
Yes i use a clone of my production central and i can test upgrade and rollback if i want.
apt list -i centreon* |egrep -v "(plugin|pack|widget)" | sort
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
centreon-auto-discovery-server/now 24.04.0-1~bullseye all installé, local] centreon-bam-server/now 24.04.3-1~bullseye all installé, local] centreon-broker-cbd/now 24.04.6-1~bullseye amd64 4installé, local] centreon-broker-cbmod/now 24.04.6-1~bullseye amd64 6installé, local] centreon-broker-core/now 24.04.6-1~bullseye amd64 dinstallé, local] centreon-broker/now 24.04.6-1~bullseye amd64 minstallé, local] centreon-central/now 24.04.7-1~bullseye all einstallé, local] centreon-clib/now 24.04.6-1~bullseye amd64 installé, local] centreon-common/now 24.04.7-1~bullseye all einstallé, local] centreon-connector/now 24.04.6-1~bullseye amd64 yinstallé, local] centreon-connector-perl/now 24.04.6-1~bullseye amd64 einstallé, local] centreon-connector-ssh/now 24.04.6-1~bullseye amd64 sinstallé, local] centreon-engine-daemon/now 24.04.6-1~bullseye amd64 linstallé, local] centreon-engine/now 24.04.6-1~bullseye amd64 linstallé, local] centreon-gorgone-centreon-config/now 24.04.3-1~bullseye all ~installé, local] centreon-gorgone/now 24.04.3-1~bullseye all 1installé, local] centreon-it-edition-extensions/now 24.04.1-1~bullseye all -installé, local] centreon-license-manager-common/now 24.04.1-1~bullseye all 1installé, local] centreon-license-manager/now 24.04.1-1~bullseye all .installé, local] centreon-mariadb/now 24.04.7-1~bullseye all 4installé, local] centreon/now 24.04.7-1~bullseye all 0installé, local] centreon-perl-libs/now 24.04.7-1~bullseye all .installé, local] centreon-poller/now 24.04.7-1~bullseye all 4installé, local] centreon-pp-manager/now 24.04.1-1~bullseye all 2installé, local] centreon-trap/now 24.04.7-1~bullseye all installé, local] centreon-web/now 24.04.7-1~bullseye all winstallé, local]
Hi everyone
Sorry for my absence but I didn't get the notifications of your answers
@Laurent , I'm also doing the tests on a clone so I can test if needed.
I'm currently running 24.04.6 and debian 11.
What should I do then?
Isn't it possible to first upgrade to debian 12 with packages in 24.04.6 or 7 and then upgrade to version 24.10 once on debian 12 ?
HI @Bastien yes you can move first to Debian 12 / Centreon 24.04.x then move to 24.10.x
During the process (, for the “apt full-upgrade” command, if you have something like: