Package Icons not being displayed in Managed Software Installer

554 views
Skip to first unread message

Daniel McDonnell

unread,
Oct 29, 2014, 7:40:55 AM10/29/14
to munk...@googlegroups.com
Hi,

I'm currently running Munki on a Linux machine and I've got the Munkitools and MunkiWebAdmin running.
It was a bit of a fight but I got there. I'm really happy with it, It's a great tool from what I've seen and been messing around with.
However I've got some issues concerning the package icons in the managed software installer.
When uploading packages I'm prompted with the question whether munki should try and export the icons from the pkg.
I respond with a yes and it extracts the icons, these are then also placed in the icons directory of the munki root.
However, some of the icons work and others don't.
iTunes works, so does Google Drive, Google Chrome and Firefox.
The Adobe Flash Player, Java and Citrix icons however just show up as pkg file icons.
I've tried a few things with the adobe flash player icon, such as resizing it, renaming it but nothing seems to make a difference.
Is there a possibility of setting the icon to be used yourself ? Maby in the pkginfo file ?

Thanks

Daniel


Geometry Global GmbH, Rosenthaler Straße 51, 10178 Berlin, 
HRB: 159846B, Amtsgericht: Berlin Charlottenburg,  Geschäftsführer: Stefan Knieß (CEO), Christian Mommertz (CCO), Frank Wolfram (CTO), Eugen Kern, Peter Mergemeier, Diego Miranda.

lists.mac

unread,
Oct 29, 2014, 8:09:12 AM10/29/14
to munk...@googlegroups.com
On Oct 29, 2014, at 7:40 AM, Daniel McDonnell <daniel.m...@geometry.com> wrote:

Hi,

I'm currently running Munki on a Linux machine and I've got the Munkitools and MunkiWebAdmin running.
It was a bit of a fight but I got there. I'm really happy with it, It's a great tool from what I've seen and been messing around with.
However I've got some issues concerning the package icons in the managed software installer.
When uploading packages I'm prompted with the question whether munki should try and export the icons from the pkg.
I respond with a yes and it extracts the icons, these are then also placed in the icons directory of the munki root.

This is correct 


However, some of the icons work and others don't.
iTunes works, so does Google Drive, Google Chrome and Firefox.
The Adobe Flash Player, Java and Citrix icons however just show up as pkg file icons.
I've tried a few things with the adobe flash player icon, such as resizing it, renaming it but nothing seems to make a difference.
Is there a possibility of setting the icon to be used yourself ? Maby in the pkginfo file ?


Have you seen the Product Icon wiki page? https://github.com/munki/munki/wiki/Product-Icons

Quick take aways from the wiki:
The preferred format is PNG
The preferred resolution is 300x300

"When looking for product artwork, managedsoftwareupdate checks for an 'icon_name" key in the item's pkginfo. If this exists and has a file extension, the filename is requested. Otherwise, ".png" is appended to the name to be requested. If the pkginfo does not have an 'icon_name" key, the pkginfo "name" key plus ".png" will be requested.”


Marnin


Daniel McDonnell

unread,
Oct 29, 2014, 9:29:55 AM10/29/14
to munk...@googlegroups.com


Yes I have seen that, that's why I posted that I've tried resizing etc.
I've also tried it with the iconimporter but that didn't do much else than importing them to munki_root/icons
where they were already. I had tried naming the icon the same as the pkginfo key "name" with the .png file extention and I've now also tried adding an icon_name key to the pkginfo file but to no avail.
What else can I look at ?


Gregory Neagle

unread,
Oct 29, 2014, 9:32:33 AM10/29/14
to munk...@googlegroups.com

On Oct 29, 2014, at 6:29 AM, Daniel McDonnell <daniel.m...@geometry.com> wrote:

Yes I have seen that, that's why I posted that I've tried resizing etc.
I've also tried it with the iconimporter but that didn't do much else than importing them to munki_root/icons
where they were already. I had tried naming the icon the same as the pkginfo key "name" with the .png file extention and I've now also tried adding an icon_name key to the pkginfo file but to no avail.
What else can I look at ?

Perhaps the log?

Are you sure this isn't something silly like the files on the webserver have the wrong owner, group or permissions and the web server can't read them?

In a browser, visit http(s)://munkiserver/repo/icons/someiconthatsgivingyoutrouble.png -- can you view it in a browser?

-Greg

Josh Malone

unread,
Oct 29, 2014, 9:46:28 AM10/29/14
to munk...@googlegroups.com
I've found this is usually a web server issue. A lot of default apache
configs especially have an Alias for /icons that points somewhere you
might not expect. That bit me.

-Josh
> --
> You received this message because you are subscribed to the Google Groups
> "munki-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to munki-dev+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Gregory Neagle

unread,
Oct 29, 2014, 9:57:34 AM10/29/14
to munk...@googlegroups.com
On Oct 29, 2014, at 6:46 AM, Josh Malone <josh....@gmail.com> wrote:

I've found this is usually a web server issue. A lot of default apache
configs especially have an Alias for /icons that points somewhere you
might not expect. That bit me.

Daniel McDonnell

unread,
Oct 29, 2014, 11:50:05 AM10/29/14
to munk...@googlegroups.com
Hi,
thanks for the replys turns out it was just a matter of adding "Alias /icons /var/www/icons/" to the 000-default site in apaches sites-enabled.
I had read several times about the Alias for icons being in the httpd.conf so I was looking through my apache.conf but didn't think to check the sites-enabled config files.
Sorry about that.
Thanks again for the help.

Daniel
Reply all
Reply to author
Forward
0 new messages