Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 need help upgrading from A2T 1.22 to 1.31
Google
Post new topic Reply to topic
Author Message
macrossmerrell
 
 


Joined: 30 Aug 2004
Posts: 3

PostPosted: Mon Aug 30, 2004 8:54 pm Reply with quoteBack to top

Hi all,

I already have an existing webserver setup with PHPNuke running, and I am wondering how to go about upgrading to the latest release of A2T without loosing MYSQL data.

I have a hunch, I might have to backup the database in PHPNuke, uninstall everything, reinstall everything, copy the website back and restore the database?

Is that correct? Is there a better way?

Thanks,

Merrell
View user's profileSend private messageMSN Messenger
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Mon Aug 30, 2004 9:13 pm Reply with quoteBack to top

the ony guaranteed way would be to export the database in a sql file using the mysql commandline or phpmyadmin , then uninstall and install the new version and phpnuke like usual truncating its database afterwards and importing the sql file

however the way you described should work too , but issues might occur tho' unlikely
View user's profileSend private message
macrossmerrell
 
 


Joined: 30 Aug 2004
Posts: 3

PostPosted: Tue Aug 31, 2004 3:18 am Reply with quoteBack to top

Thank you for your input! I appreciate all you do in making this available to nOObs like me Very Happy

Merrell
View user's profileSend private messageMSN Messenger
LiquidSnake
past contributor
past contributor


Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

PostPosted: Tue Aug 31, 2004 3:26 am Reply with quoteBack to top

copy your php-nuke site. (all modules ect)

copy your sql database at /apache2triad/mysql/data/(your_database)

dont forget to copy xmail users if you have any in /apache2triad/mail/(pertinent_tab_files)

SQL dump should work, however I have tried this and some reason it dont work to well..

Also remember anything you've added on (themes, modules ect) are probably stored in the database, so it needs to be intact when you re-install ..

For example, this happened to me once. I back'ed up only my database, but not my website. The theme i was running was in the database, but i didn't add it back to the site. It gave my whitepages (blank pages) took me forever to figgure it out.

Note to mancini: During the unistall, you think its possible to add a function to allow you to keep certain folders? As it is now, all folders are deleted during unistall. I meant to bring this up before, but forgot..
View user's profileSend private messageSend e-mailYahoo Messenger
macrossmerrell
 
 


Joined: 30 Aug 2004
Posts: 3

PostPosted: Tue Aug 31, 2004 9:44 pm Reply with quoteBack to top

FYI, your tips worked great.

I uninstalled, reinstalled 1.31, resetup PHP nuke, then pasted my themes, modules, blocks back in, and then pasted my nuke database folder back over top of the MYSQL nuke folder (with mysql not running), restarted Mysql and the entire site came back up with no problems. Very Happy

Easiest upgrade I have ever done! Took all of 10 minutes.

Merrell
View user's profileSend private messageMSN Messenger
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT