Hi, I’m not sure if this is the right place to report this. If it’s not, please let me know where to write this issue.
Problem:
After “omd cleanup”, “omd/versions/default” link was broken.
Expected:
“omd/versions/default” link rebuild or at least a warning.
Scenario:
1.6.0p15.cee.demo - unused and was removed
1.6.0p17.cee.demo - unused and was removed
1.6.0p18.cee.demo - in use and was kept
1.6.0p22.cee.demo - unused but set as default and was removed
If you uninstall the current default version the post remove scripts select a available version and set it as a new default. Until now i had no problems with this.
I think the “omd cleanup” command should not be used if your omd versions are installed with the normal package management. It would be good if in the help text is something like “don’t use it”
I’ll second that. I had a situation where the sites’ version link had been removed in preparation of a distribution upgrade and then omd cleanup was used to quickly deinstall the checkmk packages.
What was not expected was that omd cleanup then happily removed everything under /opt/omd as there was no site using any version any more.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.