Error when running a Permissions check post upgrade CPM 2.4 , [Errno 13] Permission denied: '/opt/n2wsoftware/scripts/permissions.json'

Error when running a Permissions check post upgrade CPM 2.4 , [Errno 13] Permission denied: '/opt/n2wsoftware/scripts/permissions.json'

After upgrading to CPM 2.4 users may experience an error when on the Accounts page and clicking on 'Check AWS permissions' button may receive the following error:

[Errorno 13] Permission Denied: '/opt/n2wsoftware/scripts/permissions.json' 

This error may also occur when trying to download the CPM logs from the bottom of the Manager screen and the same error may be entered into the cpm_server.log
This error is caused by missing group permissions on the CPM Instance folder /opt/n2wsoftware/scripts for the group www-data. 

Resolve the permissions issue manually:
1. ssh into the CPM instance using the cpmuser account and the private key for the instance.
2. Please run the following commands to update the folder permissions:
sudo chmod  g+w /opt/n2wsoftware/scripts/permissions.json
sudo chown  :www-data /opt/n2wsoftware/scripts/permissions.json

NOTE: It is highly advised to restart the CPM instance after making these changes to have them take effect.

    • Related Articles

    • Upgrade instructions for v3.x/4.x

      This guide outlines the steps required to upgrade to N2WS Backup & Recovery version 3.x/4.x We strongly recommend that you follow every step contained within this guide to ensure version 3.x/4.x is configured correctly and no data loss occurs. ...
    • N2WS 3.0.0 How to Check for AWS Permissions

      Issue How do i check if my N2WS server is missing permissions? Solution Each account in N2WS is mapped to a specific Roles or IAM user in AWS, You can see the list of accounts and authentication types in the Account tab:    For each account, you can ...
    • Permission checks fails with Error: “User not Found”

      Permission checks fails with Error: “User not Found”   You may receive the following error when checking permissions on an account within CPM.  Also, the policy check .CSV file will show only “User not Found” when opened. In the cpm_server logs you ...
    • What are the required minimal AWS permissions/roles for CPM operation?

      You can apply all the required roles by using the JSON files inside the archive attached to this article (including the new permissions required for v4.0 and up). To apply these permissions in AWS, follow these instructions: 1. Go to the IAM Console ...
    • Error "create multi-volume snapshots of instance i-123456789 failed" may occur during backup

      Error: You might see this error in the cpm server logs or the UI Alerts when running backups in CPM 3.0 and above:  create multi-volume snapshots of instance i-123456789 failed. Error: You are not authorized to perform this operation. Encoded ...