Check_mk update from 1.2.8p26.cee to 1.4.0.cee fails

This forum was archived to /woltlab and is now in read-only mode.
  • Hi,


    Is it possible to upgrade the check_mk instance in OMD from 1.2.8p26.cee to 1.4.0.cee? If so, are there any guidelines to do so?


    When I try to update my check_mk instance, it throws the following error:



    This results in an empy 1.4.0 check_mk instance with no hosts.


    Any suggestions?


    Thanks in advance,

    Kind regards,

    Jens Borgenon

  • Delete/move the check 'synology_raids' from /omd/sites/AWS/share/check_mk/checks/ to anywhere else and run the update again.

  • Thanks for the answer.


    I've deleted the following checks from /omd/sites/AWS/share/check_mk/checks/

    synology_raid

    synology_disks

    synology_status

    synology_fans

    synology_update

    synology_info


    The error still occurs while updating

    Any suggestions to fix this error?


    Thanks in advance,

    Jens

  • Do you have any hosts inventorized that uses the synology_raid check?

    Can you attach the content of the synology_raid plugin here pls?

  • Nope, none of my hosts has something that refers to any synology check.

    The content of the synology_raid file (/omd/sites/AWS/share/check_mk/checks/synology_raid):


    I did some testing with the file (removing the line: "snmp_scan_function" : synology_scan_function,) but suddenly all synology checks in /omd/sites/AWS/share/check_mk/checks/ disappeared.

    But the error about it still occurs.

    All files are gone, even if I recreate my OMD (1.2.8p26.cee), which is very strange.


    Any suggestions?


    Thanks in advance,
    Jens

  • To which version of 1.4.0 do you want to upgrade to exactly?


    I am confused by the error "declares an unexpected key 'snmp_scan_functions'". Can you grep for that string ("snmp_scan_functions") in the files below your versions share directory please?


    Edit:

    Do you have any plugins in ~/local/share/check_mk/checks?

    If yes, does the command (as siteuser) # cmk -P list list you "synology-nas"?

    If yes, run (as siteuser) # cmk -P remove synology-nas and try to upgrade again.

  • Indeed, synology-nas is showing up when running # cmk -P list.

    After I removed it with # cmk -P remove synology-nas, everything updates fine.


    Thank you very much for all your info & patience.


    Kind regards,

    Jens