Applicable to:
- Plesk Onyx for Linux
Symptoms
-
git push
command returns an error:#
fatal: unable to access 'https://username@example.com/plesk-git/example.git/': The requested URL returned error: 500
-
CageFS is turned on in Plesk.
-
In
/var/www/vhosts/system/example.com/logs/error_log
the following error is shown:CONFIG_TEXT: End of script output before headers: git_wrapper
-
In
/var/log/messages
the following error is shown:CONFIG_TEXT: git_wrapper[27538]: exec /usr/libexec/git-core/git-http-backend:No such file or directory
Cause
The git
package is not added as a safe one in CageFS for the user.
Resolution
-
Connect to the server via SSH.
-
Add Git package to the CageFS template:
# cagefsctl --addrpm git
-
Update the CageFS template:
# cagefsctl --force-update
Comments
0 comments
Please sign in to leave a comment.