• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Git commands and sub-command available in Plesk

fabrizioi

Basic Pleskian
Server operating system version
AlmaLinux 8.5
Plesk version and microupdate number
Plesk Obsidian 18.0.68 Update #2 Web Host Edition
Hi All,

I need post-deploy action in git , so I have do the following as explained here:

Plesk KB

Code:
cd /usr/local/psa/admin/sbin
curl -o update-chroot.sh
chmod 700 ./update-chroot.sh
mv /usr/local/psa/admin/sbin/update-chroot.sh /usr/local/psa/admin/sbin/update-chroot
/usr/local/psa/admin/sbin/update-chroot --help
/usr/local/psa/admin/sbin/update-chroot --add git
/usr/local/psa/admin/sbin/update-chroot --apply all
After that, under the root of the subscription example.com , I have enabled post-deploy action and create a file with exec permission post-deploy.sh .

Code:
git -v >> ./deploy.log
git submodule status >> ./deploy.log

git command is available , but the output of git submodule status is : git submodule is not a git command .

I have read this post on Plesk forum .

I need also this in order to support git sub-commands ?

Code:
update-chroot --add /usr/libexec/git-core/*

Any help is appreciated .
 
Back
Top