Template Errors after 5.0 install

Started by gmonk63, May 03, 2024, 04:42:33 PM

Previous topic - Next topic

gmonk63

After upgrading to 5.0 I have been getting alarms with the Ubiquiti AirMAX templates see below. Not sure if this was fixed with 5.0.1 but wanted to post just incase

Victor Kirhenshtein

Yes, it's database corruption caused by upgrade to 5.0.0 (fixed in 5.0.1, but unfortunately fix will not help if database is already converted).
Bug in upgrade procedure caused instance discovery filters to be replaced with transformation scripts for instance discovery DCIs where transformation scripts were defined. If you don't have lot of instance discovery DCIs best option is to go through them and re-create instance filters manually (or restore only "instd_filter" column in table "items" from database backup).

Best regards,
Victor

Filipp Sudanov

If these are out-of-the-box templates, you can re-import them via Configuration -> Import configuration. Template files are here: https://github.com/netxms/netxms/tree/master/contrib/templates

gmonk63

Perfect Thank you.. These are the out of box templates

Victor Kirhenshtein

For out of the box templates, if you didn't change them, you can just re-import them, either manually or by changing server configuration option Server.ImportConfigurationOnStartup to "always" and restarting server.

Best regards,
Victor