• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Update to Plesk Onyx 17.5.3 Breaks CHROOT for all subscriptions

Ultra Graphics

New Pleskian
I've been having some issues with chroot, and I might have narrowed down the cause to a file that came up in an update log for updating plesk to 17.5.3:

Trying to install sftp-server binary into chroot environment... cp: cannot stat '/usr/libexec/openssh/sftp-server\r': No such file or directory
done
/var/www/vhosts/chroot/usr/libexec/openssh/sftp-server
: cannot open (No such file or directory)
probably it will not work in chrooted accounts

Results of a check in SSH:
# ls -l /usr/libexec/openssh/sftp-server
-rwxr-xr-x 1 root root 100824 Oct 19 14:52 /usr/libexec/openssh/sftp-server

So I know it exists :) I had to roll back to Version 17.0.17 Update #45. I found this issue in a search on this forum, but it's very old and the user unfortunately received zero help. Has this happened to anyone else? Thank you!
 
Upon more research, does the "\r" having anything to do with it? I'm reading that that can be a Windows-based special character which causes the script to break. But the script is coming from a pre-made Plesk Update that is run through the Plesk UI, so wouldn't it be assumed that it's compatible with my setup. Am I going the wrong direction here?

I also found a thread where there were some lib and lib64 files from CentOS6 that didn't belong in CentOS7, but my server was purchased new with CentOS7 installed so I don't think that relates to me, but I can't be sure.

To be clear, after updating, I could connect via SSH on SFTP, but ONLY if the access wasn't chrooted using plesk settings (ie /bin/bash works, /bin/bash (chrooted) does not work).

Thanks again for any help.
 
Back
Top