Symptoms
-
Publishing a website from Siejet removes
.well-knownfolder or fails with below error if the folder permissions are not by default:Publication failed. Please try again
filemng failed: rm: cannot remove '/var/www/vhosts/example.com/httpdocs/.well-known/pgp-key.txt': Permission denied
rm: cannot remove '/var/www/vhosts/example.com/httpdocs/.well-known/security.txt': Permission denied
filemng: Error occurred during /bin/rm command. - Extension Native security.txt compliance is installed and configured on the server.
Cause
This is the Plesk Sitejet Builder extension bug EXTPLESK-9140, which will be fixed in future extension updates.
Resolution
In the meantime as a workaround:
- Connect to a Plesk server via SSH.
-
Temporarily move the
.well-knowndirectory out:# mv /var/www/vhosts/example.com/httpdocs/.well-known /var/www/vhosts/example.com/
- Publish the changes from Sitejet
-
Move
.well-knownback to the domain directory root:# mv /var/www/vhosts/example.com/.well-known /var/www/vhosts/example.com/httpdocs/
Comments
Please sign in to leave a comment.