- Plesk Onyx for Linux
A subscription has the Access to the server over SSH option enabled to
/bin/bash(chroot)at Plesk > Subscriptions > example.com > Web Hosting Access.
Such a subscription has a local GIT repository setup at Plesk > Subscriptions > GIT > Local repository on your workstation.
The subscription GIT webhook has been manually edited to include additional commands at Plesk > Subscriptions > example.com > File Manager > git > pleskrepo > hooks > post-receive, for example:
curl -X POST --data '' http://localhost:8880/modules/git/public/web-hook.php?uuid=8ba4a07e-8d1c-0a8e-ddc4-ef959cf1ae7e
- On the local workstation, upon pushing changes to the Plesk repository, the aforementioned webhook
post-receiveis triggered and its output shows the actual (system-wide) "
/" (root) directory, instead of the chooted "
/" from the example.com subscription:
# git push
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 8 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 254 bytes | 254.00 KiB/s, done.
Total 2 (delta 0), reused 0 (delta 0)
remote: % Total % Received % Xferd Average Speed Time Time Time Current
remote: Dload Upload Total Spent Left Speed
remote: 0 0 0 0 0 0 0 0 -::- -::- -::- 0
Git extension bug with ID #EXTGIT-95, which is planned to be fixed in future updates.
There is no available workaround to such bug.
Consider subscribing to this article to be notified when the bug will be fixed.