Discussion Forums  >  Self Hosted Control Panels

Replies: 18    Views: 133

Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
04/30/14 07:29 AM (10 years ago)

Is there a way to re-install self hosted 3.0?

Hello all, Just wondering, is there a way to re-install my BT self hosted 3.0 with the current download package without breaking the projects in my control panel. There have been some changes to the self hosted package without an official update. Thanks Dave
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/30/14 08:38 AM (10 years ago)
Hi Dave, Yep, all you have to do is download the newest 3.0 package and install like it was fresh. It won't overwrite your /files directory, so you won't lose anything. Just to be extra safe, I backup my MySQL database and /files directory anyways, but have done it 3 times now and never had an issue
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/30/14 08:41 AM (10 years ago)
I followed your guide here https://www.buzztouch.com/forum/thread.php?tid=EBD825C6B6CF6BC2418943C&sortColumn=FT.id&sortUpDown=DESC&currentPage=1. As I went along, I checked the dates of all the files in all the directories and it all went OK. Do you think there are still problems that need a complete re-install?
 
Cakebit
Code is Art
Profile
Posts: 501
Reg: Dec 15, 2010
In your local b...
16,510
like
04/30/14 08:46 AM (10 years ago)
Hi Dave, It's relatively easy to update your self hosted website with a new package. I have written two options below so you can choose which works best for you. Option 1: You can replace the entire self hosted server (minus your config.php file and files directory) on your server with the one that you downloaded from Buzztouch. If you keep your config.php (and files directory) all your apps and settings should stay the same! The only thing that will change is any modified php files that you overwrite with the new package. Basically if you went in and edited any Buzztouch .php files, the changes will get overwritten. Option 2: This is what I do, but it is a little more complex. Download your whole BT server to your mac - and download the latest BT server package. Use an app like fileMerge (it comes with Xcode - just search for it on your mac) to check the changes between the files and merge the new changes with the old files. Let us know how it goes!
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
04/30/14 08:50 AM (10 years ago)
Awesome! Thanks so much all. I will post an update when I'm done Dave
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/30/14 08:50 AM (10 years ago)
I just install the installer script like it was a fresh install. Just make sure to use the same database info. It even mentions at the beginning that if you are upgrading it doesn't overwrite any project files or anything else in the /files directory (users, projects, plugins, etc won't be lost)
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
04/30/14 08:55 AM (10 years ago)
sweeeeeeet!! gonna try it now
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
04/30/14 09:04 AM (10 years ago)
AlanMac- I only changed those 2 files. Yesterday when I downloaded AngryNinjas new plugin and earlier when I installed the phone dialer plugin they would not open. I got the 404 error page. i had to manually add a landing page in phpMyAdmin for them to work. The landing page was blank and I made it bt_screen.php. It was just a guess but it worked so I'm thinking that there is something else "not right" with my self hosted. Dave
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/30/14 09:47 AM (10 years ago)
I see what you mean Dave. I checked the datestamps on all the other files in the installation and on that basis I didn't think anything else needed changing. It would be rather helpful if somebody on the core team could comment. It would be good to know if any further update is really needed and why.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/30/14 09:49 AM (10 years ago)
Yeah, I wish they would add the revision numbers when they update the core package... 3.01, 3.02, etc
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
04/30/14 09:58 AM (10 years ago)
Whew--- Because I'm not that skilled (yet) and I'm a bit of a chicken since I have a live app on self hosted, I went the way of CakeBit's Option 1. All went well. Thanks again CakeBit, Angry Ninja and AlanMac! Dave
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/30/14 10:01 AM (10 years ago)
Let us know if it made any difference please Dave, I might have to bite the bullet too!
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
04/30/14 10:37 AM (10 years ago)
I believe that it did make a difference. I removed Ninjas cool Instant Database App plugin from my server via phpMyAdmin. This completely removed it. I then re-installed it and it launched without any modification as described above. Hope this helps..... AlanMac, it really wasn't that bad. Like CakeBit described, I downloaded the BT server files from Buzztouch I removed the Files folder and config.php file from the downloaded folder I used Filezilla to transfer the BT-server folder (minus the the 2 files above) to the same location on my server where the existing folder is Filezilla asked to overwrite the existing files and I nervously said ok And it works! It did take my app out of service for a short period while the file transfer was taking place. Dave
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
04/30/14 10:49 AM (10 years ago)
I second that - some kind of update log, tracker or same way to give us an instant visual cue they have updated files in the package. BT seems to think that minor updates to .php file(s) in the package doesn't count as an upgrade. I think that not only does that count, but without it there no other way to tell what version any of us have without some unique identifier. FWIW - the "includes" folder is the only place I've seen updates from the 3.0.0 SH package I downloaded and installed on it's release. I've just downloaded the latest package from BT and replaced that folder. I would also love to see BT post what .php version the SH software is compatible with. It does not work with 5.4.....
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/30/14 11:35 AM (10 years ago)
Exactly. Standard revision numbers used for software builds use the following format: 1.1.1 (major revision, minor revision, build revision) The build revision is exactly what they are doing when they make a minor change to a php file for example, so in that case, 3.0.0 should be changed to 3.0.1 and so on. A minor update or upgrade, as BT currently views it (not a simple php code change) would then cause the revision number to become 3.1.0
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
04/30/14 12:11 PM (10 years ago)
Airtrain53 I'm on Hostgator PHP 5.4 and it seems to be working fine
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
04/30/14 12:34 PM (10 years ago)
^ even your menus with 'child items'? Mine don't work on 2 different hosts I've tried SH with 5.4. There's an issue with this file on this line: class.Json.php on line 218 The BT folks verified this is an issue but never gave an ETA on a fix. https://www.buzztouch.com/forum/thread.php?tid=393206897ECE9456205A2E3&fid=06DB0BCB08E6666&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 I've had to move a couple of installs because of this.....
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
04/30/14 12:42 PM (10 years ago)
I had an issue with child items earlier which basically started this post. When I clicked on a child item to edit it, nothing would happen. I could click on the JSON edit button next to the child item name and the window would open. That got me looking into updating my self hosted software and here we are. Have you tried updating your self hosted files?
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
04/30/14 01:19 PM (10 years ago)
I've uninstalled, reinstalled, updated and file compared the whole SH install a few times - as recent as last week and I still get the errors. Files definately have changed and lots of stuff works fine under 5.4 (my host has 5.4.27) Except the ability to add/edit child items, which is critical. This is why I opened the thread because we don't know when/what BT has updated and I'm anxious for php 5.4 support and watching what other issues folks have. I'm having to host my own stuff so I can run php 5.3 while I'm waiting for the next BT SH update.....
 

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.