• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

chroot

  1. Talistech

    Resolved fetch_url command suddenly broken in chrooted environment

    Hi fellow Pleskians, I broke the fetch_url command in a chrooted environment for only 1 specific user. I'm getting the following mail sent by failed cron jobs: -: line 1: /opt/psa/admin/sbin/fetch_url: No such file or directory Running/fetching the urls via the web interface works well, no...
  2. J.Wick

    Issue Backspace key doesn't work when logged in chroot account

    Regular /bin/bash users work fine, it's when going to the /bin/bash(chrooted) user the backspace key doesn't work, it keeps adding another space like the space bar. I've looked online for a solution, nothing is working. Any suggestions?
  3. Hans | Pixel Creation

    Question More info on phpenv

    In the changelog for Plesk Obsidian 18.0.44 it says “The console now works using a domain’s PHP version instead of the system PHP.” We use chroot extensively and I have a setup where I add all available PHP versions and have symlinks in the PATH, including a symlink for `php` to the most recent...
  4. Sven Wappler

    Question PHP CLI versions in chrooted environment

    Hello, first I would like to ask a question of understanding because I am new to Plesk users. I am a server administrator and PHP developer and would like to use Plesk as a reseller among other things. I am also looking for solutions for partner agencies. PHP software needs more and more access...
  5. O

    Question Why is .bashrc inside chroot not working?

    Hi, our customer has a chrooted SSH access to his website. He wants to use his own .bashrc file but it is not working. I tried already to make a .profile file but also not working. Is that even possible or is that for chrooted SSH access disabled?
  6. M

    Issue php: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by php)

    Hello all, after updating my Plesk server from Ubuntu 16 -> Ubuntu 18 -> Ubuntu 20, I wanted to configure a specific PHP version for CLI on my server as described here: How to configure a specific command line PHP version for an SSH user on a Plesk for Linux server? I wanted to use PHP 7.4 in...
  7. M

    Resolved change home directory for a chrooted user

    If we change de home directory for a chrooted user from /var/www/vhosts/domain.tld to /var/www/vhosts/domain.tld/another_dir, we cannot login and get this error... ssh [email protected] Password: Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-67-generic x86_64) Last login: Mon Mar 22...
  8. Talistech

    Question Missing /bin/bash (chrooted)

    Hey guys, I have Plesk installed on 2 different vps', one of them has the option to go through chrooted shell, the other one has not. How can I install it or make it visible? Already did the "/update_chroot.sh --install" script, still not visible. Any idea? The chroot folder already exists...
  9. DaniëlB1990

    Resolved Unable to SFTP (due to?) & Incorrect chown/chmod rights

    Hello! I'm struggling quite some time now to get my Ubuntu 16.04.5 LTS server with Plesk back to fully functioning but haven't had to much at at doing so. The problem is currently that my chown, and possibly chmod rights aren't set with the correct rights and/or owner, which possibly makes me...
  10. T

    Question Can Plesk automatically set the specified chroot(PHP) directory for each domain?

    Like this: a.com -> chroot /home/wwwroot/a.com b.com -> chroot /home/wwwroot/b.com (I don't use open_basedir because it's a bit unsafe) Can Plesk do it?
  11. L

    Question Slave DNS Server - Separate Folder For Zone Files?

    Hi all We've provisioned a new instance of Plesk and installed the Slave DNS Manager extension. We've configured a slave DNS server and confirmed the sync is working between the two. So far, so good. On the Slave DNS server we would like to have a separate folder for the zone files from Plesk...
  12. U

    Issue Update to Plesk Onyx 17.5.3 Breaks CHROOT for all subscriptions

    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...
  13. Daniel Hendricks

    Question Allow Git command line access under chrooted bash?

    I'd like to allow some users git command-line use from a chrooted bash session so that they can link to and manage their Plesk git repo (or remote to any repo, if desired). I have to questions: How do I do this (correctly)? I saw this article re: adding SSH, and I assume that I would do...
  14. R

    Question What's chroot inside the /var/www/vhosts folder

    Hi everyone! Just want to know what's the "chroot" folder inside the "/var/www/vhosts" path Thank you
  15. B

    Question Prevent a Plesk update in the chroot files

    Hi everyone, i have create a custome chroot envoiment with debootstrap. The last update has overwritten the chrootet environment with wrong files. I had to restore my version, so that the function continues as thought. How can I prevent plesk from overwriting my files? Thanks
  16. WebHostingAce

    Resolved How safe to add following commands to CHROOTED shell?

    Hi, I just want to know how SAFE to add following commands to CHROOTED shell? which cat patch sed pwd basename php using https://support.plesk.com/hc/en-us/articles/213909545--HOWTO-How-to-add-new-programs-to-a-chrooted-shell-environment-template Thank you
  17. A

    Issue /bin/bash(chrooted) SSH suddenly denied for all domains

    Previously all our web customers were setup to access their SFTP using the shell /bin/bash(chrooted). As of 2-17-17 it was working for everyone. The following Monday 2-20-17 it was not. This issue is affecting ALL domains that used /bin/bash(chrooted) as the shell. When trying to connect via my...
  18. C

    Question Restrict SFTP to httpdocs Plesk Onyx

    Hi there, New to plesk so please be patient. I've already searched the documentation, forums and google, but am struggling to find the specific answer. I would like to enable SFTP access on Plesk Onyx which is restricted (Chrooted) to the httpdocs folder. I have found various tutorials via...
  19. P

    Question Why is the user's chroot-home not owned by root?

    Hello, I'm setting up a vserver for learning purposes. One topic I read about were creating chroot environments. The tutorials always stated "everything inside the chroot directory is owned by root" and "the chroot directory itself is owned by root too" When I ssh to my server with PLESK "ls...
  20. J

    chroot'd sftp fails with "connection closed"

    First, I did find both of these knowledge base articles: https://kb.plesk.com/en/8602 https://kb.plesk.com/en/114756 My /var/www/vhost/chroot has the sftp and lib files in them. As do my site directories. Filezilla says "Could not connect to server". auth.log looks something like when I sftp...
Back
Top