Announcement

Collapse
No announcement yet.

Upgrade 2.2.3 to 2.2.6?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Steve Machol
    replied
    Upload all files in the main, /admin and /mod directories. No need to upload the /images files.

    Leave a comment:


  • intex
    replied
    I just noticed that in the 2.2.5 announcement:

    >>>

    Files changed: (from 2.2.4)

    announcement.php, attachment.php, calendar.php, editpost.php, forumdisplay.php, global.php, index.php, member.php, member2.php, memberlist.php, misc.php, moderator.php, newreply.php, newthread.php, online.php, poll.php, postings.php, printthread.php, private.php, private2.php, register.php, search.php, showgroups.php, showthread.php, threadrate.php, usercp.php, admin/badwords.php, admin/functions.php, admin/sessions.php, admin/style.php, admin/thread.php, admin/user.php, mod/announcement.php, mod/global.php

    admin/misc.php

    And the usuals (all for just the version number): admin/global.php, admin/install.php, admin/upgrade1.php, admin/upgrade18.php

    <<<

    and these are file in the root (along with a couple in the admin and mod directory), so I guess it does mean ALL files and directories (except the config.php) ?

    Leave a comment:


  • intex
    replied
    Thx

    I've downloaded 2.2.5 and am ready to perform the upgrade, but I have one last question (hopefully ) and relates to your answer.

    It says in the members area to upload all the files except config.php. Does this mean all the files in the ZIP which obviously can be used for a fresh installation, i.e. do I copy all the files and directories (admin / images / mod) along with all the files outside of these directories?

    Leave a comment:


  • George L
    replied
    Originally posted by intex


    I'm on my way to start my upgrade and I was thinking about the process as you've outlined above. Would it also not be a good idea to backup the upload directory, so that if something goes wrong you will have copies of all the files exactly how they were before (this would be between steps 3 and 4 above). Otherwise surely you would have the new version vB files which maybe causing a problem.

    Just a thought. I'm probably wrong though
    you upload directory won't be touched by upgrades anyway.. but if you must backup upload directory then do so .. just make sure you have enough disk space for mysql backup and upload directory backup

    Leave a comment:


  • intex
    replied
    Originally posted by eva2000
    possible yes... safest way is to backup the forum prior to upgrading.. the way i do it is

    1. backup forum
    2. create new empty database
    3. import backup into new empty database - this serves also to check the backup is properly dumped out
    4. then upload 2.2.6 files (when they're released) to site
    5. edit config.php and point the database to the new empty databasename you created in step 2. and which now holds a identical copy of your existing database vb version (via step 3)
    6. run the upgrade to 2.2.6 - this will upgrade your forum to 2.2.6 altering the duplicate copy of your database made in step 2. & 3.

    this way original database is never even touched at all and you can do step 1 through to 6 again above if for any reason your upgrade messes up or has problems
    I'm on my way to start my upgrade and I was thinking about the process as you've outlined above. Would it also not be a good idea to backup the upload directory, so that if something goes wrong you will have copies of all the files exactly how they were before (this would be between steps 3 and 4 above). Otherwise surely you would have the new version vB files which maybe causing a problem.

    Just a thought. I'm probably wrong though

    Leave a comment:


  • George L
    replied
    Originally posted by intex
    Thx Eva2000 - you're a star
    no probs

    Leave a comment:


  • intex
    replied
    Thx Eva2000 - you're a star

    Leave a comment:


  • George L
    replied
    Originally posted by intex
    OK great And after I've created the database how do I actually reimport the backup database that I made?
    you're on windows ?

    to import type
    Code:
    c:\mysql\bin\mysql -u mysqlusername -p emptydatabasename < c:\Backup\Destination\Example\backup.sql

    Leave a comment:


  • intex
    replied
    OK great And after I've created the database how do I actually reimport the backup database that I made?

    Leave a comment:


  • George L
    replied
    Originally posted by intex
    Thanks for the prompt reply

    I've installed phpmyadmin and works as you specified. However, are you suggesting that I backup my database from here? I believe I was warned somewhere about using a browser / PHP to do this, so I actually do it manually with a batch file that contains the command:

    c:\mysql\bin\mysqldump.exe --opt --all-databases > c:\Backup\Destination\Example\backup.sql

    Is this the same thing and is the command prompt option not a better one?

    So anyway, I can see the Create New Database option when you first login to that page and I will go ahead and create a new one, but where exactly do I import the database I just made a backup of?
    to create database = use phpmyadmin

    to backup database = use command line

    Leave a comment:


  • intex
    replied
    Thanks for the prompt reply

    I've installed phpmyadmin and works as you specified. However, are you suggesting that I backup my database from here? I believe I was warned somewhere about using a browser / PHP to do this, so I actually do it manually with a batch file that contains the command:

    c:\mysql\bin\mysqldump.exe --opt --all-databases > c:\Backup\Destination\Example\backup.sql

    Is this the same thing and is the command prompt option not a better one?

    So anyway, I can see the Create New Database option when you first login to that page and I will go ahead and create a new one, but where exactly do I import the database I just made a backup of?

    Leave a comment:


  • George L
    replied
    Originally posted by intex
    Sorry for the newbie type question, but I've only ever created a new database by running the vB installation again and specifying a new database name. I did this to create a test board.

    Is this the way you're referring to or do I create a new database another way? Also what is the correct procedure for importing the database into the new one.

    Again, apologies for the newbie questions
    yes install phpmyadmin and you can install and remove databases via your browser

    -
    http://www.vbulletin.com/forum/showt...threadid=18558

    1. Look to your left frame, and you'll see the name of your mysql databases.
    2. Click on the database name and you'll see the right frame change, showing your databases' tables, how many records, table type (MyISAM) and table size and total database size.
    3. Scroll down further in right frame and you'll see a few functions such as

    - a text area box titled "Run SQL query/queries on database YOURDATABASENAME"
    - 'Or Location of the textfile' with the Browse and GO button
    - View dump (schema) of database which lists the table names in the database in a box and to the right of the box is a few functions labeled as, 'Structure only', 'Structure and data' and 'Data only'
    - below these labels are check boxes with one of them closest to the GO button being, 'Save as file'

    4. At the top of the right frame see the create database form box when you first log in to phpmyadmin

    Leave a comment:


  • intex
    replied
    Sorry for the newbie type question, but I've only ever created a new database by running the vB installation again and specifying a new database name. I did this to create a test board.

    Is this the way you're referring to or do I create a new database another way? Also what is the correct procedure for importing the database into the new one.

    Again, apologies for the newbie questions

    Leave a comment:


  • George L
    replied
    Originally posted by Steve_S
    Another secret from GEEK supreme eva2000

    Got any more

    BTW, for others who may not know:

    Step one: Close your forums first.
    heh forgot that step hehe

    ever since early days of 1.1.x i've upgraded this way.. leaving untouched the original database and making a copy of it via the backup and upgrading on that copy and NOT the original

    you can't do wrong if you don't touch the original database

    Leave a comment:


  • George L
    replied
    Originally posted by Sal Collaziano
    Okay, okay. So. hehe. Eva. Would you like to do this for me? How much would ya want? I was hoping to just wait until 3.0 but it seems I'm falling too far behind. I can't say I really love doing the upgrades.

    Ya know something? I would love to pay extra for an option in the control panel - a link that you could simply click on and have all of this taken care of for you. The control panel would update with the latest version and backup the database, etc..

    Could this happen?
    check pm/email... this isn't the place to discuss such commercial activities

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X