• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk instance in AWS Lightsail

Plesk_EC

New Pleskian
Server operating system version
Ubuntu 20.04.4 LTS
Plesk version and microupdate number
18.0.44
Whenever Plesk is updated, favicon file is overwritten. I did mention this to Plesk support and they said this can be added as a feature request but not sure where that has gone to. Issue is still there so whenever Plesk does updates on AWS Lightsail instances then favicon that I use gets replaced with the one that is used by Plesk. I've been replacing this favicon file every time I noticed my one has been replaced. Any input from Plesk about this? Or any other Plesk users about what they have done so this does not happen on your Plesk instances?

Thanks!
 
Thanks @IgorG - that is what I'm referring to and wonder where is the state of that request as that was raised back in 2020.

On your work around - when would the Event Handler be run though? Anyway this could run right after a Plesk update has been installed?

Many thanks.
 
Thanks @IgorG - I've added two events:

Plesk component installed lowest (0) root /bin/cp -f /home/ubuntu/favicon.ico /usr/local/psa/admin/htdocs/favicon.ico
Plesk component updated lowest (0) root /bin/cp -f /home/ubuntu/favicon.ico /usr/local/psa/admin/htdocs/favicon.ico

This should get this sorted out - appreciate the input!
 
Location of favicon.ico file might have changed for new instances of Plesk @IgorG ?

I'm making sure required file is under /usr/local/psa/admin/htdocs/ - and have validated that it's there but Plesk favicon is still showing up on this new instance - where is the path for this file now?

Thanks.
 
Thanks for the input @Kaspar but it doesn't accept the .ico file that works OK on other Plesk instances.

It also required the .svg file which I generated online and added it - I get the error that "Unexpected image MIME type: image/jpeg" - but it's a .ico file.

Thanks.
 
Yes, both a .ico and .svg file are required for the favicon as Plesk itself uses both formats for a favicon. All modern browsers support both formats, however svg has a much higher image quality.
 
There's no way to update favicon file now via the below command - and I don't have an SVG file but only the ICO

root /bin/cp -f /home/ubuntu/favicon.ico /usr/local/psa/admin/htdocs/favicon.ico

I've tried converting the ICO to SVG online but I get the following error: "Unexpected image MIME type: image/jpeg" for the ICO file - can just one file be made optional instead of having both as required?

A favicon should not be that big of an issue - plus whenever updates are done on Plesk and ICO file is replaced with that of Plesk, events that copy custom ICO which were working OK are not working any more:

Plesk component installed lowest (0) root /bin/cp -f /home/ubuntu/favicon.ico /usr/local/psa/admin/htdocs/favicon.ico
Plesk component updated lowest (0) root /bin/cp -f /home/ubuntu/favicon.ico /usr/local/psa/admin/htdocs/favicon.ico

Thanks.
 
Back
Top