Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Jake, A-GATE), 29 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4424
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 2 of 4 < 1 2 3 4 >
Topic Options
#227177 - 06/14/09 10:52 PM Re: Moving to a new ISP - best way? [Re: Ruben]
FordDoctor Offline
enthusiast
Registered: 06/05/06
Posts: 261
Loc: New Joisey!
Originally Posted By: Ruben
Looking at domaintools I see your name status as
Registrar Status: clientTransferProhibited
So you or network solutions will need to update that to a OK status to allow the transfer.


I am aware of that but the way I have been doing things lately I might forget... but now that you mention it, I should go and change that soon whilst I am thinking about it. I actually have multiple domains there.
_________________________
Ford diesel master technician by day...
Webmaster by night! cool
FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#227185 - 06/15/09 12:30 PM Re: Moving to a new ISP - best way? [Re: Gizmo]
rich_ay Offline
newbie
Registered: 06/05/06
Posts: 25
Loc: Houston, TX
Gizmo,

I'm about to try the same thing. I've backed up the database already. When this gets moved to the new server, where is the command or control to import this backup?

Rich
_________________________
Regards,
Rich
Top
#227188 - 06/15/09 02:19 PM Re: Moving to a new ISP - best way? [Re: rich_ay]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Giz, Has a how to posted Here
_________________________
Blue Man Group
Top
#227191 - 06/15/09 05:06 PM Re: Moving to a new ISP - best way? [Re: rich_ay]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Originally Posted By: rich_ay
Gizmo,

I'm about to try the same thing. I've backed up the database already. When this gets moved to the new server, where is the command or control to import this backup?

Rich

You have been off line for a few hours now. Are you having problems?
Are you just moving or upgrading at the same time?
_________________________
Blue Man Group
Top
#227244 - 06/19/09 02:37 PM Re: Moving to a new ISP - best way? [Re: Gizmo]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Originally Posted By: Gizmo
transferring out of netsol can be a pain; i wonder if they changed that in later years (I used to use them too lol)
All I know is that moving my single personal domain from NSI to godaddy was really quite painless. Maybe it was the fact that I got 9 years of registration for $64 (a LOT less than I paid for my first year at NSI) that made it seem so painless.

I recall that there were two phone calls involved, but beyond that, it was pretty easy. (Funny how actually "talking" to people from the comfort of my desk chair is what I consider difficult...)

I've been trying the remote database suggestion (from my test box to the new host). Nothing like a crash course in mysql I guess. (Why couldn't this be something "easy" like Sybase ASE or Cachι? smile ) That actually really seems like a great way to go.

I can connect via the command line mysql app, so I know I'm OK from a network/firewall perspective. I'm just having issues with UBB connecting. I'm only aware of a single config value I need to change in config.inc.php ('DATABASE_SERVER' => '[ip address]',) assuming everything else is the same including the username/password combo. I just get the rather cryptic message:


Originally Posted By: Test server connecting to remote database
UBB Message
We encountered a problem. The reason reported was
Database error only visible to forum administrators

Please click back to return to the previous page.


Odd considering I AM a forum administrator. smile

What am I missing?
_________________________
bmwsporttouring.com
Top
#227245 - 06/19/09 03:27 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Like I said I never tried remote access with ubb.
But your error message is a generic one from the language files If you have error logging turned on in the ubb you can view the actual error in cp>>logs
_________________________
Blue Man Group
Top
#227247 - 06/19/09 04:19 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Originally Posted By: Ruben
Like I said I never tried remote access with ubb.
But your error message is a generic one from the language files If you have error logging turned on in the ubb you can view the actual error in cp>>logs
No worries. I don't expect you to know everything. (Isn't that Rick's job? smile )

It's actually a circular problem. UBB has to have mysql access for ubb to log the event - not to mention for me to log into the bb or cp - before it will log the error about why it can't get to the database...
_________________________
bmwsporttouring.com
Top
#227248 - 06/19/09 05:36 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
OK, not that anyone would ASSUME that there was a problem with UBB software from my post above...

However, I feel obligated to post my results *cough*or mistake*cough*.

I forgot I'd already upgraded my test environment to 7.5.x. So, our /ubbthreads directory was different. Once I downloaded a fresh copy, it just worked. I even shut off mysql on my system to verify.

So, things are looking good.

Thanks for the advice Ruben. I'm liking this approach more and more.
_________________________
bmwsporttouring.com
Top
#227249 - 06/19/09 05:40 PM Re: Moving to a new ISP - best way? [Re: bakerzdosen]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay so all you did was edit config,inc.php for the database server (IP)
_________________________
Blue Man Group
Top
#227250 - 06/19/09 06:38 PM Re: Moving to a new ISP - best way? [Re: Ruben]
bakerzdosen Offline
newbie
Registered: 09/19/08
Posts: 49
Loc: Utah
Originally Posted By: Ruben
Okay so all you did was edit config,inc.php for the database server (IP)
No, that's not all I did, but that's basically all that was necessary. tongue

Knowing what I know now, here's what I would have had to do:

• Have server A set up on the same version of UBB as server B.
• Change the security settings on server B to allow incoming mysql traffic from server A's IP. (First time I have found cPanel to be more value than detriment.)
• Change DATABASE_SERVER value in config.inc.php on server A.

That's effectively all I did and it works now. Pretty cool really. It should make the switch very easy now.

That assumes that you're using the default (3306) mysql port. I really have no idea where the db port is set or would be changed in UBB. Maybe that's just something that never happens in mysql, but I do it all the time with other db's.

So, in summary, here's the checklist/plan for the final migration and switch over:


• Verify security settings on new server will allow mysql access from old server.
• Drop and recreate an empty ubb database on the "new" server (easier than dropping all the tables.)
• Close the board on the old server.
• Double check I have all IP's from both old and new servers.
• Change DNS entries in authoritative BIND server to reflect new server.
• Tar up the uploads/avatar directory (everything else static hasn't changed since my initial setup).
• Start FTP'ing the tar file. (Compression doesn't help much here.)
• Follow Gizmo's checklist to migrate the database (including compression of the tar file. bzip2 works wonders compressing the .sql file.)
• FTP the file to the new server. (The first FTP should be complete by the time the bz2 compression completes.)
• Untar the files directory on the new server and check (aka update) permissions.
• Uncompress/tar and import the database on the new server.
• Update the includes/config.inc.php file to reflect new file system structure and location of directories and new username/password for ubb mysql user.
• Open the board on the new server.
• Change includes/config.inc.php on old server to point to new server (DATABASE_SERVER value & new username/password for ubb mysql user)
• Test. (Aka watch email waiting for complaints to come in.)

my eta: 1 Hour. Hopefully less.


Man, it looks so easy when I write it down like that. smile
_________________________
bmwsporttouring.com
Top
Page 2 of 4 < 1 2 3 4 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image