Project

General

Profile

Redmine Loading In Browser Problem

Added by Soup Chunky over 11 years ago

Hi,

I installed Redmine using the following steps

#chown -R root:root /usr/share/redmine

#chown www-data /usr/share/redmine/config/environment.rb

#ln -s /usr/share/redmine/public /var/www/redmine

#mysql -u root -p

CREATE DATABASE redmine character SET utf8;
CREATE user 'redmine''localhost' IDENTIFIED BY 'my_password';
GRANT ALL privileges ON redmine.* TO 'redmine'
'localhost';

#cp redmine/config/database.yml.example redmine/config/database.yml

#vi redmine/config/database.yml
production:
adapter: mysql2
database: redmine
host: localhost
username: redmine
password: my_password
encoding: utf8

#apt-get install ruby1.9.3 libmysqlclient-dev

#apt-get install libmagickcore-dev libmagickwand-dev

#gem install bundler

#cd redmine

#bundle install --without development test postgresql sqlite

#rake generate_secret_token

#RAILS_ENV=production rake db:migrate

#RAILS_ENV=production rake redmine:load_default_data

#mkdir public/plugin_assets
#chown -R www-data:www-data files log tmp public/plugin_assets
#chmod -R 755 files log tmp public/plugin_assets

#ruby script/rails server webrick -e production &

I invoke this as a background process.

Till this point all seems fine and I can access Redmine page in the browser. However, as the terminal is exited with Ctrl+D or exit command, the Redmine page is lost.
Then I do a ps -aux |grep ruby, I kill the ruby process and again invoke the ruby script. Ctrl+C shutsdown the Ruby server and also Redmine.

Is there any way I can run Redmine just as any other application as is done with Apache?

Thanks in advance.


Replies (2)

RE: Redmine Loading In Browser Problem - Added by Paresh Patel over 11 years ago

hi,

your proper problem share me ,
or
problem screen shot send me
then i solving your problem proper

any question then reply me

RE: Redmine Loading In Browser Problem - Added by Soup Chunky about 11 years ago

Hi Paresh,

The problem is that unless I invoke the "#ruby script/rails server webrick -e production" command, the redmine installation doesn't start. I have to add an "&" to make it run as a background process. However, if I close the terminal, the redmine also shuts down which is not what I want.
I want redmine to run as any other application. Perhaps something to do with the Apache installation. I am not clear with it either.

    (1-2/2)