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:
-
Connect to the server via SSH;
-
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
-
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?
Comments
Please sign in to leave a comment.