Project

General

Profile

Upgrading Redmine - Debian Package version to svn.

Added by Ian Walker over 11 years ago

Hi,

I initially installed redmine from Debian packages version 1.0.1-2 in Debian Squeeze. I would like to update this to the latest version, there are no Debian packages, and now figured maybe it would be better for me to use the svn version.

Is there any way that I can do this and preserve the system we have been using so far in terms of the projects registered in the system?


Replies (5)

RE: Upgrading Redmine - Debian Package version to svn. - Added by Ian Walker over 11 years ago

OK thanks, I could possibly give this a try by upgrading and migrating my system - although not ideal for production.

Is there a possibility to migrate my Redmine from the package version to svn easily enough? Or can I make a clean install with the svn and then import the database?

RE: Upgrading Redmine - Debian Package version to svn. - Added by Gurvan Le Dromaguet over 11 years ago

I suppose yes, but run the upgrade procedure ...

RE: Upgrading Redmine - Debian Package version to svn. - Added by Jan Niggemann (redmine.org team member) over 11 years ago

Ian Walker wrote:

OK thanks, I could possibly give this a try by upgrading and migrating my system - although not ideal for production.

Certainly not, you're right, but you can also just take the package and install it manually, provided the depends are satisfied (I didn't check though).

RE: Upgrading Redmine - Debian Package version to svn. - Added by Ian Walker over 11 years ago

I have now upgraded, and running from svn version - 2.3-stable.

For anyone attempting this, it's very simple. Once you know where the files are in Debian, you just need to copy them to the svn directories.

Eg:

Database/email config directory:

/etc/redmine/default

Files uploaded to projects:

/var/lib/redmine/default/files

The config files mentioned in the upgrade documentation can then be copied to the place where you had svn checkout the redmine 2.3-stable version, and also the files will be copied under here as well.

Ensure permissions for your web server, so www-data:www-data in my instance, and everything is going OK.

I initially upgraded squeeze --> wheezy, which then meant I had an updated install to 1.4 with the Debian packages. I then installed the 2.3 version and followed the upgrade process for this to move from the Debian packages to svn.

For completeness, I had svn save my installation under:

/var/redmine2

the relative directories in terms of config/files are:

/var/redmine2/config
/var/redmine2/files

Thereafter, I just had to remove the /var/www/redmine symlink from /usr/share/redmine/public so that it was /var/redmine2/public. And all was then working fine after completing the rest of the upgrade procedures on the redmine website.

    (1-5/5)