Guide - Install Redmine on Debian

Added by François K. over 1 year ago

Hello,

I wrote a documentation about my last installation of Redmine on a Debian server - for a production environment - because I think this is the missing intelligence in the official documentation.

Feel free to use it in the wiki or simply as a starting point for your own installation.

François.

Replies (18)

RE: Guide - Install Redmine on Debian - Added by Hans-Peter Suter over 1 year ago

Very nice document! Imo it would be better to supply a pdf document however.

Hans-Peter

RE: Guide - Install Redmine on Debian - Added by Iuri Souza over 1 year ago

François K. wrote:

Hello,

I wrote a documentation about my last installation of Redmine on a Debian server - for a production environment - because I think this is the missing intelligence in the official documentation.

Feel free to use it in the wiki or simply as a starting point for your own installation.

François.

François,

I follow your guide for Debian and don´t work. My browser receive list file in /usr/local/lib/redmine-0.8/public.
Any idea ???

RE: Guide - Install Redmine on Debian - Added by François K. over 1 year ago

Iuri Souza wrote:

I follow your guide for Debian and don´t work. My browser receive list file in /usr/local/lib/redmine-0.8/public. Any idea ???

If you see the files, maybe the mod_passenger doesn't work or be activated.
To check this, you need to activate the mod_info.

For this:
cd /etc/apache2/mods-enabled
ln -s ../mods-available/info.load
ln -s ../mods-available/info.conf

Now, if you make your tests from an other computer, you need to edit the info.conf file and add a line like this one to allow the connection from this computer:
Allow from 192.168.2.2 (with the IP address of the computer)

Then reload apache (/etc/init.d/apache2 reload) and use your browser to go to the url /server-info on your server.

You will see the mods loaded on your server: is mod_passenger visible? is its configuration correct?

RE: Guide - Install Redmine on Debian - Added by François K. 12 months ago

Thank you Gordon for the PDF version!

I have updated my installation guide to integrate Subversion.
Here is the result (in both docx and pdf this time :)

RE: Guide - Install Redmine on Debian - Added by Derik JL 11 months ago

François,

I had the same problem. The passenger module is on, but the problem persist.

Any idea?

Thank You!!!

RE: Guide - Install Redmine on Debian - Added by François K. 11 months ago

Hello,

First of all you can check the "/var/log/apache2/errors.log" log file of apache. He will contain the passenger errors.

But I'm quite sure that the error came from my doc. In fact, it contains an error on pages 5 and 8.

Use

PassengerRoot /usr/local/lib/passenger

instead of
PassengerRoot /usr/local/lib/passenger-2.2.1

in your apache configuration.

I hope this help :)

RE: Guide - Install Redmine on Debian - Added by Derik JL 11 months ago

François,

I followed your guide again, and now works fine! I must have done something wrong in first time.

Thank you again!

RE: Guide - Install Redmine on Debian - Added by Jérémy Lal 10 months ago

There is now a package for redmine in debian/sid.
It will go to testing, then i hope backports too, in a few weeks.

RE: Guide - Install Redmine on Debian - Added by Junior Hemelaer 7 months ago

I followed the instructions on a testserver (Debian under Virtualbox), and all went well. Now, on a physical server I got stuck on the passenger part. When running "./passenger-install-apache2-module", the process says that "rack" could not be found. I installed rack with the following command: "/usr/bin/gem install rack", and installation went fine. When I run the passenger command again, it still can't find the rack software. Anyone with an idea/solution?

RE: Guide - Install Redmine on Debian - Added by Chris Jakeway 7 months ago

It looks like the passenger version has changed and "rack" is now required but doesn't install properly. To use the version of passenger that is listed in the instructions I replaced:
gem install passenger
with
gem install passenger -v=2.2.1

RE: Guide - Install Redmine on Debian - Added by Junior Hemelaer 7 months ago

Thanks Chris, that solved it! I used "gem install passenger -v=2.2.5".

RE: Guide - Install Redmine on Debian - Added by Kim Henriksen 7 months ago

I get this error, when installing rails.

projects:~# aptitude install ruby rake rubygems
projects:~# aptitude install libmysql-ruby libopenssl-ruby
projects:~# gem install rails –v=2.1.2
ERROR:  Error installing rails:
        actionpack requires rack (~> 1.0.0, runtime)
ERROR:  could not find gem –v=2.1.2 locally or in a repository

RE: Guide - Install Redmine on Debian - Added by Jérémy Lal 7 months ago

rails package is in debian,
in stable : rails 2.1.0
in testing/unstable : rails 2.2.3

aptitude install rails

!
Also be aware that redmine 0.9.0 is (the release candidate) is going to be uploaded
in debian/unstable very soon. It'll be rails 2.2.3 compatible, and using backports,
will be also available on stable.
Regards,
Jérémy.

RE: Guide - Install Redmine on Debian - Added by Kim Henriksen 7 months ago

Hey thanks for your reply

i did

projects:~# apt-get install rails
projects:~# gem install -v=2.1.2 rails

RE: Guide - Install Redmine on Debian - Added by Junior Hemelaer 7 months ago

Did you try "gem install rails -v=2.1.2" ?

RE: Guide - Install Redmine on Debian - Added by Kim Henriksen 7 months ago

Yeah, look above :)

but i got it all working.

but thx for all your replies

(1-18/18)