[SOLVED] Wapt selfservice and icon.png

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Locked
Patrice_minagri
Messages: 57
Registration: Oct 21, 2016 - 4:56 p.m.

November 27, 2019 - 4:12 PM

Hello,

We now have the fantastic WAPT Enterprise 1.7 tool, and I'm interested in WAPT Selfservice.

I added an icon named icon.png to the WAPT folder of a package. This package has been published, and when I open WAPT Selfservice, I can see that my package version has changed, but the icon is still the basic question mark.

The icon is indeed 48x48 pixels. I even replaced the one I initially added to the package with an icon from a Tranquil-IT package, which is correctly visible in my Selfservice. No change; this icon, which displays correctly in the Tranquil-IT package, doesn't appear in the package I tested.

What could explain this lack of display update?

Thank you.

Patrice
Last edited by Patrice_minagri on 29 Nov 2019 - 16:04, edited 1 time.
WAPT 1.7.4
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

November 28, 2019 - 11:04 AM

Hi Patrice,

The icons used in the SelfService interface are those stored in the WAPT package repository in the /icons subfolder.

They are updated when the package is updated in the repository by version increment; otherwise, it's possible to replace them with WinSCP, for example.

You can call us if needed.

Alexandre
Patrice_minagri
Messages: 57
Registration: Oct 21, 2016 - 4:56 p.m.

November 28, 2019 - 11:19

Hi Alexandre,

Thanks for your reply.

I looked in the /var/www/html/wapt/icons directory (I think that's the directory you're referring to?). I did find a set of icons whose name, icon.png, had been renamed with the name of the package it's associated with.

I ran two tests with different packages that I republished on the server after inserting the icon.png file into their respective WAPT directories.

In one case, it worked fine after several attempts. The correct icon appeared correctly in the Selfservice interface.
In the second case, the wrong icon was displayed, even though retrieving the icon assigned to that package from the server via WinSCP showed the one I had included in the package.
WAPT 1.7.4
Patrice_minagri
Messages: 57
Registration: Oct 21, 2016 - 4:56 p.m.

November 28, 2019 - 11:42

I noticed that the permissions weren't the same for the icon files (png) on ​​the server.

All the ones that work are like this:
-rw-r--r-- 1 wapt nginx 1544881 2019-11-27 15:37 agri-mremote.png

The ones that were causing problems were like this:
-rw-r--r-- 1 root root 1544881 2019-11-27 15:37 agri-webconfetat.png

My last two attempts, after redirecting to the server, now appear with these permissions:
-rw-r--r-- 1 wapt apache 1544881 2019-11-27 15:37 agri-webconfetat.png

Do the permissions on the icons always have to be those of wapt and nginx?
WAPT 1.7.4
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

November 28, 2019 - 12:21

Yes, they need to be chown as wapt:nginx for it to work correctly
Patrice_minagri
Messages: 57
Registration: Oct 21, 2016 - 4:56 p.m.

November 29, 2019 - 3:17 PM

Okay! Everything's working fine on my end now.

But this question also arises regarding the software displayed by the web interface (http:127.0.0.1:8088).

On this interface, all the packages have a question mark icon. Where can this be changed? It seems to be in a different place than for Self-Service!
WAPT 1.7.4
User avatar
vcardon
WAPT Expert
Messages: 278
Registration: Oct 06, 2017 - 10:55 p.m.
Location: Nantes, France

November 29, 2019 - 3:59 PM

Hello Patrice
Patrice_minagri wrote: Nov 29, 2019 - 3:17 PM But this question also arises concerning the software displayed by the web interface (http:127.0.0.1:8088).
The self-service web interface is not planned to be retained, so no further effort is being invested in it.

The web interface will be removed in future versions of WAPT.

We now need to use the native self-service client.

Have a good weekend.

Vincent
Vincent CARDON
Tranquil IT
Patrice_minagri
Messages: 57
Registration: Oct 21, 2016 - 4:56 p.m.

November 29, 2019 - 4:03 PM

Hello Vincent,

Thank you for your reply. Indeed, I saw it as redundant.

This will also help to clarify the overall approach to using all of this.

Have a good weekend too.

Patrice
WAPT 1.7.4
Locked