• Resolved nikosdev

    (@nikosdev)


    Hi,

    I am trying to migrate a WordPress site using the Duplicator plugin. I have created an ec2 instance on AWS, installed Apache and copied over the files from the Duplicator backup to /var/www/html/.

    When I visit the site on the browser going to myip/dup-installer/main.installer.php I get the following error:
    CSRF FILE NOT FOUND
    Please, check webroot file permission and dup-installer folder permission.

    My www folder permissions are : drwxr-xr-x 3 root www-data 4096.

    My html folder permissions are: drwxr-xr-x 7 www-data www-data 4096.

    My dup-installer folder permissions are: drwxr-xr-x 8 www-data www-data 4096.

    And finally, my main.installer.php file permissions are: -rwxr-xr-x 1 www-data www-data 20437.

    I was told that I might be missing the dup-installer-csrf__[ package hash ].txt file from within my dup-installer folder. Is that possible? Since all the files I got are what Duplicator has generated?

    • This topic was modified 3 years, 9 months ago by nikosdev.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @nikosdev

    Thanks for the feedback! That is correct if the dup-installer-csrf__[ package hash ].txt is not present then the installer will not run correctly. The PHP process that apache or your web server runs under will need to be able to write to the /dup-installer/ directory. You might check with your host about what perms you really need.

    If you are still having issues after that feel free to submit a support ticket for this issue so we can have a closer look at your setup. Please provide a link to this forum thread when submitting the ticket.

    Hope this helps~

    Thread Starter nikosdev

    (@nikosdev)

    Hi Cory,

    Thanks for replying. I had to execute [website-hush-information]_installer-backup.php which is in one folder before dup-install to initiate the installation.

    I hope this helps someone else in the future.

    Thanks,
    Nikos

    Thanks for the update!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CSRF file not found’ is closed to new replies.