I upgraded our site to 5.2.2 over the weekend and last night was about to do my normal Monday evening refresh to our development site. I followed the following steps which I've done many times in VB3 and VB4 but had a mess this time.
I ended up restoring from the backup taken in step two to get the site back online but this meant three hours of downtime vs. the normal 15 minutes.
Finally, to my questions.
- Turned off the site in AdminCP
- Via SSH exported the database to a file
- Changed the URLs on the Site Name / URL / Contact Details page of AdminCP to devel.sawdustzone.com and saved.
- Via SSH exported the database to a file with the updated URLs
- Tried to change the URL's back to the production values and this is where it got exciting. It kept asking me to log in and it kept giving me an error about a redirect whitelist and would not log me in and pointed me back to the login for the development site.
I ended up restoring from the backup taken in step two to get the site back online but this meant three hours of downtime vs. the normal 15 minutes.
Finally, to my questions.
- Would adding our development site name to the whitelist have saved me from this?
- What are the exact steps so this never happens again or what did I do wrong.
Comment