Installation of extension has failed: filemng failed: filemng: Error occurred during /bin/cp command

Created:

2017-04-23 13:48:22 UTC

Modified:

2017-08-16 15:41:44 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Installation of extension has failed: filemng failed: filemng: Error occurred during /bin/cp command

Applicable to:

  • Plesk Onyx 17.5 for Linux

Symptoms

It is not possible to update an extension. The following error pops up in Plesk:

Installation of extension has failed
filemng failed: filemng: Error occurred during /bin/cp command.

The following error can be found in the /var/log/plesk/panel.log:

ERR [1] '/opt/psa/admin/bin/filemng' 'psaadm' 'cp' '-r' '/opt/psa/tmp/moduleITxJ8U/var/.' '/opt/psa/var/modules/git/' failed with code 1.
stdout:
cp: cannot create regular file '/opt/psa/var/modules/git/./.keep': Permission denied

ERR [1] sh: /usr/local/psa/admin/bin/git-helper: No such file or directory
stdout:
cp: cannot create regular file `/usr/local/psa/var/modules/git/./.keep': Permission denied
filemng: Error occurred during /bin/cp command.

Plesk shows the following error:

Internal error: 
sh: /usr/local/psa/admin/bin/git-helper: No such file or directory
Message sh: /usr/local/psa/admin/bin/git-helper: No such file or directory

Cause

Incorrect permissions of /opt/psa/var/modules/git/./.keep file.

Resolution

Set the correct permissions for /opt/psa/var/modules/git/./.keep file by executing the following commands:

# chown psaadm:psaadm /opt/psa/var/modules/git/./.keep
# chmod 644 /opt/psa/var/modules/git/./.keep
Have more questions? Submit a request
Please sign in to leave a comment.