Resolving Permission Issues in Update Dry-Run: Troubleshooting Guide

thumb_up 1  ·  sell Update dry-run permission problems, Troubleshooting dry-run permission issues, Fixing update permission challenges

Introduction

An Apply update dry-run detected x permission issues error, where x is the number of files and directories that the update process could not overwrite, may occur in the Auto Update window in WHMCS:

Insufficient FIle Permissions Error: Apply update dry-run permission issues

The contents of the error message can help you identify and resolve the underlying causes of this error.

Background

The automatic update tool is a feature that downloads, extracts, and copies the new files, overwriting the existing files. It performs a dry run test (a test that mitigates the effects of a possible failure) to check the file permissions of all existing files before attempting the overwrite operation.

The dry run simulates overwriting the file without making any file changes. If it encounters a permission problem that could cause the update process to fail, the update process stops before making any changes.

In this case, an error message displays with the details of the file permission issues.

If this occurs, the process will not change the WHMCS installation and will continue to operate on the original version.

Interpreting the Error Message

Under the Apply update dry-run detected x permission issues error, where x is the number of files and directories that the process could not overwrite, the system displays the full paths of each file. 

For example:

  • /var/www/html/whmcs/configuration.php.new 
  • /var/www/html/whmcs/vendor/whmcs/whmcs-foundation/lib/Module

Resolving the Error

To resolve this error, update the permissions and ownership of the itemised files and directories to allow PHP scripts on your server configuration to write to them, or ask your system administrator or hosting provider.

For more information on making these changes, see:

  • Automatic Updater
  • How to Assign Permissions to Files and Folders in cPanel
  • Changing File and Directory Access Permissions in Plesk File Manager

After you have updated the permissions and ownership, you can start the update process again by navigating to Utilities > Update WHMCS and clicking Update Now.

 

 

The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Was this answer helpful?

Related Articles

description

Step-by-Step Guide to Installing WHMCS

To start using WHMCS, you will need to install it on your server. You may need help from your hosting provider or system administrator…

arrow_forward
description

Configuring cPanel Site Software for WHMCS Integration: A How-To Guide

You can install WHMCS using cPanel's Site Software feature. Before you can perform the installation, a WHM user must enable WHMCS…

arrow_forward
description

Effortless WHMCS Installation Using cPanel Site Software: A Step-by-Step Tutorial

You can install WHMCS easily using cPanel's Site Software feature. To do this: 1. If you have not already done so, configure…

arrow_forward
description

Configuring WHMCS Cron Jobs: Step-by-Step Setup Guide

You will need to configure the cron job as soon as you finish installing WHMCS. The cron job executes WHMCS's automation tasks,…

arrow_forward
description

Customizing the WHMCS Cron Schedule: Configuration Guide

The WHMCS cron job performs many of the automated tasks for your WHMCS installation. You can customize when and how often it runs…

arrow_forward
arrow_back « Back