Fixing permissions on Panel packages files error in Plesk

Fixing permissions on Panel packages files error in Plesk made easy with a little help from our experts.

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.

Let’s take a look at how our Support Team recently helped a customer  with fixing permissions on Panel packages files error.

How to fix permissions on Panel packages files error in Plesk

If you have been noticing Panel packages files error in Plesk, you may have seen the following message:

Fixing permissions on Panel packages files
ERROR:[Errno 2] No such file or directory: '/opt/plesk/node/12/lib/node_modules/npm/doc/files/npm-folders.md'
(...)
Bootstrapper repair finished.
Errors occurred while performing the following actions: fix Plesk packages permissions.
Check '/var/log/plesk/install/plesk_18.0.39_repair.log' and '/var/log/plesk/install/plesk_18.0.39_repair_problems.log' for details.
If you can't resolve the issue on your own, please address Plesk support.
exit status 1

These error messages are a clear indication of an error in the Panel packages. In this scenario, we will also notice that plesk-nodejs packages in use by older Node.js extensions are installed:

# rpm -qa | grep plesk-nodejs
plesk-nodejs12-12.4.0-19102813.x86_64
plesk-nodejs8-8.16.0-19102813.x86_64
plesk-nodejs10-10.16.0-19102813.x86_64

According to our Support Team, the error occurs due to the obsolete package in use by the previous Plesk Node.js extension is corrupted.

We can resolve this error with these steps:

  1. First, we will connect to the server through SSH.
  2. Then, we have to delete the obsolete package with the following command:
    # rpm -e --justdb --nodeps --noscripts plesk-nodejs12-12.4.0-19102813.x86_64
  3. Next, we will rerun the Plesk Repair Installation with the command below:
    # plesk repair installation

Fixing permissions on Panel packages files error in Plesk
The Plesk Repair utility offers the ability to check the Plesk installation consistency along with permissions as well as ownership of files in DEB or RPM packages. Moreover, once it detects incorrect permissions or ownership of files, it informs us.

Additionally, it also gives us a chance to fix the permissions and ownership. Rerunning the Plesk Repair Installation in the last step of the process above helps us resolve the error.

[Seeking a solution to another query? We are just a click away.]

Conclusion

In brief, the skilled Support Engineers at Bobcares demonstrated fixing permissions on Panel packages files error in Plesk with ease.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED