• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Problem access to git repository

Nicola

Basic Pleskian
Server operating system version
CentOS 7
Plesk version and microupdate number
18.0.42
Hi,
How can I enable multiple users to access a repository instanced on a domain? Currently the only user who can log into the repository is the system user. I have tried to add ftp users or domain administrator users but I can't log in with anyone.

Thanks
 
There is a feature request for this issue:

 
PSA_PASSWORD=xxxx plesk sbin pdmng --add-user --vhost-name=example.com --directory=httpdocs@git@plesk-git --user-name=gituser1
PSA_PASSWORD=xxxx plesk sbin pdmng --add-user --vhost-name=example.com --directory=httpdocs@git@plesk-git --user-name=gituser2

the only problem is if you use lets encrypt certificates httpdocs@git@plesk-git file is clean on every update and you need run these commands again
 
Code:
PSA_PASSWORD=xxxx plesk sbin pdmng --add-user --vhost-name=example.com --directory=httpdocs@git@plesk-git --user-name=gituser1
PSA_PASSWORD=xxxx plesk sbin pdmng --add-user --vhost-name=example.com --directory=httpdocs@git@plesk-git --user-name=gituser2

the only problem is, if you use lets encrypt certificates httpdocs@git@plesk-git file is clean on every update and you need run these commands again.
On Plesk Obsidian 18.0.46 on previous versions of plesk and or git addon the file was called just "git@plesk-git"
look at the folder /var/www/vhosts/system/example.com/pd/
 
file httpdocs@git@plesk-git is also cleaned when it changed system user password , i.e. we need add gituser again
 
Back
Top