Upgrading from ast-0.1.9 to ast-0.2.0
Written by Administrator   
Tuesday, 27 June 2006

Prerequisites

The upgrade functionality is present in ast-0.2.0_pre3 and newer. You must be running ast-0.1.9 for the upgrade to work. If you have an older version in the ast-0.1.x series, you must upgrade it to 0.1.9 to continue.

Install ast-0.2.0

You need to install the latest version of AST into a different directory than your ast-0.1.x installation. You can find instructions on how to install ast-0.2.0 here.

Performing the upgrade

Now that you have ast-0.2.0 installed on your server, cd into your ast-0.2.0 installation directory. You need to invoke the ast executable with the --import argument and specify the path to your ast-0.1.9 data directory. You should also chown all your files to avoid permission errors. If you have ast-0.1.9 installed into /var/www/localhost/htdocs/ast and ast-0.2.0 installed into /var/www/localhost/htdocs/ast-0.2.0 then you might do:
cd /var/www/localhost/htdocs/ast-0.2.0
./ast --import ../ast/data
chown apache:users * -R

Notes

The user admin is not imported from ast-0.1.9 because the import does not overwrite any existing data. So you will to re-enter your preferences for admin. The worksheet and portfolio are imported into new objects. Alerts are imported along side your existing reports. Because ast-0.1.9 had some inconsistencies in how it saved notes, they can not be imported into ast-0.2.0 at the present. Support for this import may be added in the future.