Plesk

Git password is removed when updating Subscription/Domain settings using command line on Plesk server

Symptoms

Cause

Product issue:

  • #EXTGIT-70 "Changing domain settings no longer results in the inability to push changes to local Git repositories."

    Fixed in:

Resolution

Please consider updating your server:

Workaround

If update is not possible for some reason you may try the following

workaround

  1. Connect to the server via SSH

  2. Re-create the PD (protected directory) 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

  3. Sync the password:

    1. Log in to Plesk GUI
    2. Go to Websites & Domains > Web Hosting Access set a new password for the system user and click OK.
Exit mobile version