(Solved) Sitemap (icon) not updated on item change

I think there should be a automatism to update the sitemap depending on item changes.

I have a script which is executed every minute (exec binding) with a exit code of 0, 1 or 2.
The event log shows every change of the Item bound to the Thing:

Thing exec:command:net_pres_smith20 “OpenHab2 (Server 01)” @ “H_UG_Büro” [command="/etc/openhab2/scripts/10_network_presence.sh 192.168.x.x", interval=60, timeout=30]

Number png_pres_smith20 “OpenHab2 (Server 01)” <it_server> (g_net_pres, g_typ_srvr, g_typ_autm)
{ channel=“exec:command:net_pres_smith20:exit” }
DateTime exe_png_pres_smith20 “OpenHab2 (Server 01) aktualisiert: [%1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]” <it_server> (g_exe_pres, g_typ_srvr, g_typ_autm)
{channel=“exec:command:net_pres_smith20:lastexecution”}

sitemap 0_0 label=“Entry”
{
Frame label=“OpenHab” {
Text item=png_pres_smith20 label=“Server 01” icon=“it_server”
}
Frame label=“Zeitstempel” {
Text item=exe_png_pres_smith20 label=“OpenHab2 (Server 01)”
}
}

Icons:
-rw-r–r-- 1 openhab openhab 2594 Apr 10 16:20 ./icons/classic/it_server-0.svg
-rw-r–r-- 1 openhab openhab 2595 Apr 10 16:19 ./icons/classic/it_server-1.svg
-rw-r–r-- 1 openhab openhab 2596 Apr 10 16:20 ./icons/classic/it_server-2.svg

I have to reload the page to get actual values.

What is missing?

I have had a problem a bit like yours… Try restarting openhab, that did it for me.

Hmm, this time restarting fixed the problem. But I’m sure I restarted OH2 several times before while developing the sitemap.