====Upgrading ARDI - Linux====
On Ubuntu-based systems, the user will need to login via a terminal/SSH in order to begin the upgrade process.
An ARDI upgrade on a Linux system is effectively just an in-place re-installation.
We suggest upgrading the system itself (for example, moving to the newest version of Ubuntu) before continuing.
cd /usr/src
wget http://repo.optrix.com.au/linux/installer
chmod u+x installer
./installer
This will upgrade all of the packages on your system, ensure that all prerequisites are properly installed, and will replace all of your ARDI installation files with new versions.
===Cleaning Up===
You may have to perform some house-keeping when moving between major versions of ARDIs dependencies - in particular, when switching between versions of **PHP**.
On Ubuntu, type...
update-alternatives --config php
...and select the latest version of PHP available. Take a note of the older version(s) shown in the list.
You may also want to ensure the latest version is also enabled in Apache, with the following command...
a2dismod php[old version]
a2enmod php[new version]
Finally, you may want to go to **Administration | Drivers** in your ARDI web interface and press **Restart/Update** on the drivers.
===Checking the Results===
After the automated upgrade is complete, you should visit **every** [[ARDI database|ARDI database]] to ensure that any updates are applied and all are still working as expected.
New features sometimes require changes to the database or cache structure. These changes are applied the first time someone visits the web-interface for each database. This means that verifying that each database is working is actually a //vital// part of the update process.