OH3.2 Main UI - OH Icons not working

Hi,

If I use OH icons in any layout page than the icon is not visible anymore (since a few days, it worked in the past).
If I use a different icon set, than icons are working fine.
There is no error in the log, I have already used different browsers, cleared cache on my browser & cleared OH cache, but the issue is still there.

Sample:

code
config:
  label: Icon Test
blocks:
  - component: oh-block
    config: {}
    slots:
      default:
        - component: oh-grid-row
          config: {}
          slots:
            default:
              - component: oh-grid-col
                config: {}
                slots:
                  default:
                    - component: oh-label-card
                      config:
                        title: "OH Icon (with oh: prefix)"
                        icon: oh:sun
              - component: oh-grid-col
                config: {}
                slots:
                  default:
                    - component: oh-label-card
                      config:
                        title: "OH Icon (without oh: prefix)"
                        icon: sun
              - component: oh-grid-col
                config: {}
                slots:
                  default:
                    - component: oh-label-card
                      config:
                        title: F7 Icon
                        icon: f7:thermometer
              - component: oh-grid-col
                config: {}
                slots:
                  default:
                    - component: oh-label-card
                      config:
                        title: Material Icon
                        icon: material:add
              - component: oh-grid-col
                config: {}
                slots:
                  default:
                    - component: oh-label-card
                      config:
                        title: Iconify Icon
                        icon: iconify:uil:adjust-half
masonry: null
grid: []
canvas: []

If I use my browsers developer tool I see the following html code for a working icon, e.g. f7:

<div class="item-media"><i class="icon f7-icons" style="font-size: 32px; width: 32px; height: 32px;">thermometer</i></div>

and this code for the OH:sun icon:

<div class="item-media"><img onload="this.classList.remove('no-icon')" onerror="this.classList.add('no-icon')" src="/icon/sun?format=svg&amp;anyFormat=true" class="no-icon" style="width: 32px; height: 32px;"></div>

http://OH-IP:Port/icon/sun?format=svg&anyFormat=true is returning a 404 error

URI:	/icon/sun
STATUS:	404
MESSAGE:	Not Found
SERVLET:	org.ops4j.pax.web.service.spi.model.ServletModel-24

Any ideas how to fix this?

Thanks in advance

That’s pretty strange. I’ve never heard of anything like that before.

Are you running on a PI? It sounds like maybe there’s been some corruption of the icon data which would make me suspect an sdcard issue.

Yes, it’s a pi 3b

Do you know where the oh icons are stored, then I can try to access the relevant file?

The icons are stored in an iconset jar file that you should be able to get to starting here: runtime/system/org/openhab/ui/bundles/.

Yes, the jar file is missing. I can find the folder and an org.openhab.ui subfolder, but not the iconset jar file :confused:

Maybe time for a new sd card…