History of bitweaverUpgrade

Version 39


How to Upgrade bitweaver

Created by: xing, Last modification: 21 Jun 2006 (09:26 UTC) by xing

bitweaverRelease Upgrades

whatever you do, always make a backup. whether you are about to do minor upgrades or large ones, please always backup your files and database first. we put a lot of effort into creating reliable installation / upgrade processes and making them as easy and quick as possible, however there are so many different setups and you might be using the one that causes a problem we haven't been able to test ;)

upgrading from one 1.x.x to another 1.x.x release does not require that you run the installer unless you would like to add new packages.

bitweaver Files, Data and Directories

the following files and directories contain dynamically stored data, which you have to copy to your new installation:
This is the file, which is written during the installation process and which contains all the database access information. Without this file, you will be redirected to the install page as soon as you try to access bitweaver.
The storage directory contains all files that are uploaded to your site. if you omit this directory, your users can not access any files that have previously been uploaded.
The temp directory contains all cache related items and also it stores any custom modules created. Nexus creates such modules on the fly and hence, no custom modules or menus will work on your new site if you don't copy this folder across as well.
3rd party applications
third party applications such as phpbb and gallery2 have their own configuration files. also, it is important that you check their upgrade process for individual packages if there have been database changes to these. please someone help with these, as i'm not familiar with these applications.
This is the file, which is written by the PHPBB installation process and which contains all database access information for the Forums module. Your new site will prompt you to install PHPBB unless this file is present.
Database changes
Please consult the SchemaChangelog page for any changes that have occurred to any package. We never make table alterations to stable branches, however you might find that some permissions have been added to the database. if so, please add these by hand with the simple INSERT statements listed on SchemaChangelog.

1.3 -> 1.3.1


As usual, no database changes have been made. Please upgrade in a similar fashion as outlined below. Please make sure to backup your data.


phpBB was upgraded to 2.0.20 and requires that you use the phpBB upgrade script. Please view the upgrade instructions that are supplied with phpBB on how to proceed: phpBB install and upgrade instructions

1.2.1 -> 1.3

Search has undergone a major re-vamp and now allows you to re-index your entire site in the admin screen. make sure to do so after you install 1.3. this will allow users to search all the content on your site reliably.

other than that, all you need to do is visit the installer to install newsletters, if you want to use them on your site.

Third party applications have all stayed the same and things like phpbb don't require any special treatment.

1.2.0 -> 1.2.1


beginning with this version, the installer informs you of any permissions that might not be in use anymore and of permissions that have not been added to your database yet. Please visit this screen after upgrading the filebase of your bitweaver install.
you can access the page by pointing your browser to the Resolve Conflicts page in the installer:

We have had several reports about not being able to log in to the site after upgrading. if you are experiencing such a problem, please visit this forum thread and post your problems there, should they persist.


phpBB was upgraded to 2.0.19 and requires that you use the phpBB upgrade script. Please view the upgrade instructions that are supplied with phpBB on how to proceed: phpBB install and upgrade instructions

1.0.4 --> 1.2

As with all stable branches, such as ReleaseOne, no alterations of the actual database have been or ever will be required. We have added a few new permissions. Most of these will probably not interfere with the running of your site, however we recommend that you have a look through SchemaChangelog for further details and instructions on how to add them to your database.

1.0.* --> 1.0.4

These are bugfix releases and have no database changes whatsoever.

Follow these procedures to upgrade:

  1. make a backup of your files (and database if possible - just to be on the safe side).
  2. upload / unpack the downloaded archive in the same location as it was before.
  3. copy the files and directories mentioned above to your new version of bitweaver.
  4. point your browser to http://my.cool-bitweaver.site/
that's it. everything should be working even better than before.

Sample Upgrade Process

in the last stage, you can copy the file across and then modify with your favourite text editor

$ mysqldump bitweaver > bitweaver.dump                           # dump the database
$ mysqladmin create bitweaver-1-2                                # create new database
$ mysql bitweaver-1-2 < bitweaver.dump                           # import database into new database
$ cd /var/www/html/                                              # move to your apache document root
$ mv bitweaver/ bitweaver-old/                                   # rename your old bitweaver directory
$ cp -a bitweaver-old/themes/styles/mytheme bitweaver/themes/    # copy accross your custom theme if you have one
$ tar -zxvf ~/downloads/bitweaver_1.2.0.tar.gz                   # extract the new version of bitweaver
$ cp -ru --reply=yes bitweaver-old/storage/*  bitweaver/storage/ # copy storage/
$ cp -ru --reply=yes bitweaver-old/temp/*     bitweaver/temp/    # copy temp/
$ chmod -R 777 bitweaver/storage/ bitweaver/temp/                # make sure apache has permissions to access them
$ sed -e 's/"bitweaver"/"bitweaver-1-2"/g' bitweaver-old/kernel/config_inc.php > bitweaver/kernel/config_inc.php
                                                                 # copy config_inc.php while changing the $gBitDbName value

when using postgresql, replace the first 3 lines with:

$ pg_dump bitweaver > bitweaver.dump
$ createdb bitweaver-1-2
$ psql bitweaver-1-2 < bitweaver.dump

If you are using the PHPBB Forum package then also do the following steps

$ cp --reply=yes bitweaver-old/phpbb/config.php bitweaver/phpbb/config.php  # copy your old PHPBB configuration
$ rm -rf bitweaver/phpbb/install/ bitweaver/phpbb/contrib/     # PHPBB will not run when these directories exist

Page History
22 May 2010 (12:21 UTC)
Current • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
Lester Caine81.138.11.13663
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
Lester Caine81.138.11.13658
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source