WebFaction
Community site: login faq

Hi,

I just don't know why is that so? I already have a redmine app installed and running on the same machine. When I try to install another one, it says "Redmine is not available on CentOS-5 machines."

Anyone faced the problem?

asked 24 Mar '16, 12:14

tarik
2113
accept rate: 0%


Newer versions of Redmine work with a passenger version that is no longer possible to compile on our CentOS 5 machines.

You can create a 'custom app (listening on port)' type of application and then follow the official instructions to install the latest redmine version using ruby2.2 and a server like unicorn.

I've managed to get one up and running by doing the following:

cd ~/webapps/<app_name>
mkdir gems tmp
export TMP=$PWD/tmp
export GEM_HOME=$PWD/gems
export RUBYLIB=$GEM_HOME/lib
export PATH=$GEM_HOME/bin:$PATH
gem2.2 install bundler unicorn
curl --silent http://www.redmine.org/releases/redmine-3.2.1.tar.gz | tar xz
cd redmine-3.2.1
# create a database and user and follow [this](http://www.redmine.org/projects/redmine/wiki/redmineinstall#Step-2-Create-an-empty-database-and-accompanying-user) link to create the schema
cp config/database.yml.example config/database.yml
vi config/database.yml # edit to your needs
bundler install --without development test rmagick
vi config/secrets.yml # create as per http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml
bundle exec rake secret # copy the long string
export SECRET_KEY_BASE=<long_string>
RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake redmine:load_default_data
unicorn -D -E production -p <custom_app_port>
permanent link

answered 24 Mar '16, 13:51

iliasr ♦♦
2.1k14
accept rate: 35%

edited 24 Mar '16, 13:53

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×46
×2

question asked: 24 Mar '16, 12:14

question was seen: 1,258 times

last updated: 24 Mar '16, 13:53

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM