Articles in this section

How to rebuild the chroot template on Plesk?

kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux

Question

How to rebuild the chroot template on a Plesk server?

Answer

To rebuilt it download and use the corresponding script as follows:

  1. Connect to the server via SSH;

  2. Download the chroot management script and make executable:

    # wget https://raw.githubusercontent.com/plesk/kb-scripts/master/update-chroot/update-chroot.sh && chmod +x update-chroot.sh

  3. Run the script to remove the current chrooted template from all domains, create a new template and apply it:

    # ./update-chroot.sh --rebuild

    Note: If the type of shell access for system user of a subscription differs from /bin/bash (chrooted), the old template will not be removed from its directory.

Additional information

How to add programs to chrooted shell environment template in Plesk?

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.