Articles in this section

Git menu cannot be accessed for a Plesk domain: Permission denied filemng: Error occurred during /usr/bin/base64 command

Plesk for Linux kb: technical ext: git

Applicable to:

  • Plesk for Linux

Symptoms

The Domains > example.com > Git menu cannot be opened with error:

PLESK_ERROR: 500 PleskUtilException
filemng failed: base64: /var/www/vhosts/example.com/.ssh/id_rsa: Permission denied filemng: Error occurred during /usr/bin/base64 command.

Cause

Incorrect ownership to the files/folders inside /var/www/vhosts/example.com/.ssh/ directory.

Resolution

  1. Connect to the server via SSH
  2. Determine the system user of the subscription (replace example.com with the actual name of subscription):

    # grep example.com /etc/passwd
    johndoe:x:10000:1003::/var/www/vhosts/example.com/:/bin/false

  3. Execute the command below to set proper ownership (replace the johndoe and example.com with actual system user and subscription names):

    # chown -R johndoe:psacln /var/www/vhosts/example.com/.ssh/

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.