Skip to main content
Declined

Force reinstall/deletion of a plugin pack

Related products:Infra Monitoring - Configuration
  • February 16, 2023
  • 3 replies
  • 53 views

Hi,

Currently it’s impossible to delete or reinstall a plugin pack if some templates depend on it. Clicking on the reinstall button silently fails, and clicking on the uninstall button shows this kind of message:

 


A re-installation of the pack would be, according to the support (see #59974), the only way to recover a missing icon file, consequence of a Centreon data migration procedure. It could be useful too if someone wants to reset a *-custom template he had modified.

Forcing the deletion of a pack should be possible, as it’s possible to have a template without a parent template (even if it leads to a broken engine configuration).

The idea is the following: permit to force the deletion of a pack even in case of template dependencies.

Remark 1: The migration procedure I linked is the one for the 21.10 version because I can’t find the corresponding one for 22.04 or 22.10. I think the migration is still possible with those versions, because the migration from version 3.4 still exists for 22.04 and 22.10. So the procedure should still be in the documentation for those versions too.

Remark 2: There is another obvious workaround to recover the missing icon file, that’s to copy the file from another Centreon platform. But it’s not acceptable having to install another platform (if one doesn’t have one already) just to recover a missing PNG file. Moreover, I’m not sure of the relevance to depends on the installation step in the Centreon GUI, rather than having the PNG file directly installed by the RPM package. It would be far more easier to manage from an user point of view.

3 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • February 22, 2023

Thanks for this idea.

We are not planning on implementing a re-install as you describe it, specifically deleting a pack that is already in use.

However:

1- Your specific issue about the missing icons will be investigated as the image folder should be re-synchronized when migrating

2- The migration doc for 22.10 and 22.04 exists and we will update it to add the need to re-synchonize the media directory (/usr/share/centreon/www/img/media/)


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • February 22, 2023
NewDeclined

  • Author
  • February 23, 2023

OK, that’s this one: https://docs.centreon.com/docs/migrate/migrate-from-el-to-el/

I can’t see any step where icons are migrated, but I may have missed it.