• 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

Issue Can't create git repositories anymore

r.siebert

New Pleskian
Server operating system version
AlmaLinux 8.6 (Sky Tiger)
Plesk version and microupdate number
18.0.46
Hello there,

on one of our servers it's not possible anymore to create a local git repository. I tried different domains and it always fails with a error 500.

There is no error on the plesk-UI, only the browser console displays it. I already looked in any logfile know to me, but i can't find any information about what's going wrong.

Any help is appreciated!

1660925150589.png
 
Thanks for your reply. I checked this file now and it turns out the password used for the user was being rejected because it was to weak.

So creating a repository works now, but pushing fails.
[Mon Aug 22 10:25:35.433960 2022] [auth_basic:error] [pid 3963121:tid 140631249385216] [client x.x.x.x:0] AH01617: user xxx: authentication failure for "/plesk-git/xxx.git/info/refs": Password Mismatch
[Mon Aug 22 10:25:44.397908 2022] [cgid:error] [pid 3963121:tid 140631190636288] [client x.x.x.x:0] move_to_cgroup(): pam_open_session() failed 6: Permission denied: /var/www/cgi-bin/cgi_wrapper/git_wrapper
[Mon Aug 22 10:25:44.411357 2022] [http:error] [pid 3963121:tid 140631190636288] [client x.x.x.x:0] AH02429: Response header name 'move_to_cgroup()' contains invalid characters, aborting request
I tried setting a new password for this user, but that doesn't help. Login via SSH/FTP works fine, so i don't know why the basic http-auth for git is failing.
 
Back
Top