I just became a new admin on a server (ubuntu-server virtual machine) that host redmine on apache2 and subversion in my company.
- I discovered that the OS is Ubuntu Raring 13.04 that is out of date from January 2014!
- I updated the
source.list
to replace xx.ubuntu.com byold-releases.ubuntu.com
, then I made update && upgrade. - So I made
do-release-upgrade
.
The script force remove the Redmine package.
I cloned the machine and ran two dist-upgrade successively on the cloned machine so I upgraded from 13.04 to 13.10 and then from 13.10 to 14.04 Trusty LTS and I choose to stay on the LTS.
The problem now is to restore redmine on the upgraded system. How to do that ? Two difficulties are added to this work because:
- ubuntu raring run postgresql-9.1, but trusty run 9.3. So the redmine db is on a 9.1 pg cluster.
- redmine itself was an old version and trusty repos host redmine-2.4.2-1
What is the key points to perform the restoration of the complete application configuration and datas ?
/root/redmine/redmine_bak
running as cronjob on every midnight. It will dump the database to redmine.sql and copy files to /root/redmine/. Otherwise you need to get postgresql-9.1 running somewhere in order to make the dump. Dumping databases before dist-upgrade is always a good idea.