Applicable to:
- Plesk for Linux
Symptoms
-
The text files cannot be opened by the
vim
editor, with the error below:E557: Cannot open termcap file
-
Characters are not removed with the
backspace
button, instead aspace
character is written in SSH -
In an attempt to read a file with
less
utility, after it is not possible to exit from the opened file. -
In SSH Terminal extension the arrow keys do not work as expected to navigate in the SSH session
Cause
Plesk bug with ID #PPPM-12254, which is planned to be fixed in a future Plesk version.
Resolution
Until the bug is fixed, apply the following workaround:
-
Download the update_chroot script to the server
-
Add the terminal capabilities to the chroot template by executing the update_chroot script as below:
# ./update-chroot.sh --termcap
-
Apply the new template:
-
For the specific domain:
# ./update-chroot.sh --apply example.com
Note: replace
example.com
with the name of the required domain. -
For all domains:
# ./update-chroot.sh --apply all
-
Comments
0 comments
Please sign in to leave a comment.