Skip to content

Error "Icon must be an image." & broken page when creating an appliction and clicking on Website button (same as #1179) #1455

@sgreadly

Description

@sgreadly

Issue very similar to #1179 when I googled.

Raspberry Pi 5 arm64

Server: Linux x 6.12.25+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux

On Docker-ce

Client: Firefox 138 on MacOS.

I just did a clean install from the instructions here: https://hub.docker.com/r/linuxserver/heimdall/

It installed version 2.6.3.

Steps (bold line explained later below):

  • Click on "Add an application" in main page
  • In Preview page, click Application Type and choose one. My choice was XWiki
  • Then, click on "Website" just under that, and add a website (http://...) and click Go
  • It asks to select an icon, gives me 3 choices. I select any of them (all have same outcome)
  • Click on Save on the bottom.

Result:

  1. It gives an error saying "Icon must be an image"
  2. It then refreshes that same page, and all images are broken (see attached).

Unable to proceed with creating an application.

Image

img src for the top broken image looks strange.

"src="http://myhost.lan/storage/http://mywiki.lan/resources/icons/xwiki/favicon16.png?cache-version=1741704314000""

Same with bottom one next to "Upload an icon"

http://myhost.lan/storage/http://mywiki.lan/resources/icons/xwiki/favicon16.png?cache-version=1741704314000

Note:

The issue that breaks this is the one in bold above.

  • If I click on "Website", and add the URL there and it populates the rest of the preview page, then it breaks when I click Save. However
  • If I don't click on Website, and just enter the URL myself in the URL box mid-page, click on Save, that works and the Application is created.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions