Project

General

Profile

HowTo for Redmine installation in LAMP shared hosting environment....

Added by Anirvan Basu over 12 years ago

Hello all,

New to Redmine, and very interested in the nice features for project mgmt & collaboration. Considering moving our projects from Tiki-Wiki (which is nice also) to Redmine. However, we have a problem at the start.

We are using a basic LAMP shared hosting (Bluehost) with ssh access. Trying to install Redmine in an addon domain on our account but repeatedly running into installation errors with RoR.

Hence, wanted to know if there is an installation manual for shared hosting in LAMP environment? The best we could find was the following:

http://www.ryanharter.com/blog/?p=95

I am frantically searching for a detailed one (exact folders, permissions, gem versions, etc), and possibly with workarounds suggested in case of errors and up to date with latest release of Redmine 1.4.x Would be very helpful to get started, if you could post some previous links (on this site & external).

Or is it discouraged to use Redmine in a shared hosting environment?

Thanks in advance for all your advice!


Replies (2)

RE: HowTo for Redmine installation in LAMP shared hosting - getting there slowly... - Added by Anirvan Basu over 12 years ago

Hello,

Made some minor steps towards installing Redmine on shared hosting (LAMP). Still not there yet finally. I still need your help. Maybe I am missing some step somewhere...

First: the environment for my installation:
[QUOTE]
$ RAILS_ENV=production script/about
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.7.2
Rack version 1.1.3
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Application root /home/myname/rails_apps/lovelyapp
Environment production
Database adapter mysql
Database schema version 20120301153455
[/QUOTE]

As of now, installation has been made and when I browse to the website

Scenario 1: The main page appears after a loooong time. This scenario happens only if I use an unmodified .htaccess (in public directory) with following lines:
[QUOTE]
Options -MultiViews
PassengerResolveSymlinksInDocumentRoot on
#Change to your environment
RailsEnv production
RailsBaseURI /
SetEnv GEM_HOME /home/myname/ruby/gems
[/QUOTE]

A main page is rendered with some view (a few links). But when I try to click on any of the links (Projects, Login, Register), that is where the problem starts. I get the following 500 error page (on Firefox browser):
[QUOTE]
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
[/QUOTE]

Scenario 2: I read somewhere that it is advisable to use Fast CGI. So I did the following:
- Copied the code from htaccess.fcgi.example to public/.htaccess
- Uncommented the line (installing at root of addon domain):
RewriteBase /

After doing this, I received the following result on Firefox browser. No views were rendered this time (blank page).
[QUOTE]
Application error
Rails application failed to start properly
[/QUOTE]

Am I missing some step somewhere?

Thanks in advance for all your help,
Anirvan

    (1-2/2)