• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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