Proper Upgrade Route - Within UBB.Threads 7.x
#178758
02/19/2007 7:12 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
1. Download the latest build from the members area. 2. Extract the archive to your hard disk (or to the server with any available utilities). 3. Upload (or move) all files EXCEPT for the cache_builders/custom, includes and styles directories. 4. Ensure chmods. All directories should be 777. All files should be 666. 5. After uploading (or moving) all directories, and ensuring all chmods are correct, run the install/upgrade.php script. 6. After you've gone through the upgrade procedure in the upgrade.php file, be sure to REMOVE the install and importers directories.
NOTE Please be sure to create a backup of your database and files before upgrading your installation; the upgrade should happen without a hitch, however, it's better to be safe than sorry...
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#178807
02/20/2007 6:58 AM
|
Joined: Jun 2006
Posts: 3,837
Ian
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Not sure about line 4 - I would be wary about making all directories 777 and all files 666.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ian]
#178812
02/20/2007 10:18 AM
|
Joined: Dec 2006
Posts: 1,236
ScriptKeeper
veteran
|
veteran
Joined: Dec 2006
Posts: 1,236 |
What about language files? I'm not too sure about this but if you make any changes to the language files will they be overwritten when you upload the upgrade? When you go through the upgrade process it displays a page with language file changes and asks you if you want to update them. I'm a little confused about this process. 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ian]
#178858
02/20/2007 6:41 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
Not sure about line 4 - I would be wary about making all directories 777 and all files 666. I'm basing #4 off of the install instructions; in fact I prefer files 644 and directories (other than cache and templates/compiled) 755. @Scriptkeeper Language files and templates must be 666 if you plan to use the web-based editors on them. I don't edit my wordlet fiels, so I'm unsure as to if they're updated completely
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#178923
02/21/2007 3:15 AM
|
Joined: Jun 2006
Posts: 3,837
Ian
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Sorry - what I meant was the instructions do not mention directories such as scripts, libs etc.. So not sure if we should be doing a blanket change to 777/666
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ian]
#178936
02/21/2007 5:34 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
According to initial statements "everything" should be 777/666; personally I say that nothing should be... IF you PLAN to use the built in editors, I myself would recommend chmods of the template files 666 and wordlet files 666 but other than that, I would recommend for securities sake to only have them 755/644.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#180937
03/19/2007 12:20 PM
|
Joined: Aug 2006
Posts: 1,640
jgeoff
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,640 |
Just wanted to add... Careful overwriting your graemlins and posting icons if you've replaced them with custom ones... 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: jgeoff]
#180961
03/19/2007 3:35 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
Yeh, for users who insist on customizing their graphics, you should create a new folder with your own images, so that an upgrade does not overwrite your graphics...
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#182862
04/19/2007 4:26 AM
|
Joined: Aug 2006
Posts: 1,356
Yarp™
veteran
|
veteran
Joined: Aug 2006
Posts: 1,356 |
What's wrong with this upgrade route?
Upload the install directory get install\upgrade.php in your browser replace/remove/add the files that upgrade.php mentions follow the next steps Done...
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Yarp™]
#182863
04/19/2007 5:08 AM
|
Joined: Jul 2006
Posts: 4,062
Mark S
|
Joined: Jul 2006
Posts: 4,062 |
Nothing that i can see 
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Mark S]
#182874
04/19/2007 5:30 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
That route works as well, the route mentioned here is the "quickest"/"most safe" way in my opinion, and is that which Rick has everyone do... A lot of people will get quite lost with your route 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#182881
04/20/2007 1:13 AM
|
Joined: Aug 2006
Posts: 1,356
Yarp™
veteran
|
veteran
Joined: Aug 2006
Posts: 1,356 |
That route works as well, the route mentioned here is the "quickest"/"most safe" way in my opinion, and is that which Rick has everyone do... A lot of people will get quite lost with your route I would be lost with the first one  My board utilizes a lot of hacks. It saves a lot of time re-hacking files that were not changed in the first place.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Yarp™]
#182885
04/20/2007 1:59 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
My board utilizes a lot of hacks. It saves a lot of time re-hacking files that were not changed in the first place. True, but keep in mind that most people hardly grasp how to run their own site, let alone modify basecode or install hacks :x...
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#186941
06/15/2007 11:18 AM
|
Joined: Jun 2006
Posts: 3,837
Ian
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
I would also recommend a backup of both your files and your database prior to any upgrade - better to be safe than sorry  (of course the upgrade should go fine, but every webhost is different)
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#187073
06/16/2007 4:29 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
NOTE Please be sure to create a backup of your database and files before upgrading your installation; the upgrade should happen without a hitch, however, it's better to be safe than sorry... Added
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Mark S]
#191116
07/14/2007 5:00 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
When backing up the MySQl table is the control panel option a sufficient tool for full restoration. The reason I ask is that MYSQl is new to me and my host has me on a Windows2003 box. With 7.2 coming out of beta I want to upgrade but I have not been able to educate myself on MySQl well enough yet to feel comfortable. using the tools provided by my host
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ruben]
#191117
07/14/2007 5:02 PM
|
Joined: Nov 2006
Posts: 3,090
ntdoc
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,090 |
You would want to backup the whole database not just a table.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: ntdoc]
#191121
07/14/2007 5:09 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
That is my question. In the UBB control panel if I select the All Tables option it creates a file for each table in the backup directory. Is that the same as backing up the whole database to restore UBB? Or do I need to use something else. I believe my host is providing PHPADMIN ? but I have not been through all the docs yet.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ruben]
#191123
07/14/2007 5:14 PM
|
Joined: Jun 2006
Posts: 9,243
Rick
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,243 |
The backup tool within the UBB.threads control panel is kind of the last resort you'd want to use. It's the slowest method to do a backup and is there for those cases that there is no other method available. It works, but it's pretty slow.
If your host is providing phpadmin, then that would definitely be a better option.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Rick]
#191124
07/14/2007 5:17 PM
|
Joined: Nov 2006
Posts: 3,090
ntdoc
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,090 |
Even if they don't have phpAdmin they must have another tool like it within the Main Website Control Panel. The same place you would have been when you created the original database.
Either there or another location within the Website Control Panel (not the UBB control panel) and find one that does database backup. You should also find one that backs up the entire Website which you should run once in a while as your host provider may not be backing up your data, often it's up to you.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: ntdoc]
#191127
07/14/2007 5:25 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
I already back up the web files FTP but the MYSQl database (New to me) is on another server. Just anxious after upgrading from Classic and wanted to make a backup. So you are telling me that the UBB control panel will only backup the tables even with the all tables option selected. To make a full backup I need another tool such as PHPADMIN. Back to the PHPADMIN DOC files I guess. Where is the match for the candle.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ruben]
#191129
07/14/2007 5:27 PM
|
Joined: Jun 2006
Posts: 9,243
Rick
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,243 |
It'll make a backup of all the tables if you select all, it will just be a very slow process.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ruben]
#191130
07/14/2007 5:27 PM
|
Joined: Apr 2007
Posts: 3,938
SD
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,938 |
do you know the flavor of control panel they gave you with your domain account? cpanel, plesk ? if either one of them, then you'll have phpMyAdmin there. and then you select your Database, then Export.. probably enable gzip to a file.. and let er rip 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: SD]
#191134
07/14/2007 5:37 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
My control panel is HELM There is a tool called PHPMYADMIN but it just seemed easier at this piont to use the UBB control panel. The board looks to be only about 15MB so that is not that big of a deal to download the backup folder. But if the UBB tool will not provide me with a complete backup I will just read and read til I learn it.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ruben]
#191135
07/14/2007 5:40 PM
|
Joined: Apr 2007
Posts: 3,938
SD
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,938 |
15mb is no biggie.. you are fine then..
i'm still stuck (in my brain) on the 1.5gb database that i just finished upgrading..
phpmyadmin couldn't even deal with it.. i had to go to the console and do it..
good luck!!
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: SD]
#191137
07/14/2007 6:06 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
If you're on a Linux/Unix machine, you can use the Command Line tools via SSH to create a database dump (backup of the mysql database) by inserting the command: mysqldump -uusername -ppassword databasename > databasename.sql If you wish to compress the above output so that it's easier to transfer around, then you can do: tar -cvpzf databasename.tgz databasename.sql If you've compressed the output and would like to decompress it, then you can run: tar -xzvf databasename.tgz (the output will extract as databasename/ databasename.sql) And to restore said backup, after you purge data out of the MySQL database: mysql -h localhost -uusername -ppassword databasename < databasename.sql
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#191146
07/14/2007 6:18 PM
|
Joined: Apr 2007
Posts: 3,938
SD
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,938 |
if you're going 'geek', then go all the way. i'd pipe that through gzip also, mr. giz 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: SD]
#191147
07/14/2007 6:20 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
You know, I was thinking about saying "if you'd like to compress the output, then run..." but figured it'd be above a lot more people... But I'l update none the less!
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#191162
07/14/2007 6:58 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
No Gizmo I am not on a Linux/Unix box I am on a windows 2003 box so??? I will wait on the upgrade Monday and hope for the best. meaning I will read the PHPMYADMIN docs till I am blue in the face. You guys make me wary of upgrades.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ruben]
#191163
07/14/2007 7:10 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
Well, I'm not a windows guy so i'm not 110% sure of your options; I think that with the size of your database it'd be best to use PHPMyAdmin; it's not recommended for larger databases (100mb+) as it'll die and you'll end up with an incomplete archive
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#192137
07/20/2007 8:39 AM
|
Joined: May 2006
Posts: 579
Rose
addict
|
addict
Joined: May 2006
Posts: 579 |
1. Download the latest build from the members area. 2. Extract the archive to your hard disk (or to the server with any available utilities). 3. Upload (or move) all files EXCEPT for the cache_builders/custom, includes and styles directories. 4. Ensure chmods. All directories should be 777. All files should be 666. 5. After uploading (or moving) all directories, and ensuring all chmods are correct, run the install/upgrade.php script. 6. After you've gone through the upgrade procedure in the upgrade.php file, be sure to REMOVE the install and importers directories.
NOTE Please be sure to create a backup of your database and files before upgrading your installation; the upgrade should happen without a hitch, however, it's better to be safe than sorry... Gizmo, in step #3, is it correct that at this stage all the old files are being over-written by the new ones? This is a first for us - we've only done new installations, not upgrades. So forgive the questions. 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Rose]
#192178
07/20/2007 6:20 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
Yes, in step3 you are over writing the old files with the current ones. Questions always welcome; it's why this thread isn't in the FAQ and instead is a sticky of this forum 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#195676
08/29/2007 9:43 AM
|
Joined: Feb 2004
Posts: 138
Travis T
member
|
member
Joined: Feb 2004
Posts: 138 |
I am following thse instructions - I have no upgrade.php file that I can find and it wants to create new tables as I am doing this. This does not seem correct - any help would be greatly appreciated.
Travis
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Travis T]
#195680
08/29/2007 10:13 AM
|
Joined: Dec 2003
Posts: 1,796
AllenAyres
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
The upgrade.php file should be in your /install folder
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: AllenAyres]
#195719
08/29/2007 5:43 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
And if there is no upgrade.php file in the install/ directory, you didn't upload all of the files from the install archive.
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#196325
09/05/2007 1:28 PM
|
Joined: Jun 2006
Posts: 3,837
Ian
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
remember to delete the the install folder again, once you have upgraded 
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Ian]
#198327
09/27/2007 8:01 PM
|
Joined: Jun 2006
Posts: 412
Mors
addict
|
addict
Joined: Jun 2006
Posts: 412 |
Get a windows platform for heck sakes 
Happy Customer !!!
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Mors]
#198348
09/28/2007 5:23 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Gizmo]
#215027
06/30/2008 4:54 PM
|
Joined: Feb 2008
Posts: 9
Morley
stranger
|
stranger
Joined: Feb 2008
Posts: 9 |
Sorry if this has been asked before but: I'm currently on Version: 7.2.2/Linux and am about to upgrade to 7.3.1. Is the documentation located here http://www.ubbcentral.com/doc_upgrade7.php the latest? Thanks
|
|
|
Re: Proper Upgrade Route - Within UBB.Threads 7.x
[Re: Morley]
#215029
06/30/2008 6:30 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
OP
|
OP
Joined: Jun 2006
Posts: 15,852 |
There isn't much change at all in the upgrade route within UBB7
|
|
|
1 registered members (Gizmo),
79
guests, and 374
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|