The migration of WordPress lands on the WP Installation page

Mohamed Roushdy 66 Reputation points
2024-08-12T12:48:26.5166667+00:00

Hello, I've manually migrated a WordPress website from our old hosting to be on Azure Wordpress web apps following this guide from Microsoft: https://video2.skills-academy.com/en-us/azure/app-service/migrate-wordpress#manual-migration-process . I've imported the database and made the necessary changes to the environment variables of the container using Azure portal to update the database name to the new one; however, the migration has failed as the website goes only to the 'WordPress installation' page as if it's a completely freesh installation. By googling a bit, the root cause could be a database connection, but I don't believe that this is true. It's the second time I try to perform this migration on a new (separate) web app., and I endup with the same result. I'd appreciate if someone can help. Thank you in advance!

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
966 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,451 Reputation points
    2024-08-13T19:04:26.8266667+00:00

    Hello @Mohamed Roushdy thanks for the update.

    Please keep in mind that the prerequisite for using the manual migration method is that your WordPress site on Linux Azure App Service must have been created with an appropriate hosting plan from here: WordPress on Linux App Service. Is that the case in your scenario?

    Also, you mentioned you don't believe it's a database connection issue, but can you verify these few things:

    • The database server name, username, and password are correct in the environment variables?
    • The database exists and contains the correct data?    
    • The web app can reach the database server (check firewall rules if using Azure SQL)?
    • Is the site URL and home URL in the wp_options table of your database updated to reflect the new Azure URL?
    • Is "Always On" enabled to prevent the app from being unloaded?
    • Have you checked the web app's logs for any error messages that might provide more insight into the issue?

    If you're are open to another migration method, you can try using the Migrate WordPress with All-In-One WP Migration plugin which can be founded in this Azure Doc

    If the issue persist after checking the above, please let us know.

    Best,

    Grace

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.