Articles in this section

Plesk Sitejet domain fail to publish with permissions error for .well-known directory: filemng: Error occurred during /bin/rm command.

Plesk for Linux kb: technical ext: sitejet

Symptoms

  • Publishing a website from Siejet removes .well-known folder 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:

  1. Connect to a Plesk server via SSH.
  2. Temporarily move the .well-known directory out:

    # mv /var/www/vhosts/example.com/httpdocs/.well-known /var/www/vhosts/example.com/

  3. Publish the changes from Sitejet
  4. Move .well-known back to the domain directory root:

    # mv /var/www/vhosts/example.com/.well-known /var/www/vhosts/example.com/httpdocs/

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.