- Plesk for Linux
The Git password is removed when updating the subscription/domain settings via command line on Plesk server:
# /usr/local/psa/bin/subscription -u example.com
# /usr/local/psa/bin/domain -u example.com
Git password was initially located at the following directory: /var/www/vhosts/system/example.com/pd/d..git@plesk-git
The issue is caused by a bug registered with ID #EXTGIT-70. It will be fixed in upcoming Plesk updates.
As a workaround do the following:
- Connect to the server via SSH.
Re-create the file via command line:
Note: replace example.com with the domain name.
Replace example_user with name of subscription's system user.
# /usr/local/psa/admin/bin/pdmng --add-protection --directory=/git/plesk-git --vhost-name=example.com
# /usr/local/psa/admin/bin/pdmng --add-user --directory=/git/plesk-git --vhost-name=example.com--user-name=example_user
- Sync the password:
- Login into Plesk UI.
- Go to Websites & Domains > Web Hosting Access > set a new password for system user and click OK.