Articles in this section

Plesk repair installation failed with: Fixing permissions on Panel packages files ERROR:[Errno 2] No such file or directory: 'npm-folders.md'

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • Command plesk repair installation failed with 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

  • plesk-nodejs packages used by older Node.js extension 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

  • Missing files for obsolete plesk-nodejs12 package:

    # rpm -V plesk-nodejs12-12.4.0-19102813.x86_64 | grep missing | wc -l
    584

Cause

Obsolete package used by previous Plesk Node.js extension is corrupted.

Resolution

  1. Connect to the server via SSH

  2. Delete the obsolete package:

    # rpm -e --justdb --nodeps --noscripts plesk-nodejs12-12.4.0-19102813.x86_64

  3. Rerun the Plesk Repair Installation:

    # plesk repair installation

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.