Discussion Forums  >  Self Hosted Control Panels

Replies: 12    Views: 135

Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
01/13/14 03:15 AM (11 years ago)

How to safely upgrade to v3.0

I previously tried to update to the latest self hosted version of Buzztouch and it all went horribly wrong. I would like to try again. Obviously, I would like to proceed with the greatest amount of caution this time so here are the steps that I intend to take before making any changes so that I can put everything back as it was if it all goes horribly wrong again 1. I've made a copy of the config.php file. 2. I've taken a screenprint of screen one of the Buzztouch installation process. This shows the application physical path, my database server details and so on. 3. I've downloaded everything on my server via FTP. 4. I've made a backup of my database using the GoDaddy facility to do so. I am not completely confident that the database is properly backed up as it begins the process but never finishes. Is there a another way I can back up the database, perhaps to my PC, to be absolutely certain that I can reinstated if all goes horribly wrong? Is there anything else I need to do to make sure that I can reinstall everything as it was if the upgrade to version 3 fails again? John
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/13/14 03:57 AM (11 years ago)
1) If you have the space, and the time, backup the BT server root. There is no substitute for having a complete backup. Basically 'FTP' your entire server down to your desktop/laptop. 2) Backup your MySQL Database for your BT Server. This can be done relatively easily using phpMyAdmin, which is the 'usual' MySQL Control panel. If you have something different, it still should be similar. Google the procedure. You should be able to access it via your Hosting providers control panel. You should end up with a local file called '<something>.sql'. 3) Once you have your complete backup, download a 'fresh' copy of the BT Self Hosted server package; they make periodic changes to the software, but the version remains the same. 4) upload your new BTv3 files to your server, overwriting the existing installation. 5) Once completed, open a web browser, and navigate to (http://your.btserver.com/install) 6) Go through the installation script again. Most values should be pre-populated, but use the same values if they're not. If you can't remember, check with the config.php file you backed up. 7) When the install is completed, delete your install directory. 8) Edit your config.php file *again* and populate any empty values. 9) around line 73 (give or take a few) you'll see a field similar to this: define("APP_CURRENT_VERSION", "2.1.9"); Change the version to "3.0.0". I don't think I missed anything, but a good backup will ensure that *no* severe changes will be catastrophic. Hope this helps! Cheers! -- Smug
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
01/13/14 04:01 AM (11 years ago)
Thanks, Smug. I'll proceed with your steps and I'll use great caution! Will probably do it today or tomorrow. John
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
01/13/14 04:53 AM (11 years ago)
Great summary Smug!
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
01/13/14 05:52 AM (11 years ago)
@John- Your db is not yet backed up completely. It took me about 20+ hours to backup my db from Godaddy. Once the backup is completed you will not see the processing backup notification in front of your db name. The size of my db was about 49 mb. It might take longer depending how much apps and other data you have.
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
01/13/14 06:37 AM (11 years ago)
Thanks, Sandeep. I understand a lot better now. :) John
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
01/13/14 07:42 PM (11 years ago)
Off topic but @Higgey - where did your pic/avatar go?
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
01/14/14 01:19 PM (11 years ago)
I thought I'd try a new avatar but the system will not let me change it. I've deleted the old one but whenever I try to load a new avatar the old one reappears so I'm leaving it for a few days and trying again.
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
01/14/14 01:58 PM (11 years ago)
I thought I'd try a new avatar but the system will not let me change it. I've deleted the old one but whenever I try to load a new avatar the old one reappears so I'm leaving it for a few days and trying again.
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
01/16/14 05:17 AM (11 years ago)
with the Smug's instructions is everything backed up? including applications?
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
01/20/14 12:48 AM (11 years ago)
Can anyone plz answer?
 
Higgey
buzztouch Evangelist
Profile
Posts: 394
Reg: Sep 07, 2011
West Midlands
13,540
like
01/21/14 07:25 AM (11 years ago)
Hi, I have very bravely carried out the instructions. I'm not sure that I have been successful, though. I think I'm still on v2.1.9 as everything looks the same. How can I check? What's different in v3.0.0 please? John
 
satit
I hate code!
Profile
Posts: 89
Reg: Feb 16, 2012
bangkok
6,640
like
02/25/14 01:12 AM (11 years ago)
After upgrade from 2.18 to 3.0.0 , App icon had gone How to fix?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.