Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
How can I add custom application icon?

When I want to add the icon through the Application settings -> Icon -> New Icon, it returns Internal server error. There's no info about file extensions or anything.

So far I didn't find any info in docs.
by (400 points)
That's a correct way to add the application icon. Something is wrong with the icon storage, perhaps a permission error. Can you check the Tomcat log and paste the exception as a comment to the question?
1. Is it okay that only root can access /var/lib/tomcat9/work directory?
2. Tomcat logs shows "POST /rest/private/icon-files HTTP/1.1" 200 64"
3. H-MDM logs shows "Unexpected error when handling icon file upload".

Stacktrace: https://pastebin.com/Z3xerUi2
1. I don't think it is normal. Add read & write access to all users, perhaps this changes things.
2. Looks like the image could not be parsed. Which is the image format you're uploading? Should be PNG or JPEG.
So... I was uploading .ico file...

PNG works fine! I think that there should be an info about needed file extension ;)

Please log in or register to answer this question.

...