Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now

Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

Resolving various permission related issues

Having trouble with various permission realted issues Duplicator Pro? This guide provides practical solutions to troubleshoot and resolve the various permission related issues effectively.

To begin with, make sure you are using the latest version of Duplicator Pro. Please check the changelog and system requirements.

Resolving FTP Credentials Message

If WordPress is prompting you for FTP credentials, it means that WordPress does not have the necessary file permissions to modify files directly on your server.

Solution One: Editing wp-config.php

The wp-config.php file is located in the root directory of your WordPress installation. You can access it using one of the following methods:

Steps to Edit the wp-config.php File

  1. Open the wp-config.php file using a text editor (e.g., Notepad++, VS Code, Sublime Text).
  2. Scroll down to where other define() statements are located.
  3. Add the following line before the comment that says “That’s all, stop editing! Happy publishing.”
define('FS_METHOD', 'direct');

Solution Two: Reference Article to Resolve the Problem.

In this KB article, you will find the details and learn how to fix the error where WordPress asks for FTP credentials. https://support.cloudways.com/en/articles/5126454-how-to-resolve-wordpress-asking-for-ftp-credentials-error

Resolving open_basedir Restriction Issue

The “open_basedir restriction in effect” error occurs when PHP is restricted from accessing files outside the specified directory paths, often due to security settings imposed by the hosting provider. This can prevent WordPress or other applications from functioning correctly.

If you encounter issues related to open_basedir while using Duplicator, here are two possible solutions to discuss with your hosting provider:

Disable open_basedir restriction:

  1. Request your hosting provider to disable or temporarily remove the open_basedir restriction on your account.This helps determine if the restriction is causing conflicts with Duplicator.
  2. This helps determine if the restriction is causing conflicts with Duplicator.

Configure open_basedir Paths:

  1. Work with your host to include all necessary folder paths where open_basedir is restricting access.
  2. Ensure that it covers all critical directories, including the root folder where WordPress is installed.
  3. Example configuration: open_basedir = /public_html/mysite/

Note: Even if this check fails, the package process may still work. However, since open_basedir can introduce unexpected side effects, it is generally recommended to have it disabled for optimal performance.

The open_basedir restriction can limit PHP script access, potentially causing conflicts with Duplicator. While some hosts enforce it for security, disabling or properly configuring it can help resolve issues. For the best experience, work with your hosting provider to adjust the settings and ensure smooth site migrations and backups.

Was this article helpful?

Related Articles