• Resolved adrianvergin

    (@adrianvergin)


    Hello

    I’m attempting to migrate a website to a subdomain in order to leave it up and running but archive it and also to test whether the backup I’ve made of it with All-in-one WP Migration actually works.

    The backup is around 250MB in total. When I attempt to restore it, everything works fine up to the point where it’s restoring files. The process stops when the progress message states the following:
    Restoring 8734 files…
    92% complete

    I’ve tried several times and each time I delete the website hosting account and recreate the WordPress site, install All-in-one WP Migration and restore from a new backup. Each time it stops around the 90% mark while restoring files.

    Both websites are running WordPress 4.8 and the same version of the plugin. I’ve looked in /wp-content/plugins/all-in-one-wp-migration/storage but no error.log file is ever generated. If I open another browser tab and navigate to https://(website-url)/wp-admin/, I can’t get back into the admin panel and I instead get this error:

    Warning: require(/usr/share/php/wp-stack-cache.php): failed to open stream: No such file or directory in /homepages/38/(user-id)/htdocs/clickandbuilds/(website-name)/wp-content/mu-plugins/wp-stack-cache.php on line 21

    Fatal error: require(): Failed opening required ‘/usr/share/php/wp-stack-cache.php’ (include_path=’.:/usr/lib/php7.0′) in /homepages/38/(user-id)/htdocs/clickandbuilds/(website-name)/wp-content/mu-plugins/wp-stack-cache.php on line 21

    I don’t have access to the FTP directory of the old site to manually move the wp-stack-cache.php file and I’m not sure what to do to diagnose and fix the issue.

    What do I need to do in order to successfully restore the site?

    Thanks in advance.

    Cheers
    Adrian

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Yani

    (@yaniiliev)

    @adrianvergin

    It looks like the new site is using PHP v7
    Is your old site also using PHP v7? If not, I recommend you to use the same version of PHP as the original site and try to import again.

    You can see this problem when some plugins or theme do not support PHP v7 – unfortunately, as of this moment, there is a large number of plugins that do not work under PHP v7.

    Thread Starter adrianvergin

    (@adrianvergin)

    Hi @yaniiliev

    Thanks for your quick response. The old site is “Running PHP version: 7.0.18”. The error I’m getting implies that if I specify a different path in wp-stack-cache.php on line 21 I might be able to get into the admin panel but that doesn’t help me with the remaining 8% of files which were not restored…

    Is there any way to find out what the offending plugin actually is? I can’t find anything to do with wp-stack-cache under installed plugins. Is there anywhere else the migration generates logs if it doesn’t think it encountered an error?

    Cheers
    Adrian

    Plugin Author Yani

    (@yaniiliev)

    The log file is in wp-content/plugins/all-in-one-wp-migration/storage/error.log

    Try to disable all caching plugins before export.
    Look into wp-content/mu-plugins – you may have a caching plugin in there too.

    Thread Starter adrianvergin

    (@adrianvergin)

    Hi @yaniiliev

    In the wp-content/plugins/all-in-one-wp-migration/storage/ folder I’ve only got the following:
    m8c6kvg8hdlw (folder)
    index.php (file)

    Either the permissions on error.log won’t let me see the file when browsing the folder or it doesn’t exists.

    Under wp-content/mu-plugins I’ve got:
    1and1-subdomain.php
    wp-stack-cache.php

    The 1and1-subdomain.php file doesn’t exist on the old site so I’m wondering if maybe the two files in there might be trying to perform the same function.

    I did some more digging on the old site and managed to find the “StackCache” plugin in the installed plugins list on the old site. Curiously, it’s not visible when you filter by All but it does come up when you filter by Must-Use.

    The plugin description reads:

    StackCache
    Wrapper to include the Stack Cache Plugin Library
    By Stack CP | Visit plugin site (https://cache.stackcp.com/)

    There are no options to disable it and the plugin website doesn’t exist so I can’t access any documentation.

    Please pardon my ignorance as I’m a relatively new WordPress user but how can I disable a plugin which doesn’t have the “deactivate” option? Is there any way to select which plugins to restore within AIO WP Migration?

    Cheers
    Adrian

    • This reply was modified 7 years, 7 months ago by adrianvergin.

    Hey @yaniiliev, I’ve been trying to migrate my website from one domain on one contract with my host (1&1) to another domain on a different contract. I’ve made sure that the PHP versions of both are the same.

    So I’m able to export .wpress files from the source website but when I try to import a file to my new domain, the process times out at

    “Restoring X files…
    Y% complete”

    I have to stop the process and when I go my new domain’s WP admin page, it reads

    Fatal error: Cannot declare class Product_Subdomains, because the name is already in use in …/wp-content/mu-plugins/product-domain.php on line 12

    The problem occurs at a hosting plugin?

    <?php
    /*
    Plugin Name: Product Subdomain
    Plugin URI: https://1and1.com
    Description: Handles our product subdomains
    */
    if ( ! defined( ‘ABSPATH’ ) ) {
    die();
    }
    class Product_Subdomains { <– Something happens here

    }
    new Product_Subdomains;

    I’m a newbie and would love to take care of this soon, so any feedback would be appreciated. Thank you.

    I am facing an issue while migrating the website from one domain to 2 different domain.
    website actual PHP version is 5.6
    1. Php version 5.4
    2. Php version 7

    But the issue is that
    1. on version 5.4 it is stuck at 16% during restoring of files
    2. on version 7 it is stuck at 92% during restoring of files

    What should I do now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Migration stuck at Restoring Files’ is closed to new replies.