Jessie (Debian 8)

Quick installation howto

1. Install your database, e.g. postgresql (or don't, if you want to use sqlite)

apt install postgresql # or mysql-server

2. Install Redmine with support for your database of choice

apt install redmine-pgsql # or redmine-mysql, or redmine-sqlite

There will be a prompt asking to confirm database configuration via dbconfig-common. The default Yes should be OK unless as indicated you are using an external database or want to otherwise manually configure this.

3. Configure the web server

apt install apache2 libapache2-mod-passenger
cp /usr/share/doc/redmine/examples/apache2-passenger-host.conf /etc/apache2/sites-available/redmine.conf
edit /etc/apache2/sites-available/redmine.conf
a2enmod passenger
a2ensite redmine.conf
service apache2 reload

To use the same domain shared with other applications, base your config on /usr/share/doc/redmine/examples/apache2-passenger-alias.conf instead.

4. Log into Redmine at http://<ip>/ with the following default admin account:

username: admin
password: admin

Stretch (Debian 9)

it is advised (current state August 2017) to use psql instead of mariadb as these package installations worked just like the commands from Debian 9 without any problem - see below

mariadb problems

error: template infile /usr/share/redmine/templates/database-.yml.template does not exist

cp database-mysql.yml.template /etc/redmine/default/database.yml

ActiveRecord::StatementInvalid: Mysql2::Error: Specified key was too long; max key length is 767 bytes: CREATE  INDEX wiki_pages_wiki_id_title  ON wiki_pages (wiki_idtitle)

I was not able to solve this problem although I tried changing the ruby file and give a different limit, inspired by [2]



Differences from upstream Redmine

The Debian redmine package contains a few patches to support running multiple Redmine instances using a single codebase. You manage your instances by using dpkg-reconfigure redmine. This multi-instance support makes some things appear in places that are different from when you are using the upstream redmine:

CategorySystemAdministration CategorySystemAdministration