SiDocRe - Upgrade to release 0.8.2

Step 1: extract files

Under the same public directory of the previous release, remove all core Smarty files.

Example: rm -fr /var/www/sidocre/smarty/*

Under the same private directory of the previous release, remove all compile/cache Smarty files.

Example: rm -fr /var/sdrdata/templates_c/*

Download and extract sidocre.0.8.2.tar.gz.

Extract sidocre.0.8.2.pub.tar.gz, sidocre.0.8.2.pub.theme.00.tar.gz and sidocre.0.8.2.pub.lang.en_US.tar.gz in the same public directory of the previous release. Overwrite all files with the same name.

Extract sidocre.0.8.2.pri.tar.gz, sidocre.0.8.2.pri.theme.00.tar.gz and sidocre.0.8.2.pri.lang.en_US.tar.gz in the same private directory of the previous release. Overwrite all files with the same name.

Note: remember to adjust files and directories permissions.

Index

Step 2: basic configuration

Update database using all needed update.x.x.x.sql file (x.x.x identifies releases), use all update file labelled with release greater than you current installation. Use them in chronological order.

Example: if you need to upgrade from release 0.4.1 to 0.6.0, use update.0.5.0.sql, update.0.5.1.sql and update.0.6.0.sql.

Example: mysql -h localhost -u sidocre -p sidocre < update.0.5.0.sql; mysql -h localhost -u sidocre -p sidocre < update.0.5.1.sql; mysql -h localhost -u sidocre -p sidocre < update.0.6.0.sql

Open setup.php page using a Web browser. Run the following script:

setup.php.

Example: open http://localhost/sidocre/setup.php.

Using setup.php page check Configuration parameters.

Note: for security reason, once you get a working document repository, remove setup.php files.

Index

Step 3: upgrade additional files

Download and extract all needed sidocre.0.8.2.lang.xxxx.tar.gz and sidocre.0.8.2.theme.NN.tar.gz, where NN identifies the theme and xxxx identifies the language.

Extract sidocre.0.8.2.pub.lang.xxxx.tar.gz and sidocre.0.8.2.pub.theme.NN.tar.gz in the same public directory of the previous release. Overwrite all files with the same name.

Extract sidocre.0.8.2.pri.lang.xxxx.tar.gz and sidocre.0.8.2.pri.theme.NN.tar.gz in the same private directory of the previous release. Overwrite all files with the same name.

Note: remember to adjust files and directories permissions.

Index