Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

need help upgrading from A2T 1.22 to 1.31
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad Support
View previous topic :: View next topic  
Author Message
macrossmerrell



Joined: 30 Aug 2004
Posts: 3

Posted: Mon Aug 30, 2004 8:54 pm    Post subject: need help upgrading from A2T 1.22 to 1.31  

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
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Mon Aug 30, 2004 9:13 pm    Post subject:  

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
Back to top  
macrossmerrell



Joined: 30 Aug 2004
Posts: 3

Posted: Tue Aug 31, 2004 3:18 am    Post subject:  

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

Merrell
Back to top  
LiquidSnake



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

Posted: Tue Aug 31, 2004 3:26 am    Post subject:  

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..
Back to top  
macrossmerrell



Joined: 30 Aug 2004
Posts: 3

Posted: Tue Aug 31, 2004 9:44 pm    Post subject:  

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. :D

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

Merrell
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad Support
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group