Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Migrating hosts - what do I need to watch out for?
I’m migrating hosts from Fastcomet to Opalstack.
I’m moving two Textpattern sites. Is there a checklist or set of things I need to watch out for when migrating?
I’m thinking export databases and import at opalstack. And then copy over the image and file directories. Anything else I should watch for? Any gotchas or common mistakes?
Offline
Re: Migrating hosts - what do I need to watch out for?
agovella wrote #341447:
I’m migrating hosts from Fastcomet to Opalstack.
I’m moving two Textpattern sites. Is there a checklist or set of things I need to watch out for when migrating?
I’m thinking export databases and import at opalstack. And then copy over the image and file directories. Anything else I should watch for? Any gotchas or common mistakes?
I moved 4 Txp sites from one hosting server to opalstack. With minuium hassle .
export your DB and have backups of the original. My procedure was probably overly cautious but…
The first site I moved I first installed a default Txp site to ensure all went well. I used a name such as Test_txp as database name then installed Txp. I then created my real Mysite_txp DB and then uploaded the sql to that DB and edited config to point to the new DB.
note check that there are not any specifically server path names that will be differ on the new server. Opalstack uses the directory apps as the starting point > then your app name ie mysite1_app lain to public_html… etc
One issue that I recall running into but not specifically to moving to opalstack is that the user admin login credentials to the Txp Admin area had to be changed via a hack to the SQL file. Not sure if that is still an issue with the current 4.8.8 version. “It is according to the docs”
give a shout if you need more info.
TIP I have One DB user and owner of all the DBs. Then I use a different admin user to login to my various Txp installs. I think this is more secure, and less likely anyone can hack my DBs
PS I assume you have read this
…. texted postive
Offline
Re: Migrating hosts - what do I need to watch out for?
I agree with bici regarding doing a vanilla install first.
If that goes well, i would upload all images and contents of the files folder before uploading the mysql db. In this way, you may avoid errors regarding missing items.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Migrating hosts - what do I need to watch out for?
Not specifically related to Hosting Org A -> Hosting Org B…but be aware that if you’re going from one database vendor to another (e.g. Oracle to MariaDB) and / or different database engines, there might be some remedial work needed. I’ve only had it happen twice with an ancient MySQL -> MariaDB migration in both cases, but it was a little fiddly.
(NTS: Textpattern 5 could have native ‘full site’ import and export per Wordpress.)
Offline
Re: Migrating hosts - what do I need to watch out for?
gaekwad wrote #341459:
(NTS: Textpattern 5 could have native ‘full site’ import and export per Wordpress.)
Is there any way to eliminate the hacking of the password when moving installation of a Txp DB when moving from Hosting Org A -> Hosting Org B?
…. texted postive
Offline
Re: Migrating hosts - what do I need to watch out for?
bici wrote #341460:
Is there any way to eliminate the hacking of the password when moving installation of a Txp DB when moving from Hosting Org A -> Hosting Org B?
gaekwad wrote #341459:
be aware that if you’re going from one database vendor to another (e.g. Oracle to MariaDB) and / or different database engines, there might be some remedial work needed. I’ve only had it happen twice with an ancient MySQL -> MariaDB migration in both cases, but it was a little fiddly.
Yep, this could be the reason. IIRC that was once an issue when moving from an old MySQL5 database/host to another host running a newer MySQL8 (or similar) version. The docs pertaining to that were amended back in 2019 so if you’re not recovering a site from a long time ago, it could no longer apply.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Migrating hosts - what do I need to watch out for?
agovella wrote #341447:
I’m migrating hosts from Fastcomet to Opalstack.
I’m moving two Textpattern sites. Is there a checklist or set of things I need to watch out for when migrating?
I’m thinking export databases and import at opalstack. And then copy over the image and file directories. Anything else I should watch for? Any gotchas or common mistakes?
Congratulations on the new host! As mentioned, making a backup first is wise. Other things:
- Check for any hidden files, .htaccess etc.
- Update the path settings in config.php to match your new server’s paths. Then, once logged in, update the paths in Admin › Preferences.
- Regenerate any SSL certificates
- If some things look awry or some files (images, stylesheet, …) won’t load but Textpattern appears otherwise to work, check the file permissions on the new server are correct.
If you’re not planning on doing a migrate and upgrade in the same step, I don’t install a new version first, I just copy over.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Migrating hosts - what do I need to watch out for?
Thanks for all the help!
I migrated the first site tonight and everything worked out. Now just waiting for DNS to propagate.
Offline