Icons on the self-service interface on Macs

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
yoann.montouchet
Messages: 31
Registration: January 10, 2025 - 6:32 PM

January 16, 2025 - 11:57

Good morning,
I noticed a bug on the Mac agents; a necessary folder is not created in the Wapt directory tree for storing icons.
I just deployed a machine with the latest agent (2.6.0.16795), here is the error visible in the Wapt console:
Screenshot 2025-01-16 114856.png
Screenshot 2025-01-16 114856.png (27.42 KB) Viewed 2281 times
The /opt/wapt/cache/icons folder is therefore missing
Using the terminal and an admin account, you can create the folder "manually":

Code: Select all

sudo mkdir -p /opt/wapt/cache/icons
Afterwards, a quick refresh in the self-service area and everything is OK:
Screenshot 2025-01-16 115545.png
Screenshot 2025-01-16 115545.png (26.38 KB) Viewed 2281 times
This is a 2017 MacBook Pro (Intel) with the agent installed via "tis-waptagent-macos-all-x86_64.pkg", but I encountered the same problem (and the same solution) with an M1 MacBook Pro.

Have a good day everyone! 👋🏻
bkolovljanovic
Messages: 23
Registration: Apr 20, 2022 - 2:26 p.m.

January 16, 2025 - 4:11 PM

Good morning,

Thanks for the info, although I admit I don't understand why it's not being created (it should normally be created automatically by the service if the directory does not exist).

It will be available for the next release.

Moreover, on this subject, with a mkdir -p Under macOS, all intermediate folders created take 777 as their permission.

We added this to the pkg post-install file

Code: Select all

if [ ! -d /opt/wapt/cache/icons ] ; then
   mkdir -p /opt/wapt/cache/icons
   chown -R root:wheel /opt/wapt/cache
   chmod -R 755 /opt/wapt/cache
fi
Answer