Symptoms
-
Accessing git repository/push via HTTP(S) fails with error:
[auth_basic:error] [pid 5991:tid 140384302696192] [client 203.0.113.2:41872] AH01618: user example not found: /example.git
[cgi:error] [pid 5991:tid 140384302696192] [client 203.0.113.2:41872] AH01215: Request not supported: '/var/www/vhosts/example.com/git/example.git'
[auth_basic:error] [pid 5991:tid 140384311088896] [client 203.0.113.2:38061] AH01618: user example not found: /example.git
[cgi:error] [pid 5991:tid 140384311088896] [client 203.0.113.2:38061] AH01215: Request not supported: '/var/www/vhosts/example.com/git/example.git' -
One of the following error messages might appear when performing the Git push:
error: Cannot access URL https://[email protected]/plesk-git/repository.git/, return code 22
fatal: git-http-push failed
error: failed to push some refs to 'https://example.com/plesk-git/repository.git’fatal: https://[email protected]/plesk-git/repository.git/info/refs not found: did you run git update-server-info on the server?
-
Going to Domains > example.com > Apache and Nginx Settings > Nginx Settings > Proxy mode option is disabled
Cause
Extension bug registered with ID #EXTGIT-3 which will be fixed in future Plesk updates.
Resolution
Consider one of the following workarounds:
-
Use SSH to access repository/push Git updates
-
Enable Nginx as a Proxy: Log in to Plesk GUI > Go to Domains > example.com > Apache&nginx Settings > Nginx Settings > Enable Proxy Mode option > Click OK to apply the changes