• I’m trying to migrate a site from a plain “http” localhost development environment to an “https” online production site, but the task isn’t completing successfully and I’m unable to correctly migrate the site; I can succesfully transfer the zip with automigrate, and on the online site I can restore it until the dialog that informs me that the migration was successful, but it really wasn’t. The frontend doesn’t seem to load all resources (css styles are all wrong), and the backend can’t be accessed at all.

    Are there some particular migration methods that have to be used when in such a situation?

    • This topic was modified 4 years, 5 months ago by sekhemty.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support tonyrobins

    (@tonyrobins)

    Hello @sekhemty

    Sorry about the problems!

    There are no particular migration methods that have to be used when in such a situation.

    Can you please send us a debug zip from the plugin’s Debug tab on your source site? We are going to look into the issues soon. Thank you!

    All the best,

    Thread Starter sekhemty

    (@sekhemty)

    The log from a regular backup that I manually updated to the production site is available here https://pastebin.com/gsxETuar

    After the manual upload, I tried to restore it in production, effectively trying to migrate the whole site. As previously said, the restore was reported as being completed successfully, but after a bit of troubleshooting I found that the site urls in the database were not updated correctly with the new online domain name, but their values were still the old localhost urls; when I manually corrected them (namely, in the siteurl and home fields in the option DB table), the site was working correctly; for some reason it seems that all the problems were about these two field not being automatically updated during the restore.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hey @sekhemty

    Thanks for the update!

    Generally our plugin will automatically replace the urls in the restore after the migration.

    Can you please also post the restore log? And can you send us a debug zip from the plugin’s Debug tab on your source site?

    We will need these information to troubleshoot the problem.

    Thank you!

    All the best,

    Thread Starter sekhemty

    (@sekhemty)

    The debug zip from the source site is available here https://drive.google.com/file/d/133ezc-4n4oOgNbptJ7JeSXpwgEldQcaQ/view?usp=sharing

    Where can I find the restore log on the target site? It doesn’t seem to be present on the “logs” tab and I don’t know where should I look for it.

    Plugin Support tonyrobins

    (@tonyrobins)

    Thanks. @sekhemty

    We are going to check it out soon.

    Normally all logs are present on the Logs tab. You can also find it from the /wp-content/wpvividbackups directory, the name is wpvivid_restore_log.txt

    All the best,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to correctly migrate from localhost to a secure online environment’ is closed to new replies.