Project

General

Profile

Can't run Redmine on Cpanel

Added by maciej jaśniaczyk almost 13 years ago

Hello,

I'm having difficulties with running Redmine. There are 2 servers where I've tried to run it. Both based on cpanel. 1st was fully dedicated server and 2nd shared cpanel hosted server. Unfortunately I didn't have full rights so I couldn't install/uninstall particular gems so i had to go with what's been given. Below are listed gems that I have installed on first server:

actionmailer (3.1.1, 2.3.14)
actionpack (3.1.1, 2.3.14)
activemodel (3.1.1)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (3.1.1, 2.3.14)
builder (3.0.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.1.4)
erubis (2.7.0)
fastthread (1.0.7)
gem_plugin (0.2.3)
hike (1.2.1)
i18n (0.6.0)
mail (2.3.0)
mime-types (1.17.2)
mongrel (1.1.5)
multi_json (1.0.3)
polyglot (0.3.3)
rack (1.3.5, 1.1.2)
rack-cache (1.1)
rack-mount (0.8.3)
rack-test (0.6.1)
rails (2.3.14)
rake (0.9.2.2)
rubygems-update (1.8.11)
sprockets (2.0.3)
sqlite3 (1.3.4)
tilt (1.3.3)
treetop (1.4.10)

Due to i18n incompatibility I've build database on local server using exact gem versions as specified in your guide, so it went smooth. When moved it to web server I can't start the application.

This is the error I'm receiving:

=> Booting Mongrel
=> Rails 2.3.11 application starting on http://0.0.0.0:3000 /home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/rails/g
em_dependency.rb:277:in `==': undefined method `name' for "actionmailer":String (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:in `==='
from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:217:in
`matching_specs'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`find_all'
from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:410:in
`each'
from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:409:in
`each'
from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:216:in
`find_all'
from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:216:in
`matching_specs'
from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:238:in
`to_specs'
from /usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in
`to_spec'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1210:in `gem'
from
/home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/rails/g
em_dependency.rb:75:in `add_load_paths'
from
/home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/initial
izer.rb:301:in `add_gem_load_paths'
from
/home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/initial
izer.rb:301:in `each'
from
/home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/initial
izer.rb:301:in `add_gem_load_paths'
from
/home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/initial
izer.rb:132:in `process'
from
/home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/initial
izer.rb:113:in `send'
from
/home/gshost/rails_apps/pm.gmind/config/../vendor/rails/railties/lib/initial
izer.rb:113:in `run'
from /home/gshost/rails_apps/pm.gmind/config/environment.rb:20
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
from
/home/gshost/rails_apps/pm.gmind/vendor/rails/activesupport/lib/active_suppo
rt/dependencies.rb:182:in `require'
from
/home/gshost/rails_apps/pm.gmind/vendor/rails/activesupport/lib/active_suppo
rt/dependencies.rb:547:in `new_constants_in'
from
/home/gshost/rails_apps/pm.gmind/vendor/rails/activesupport/lib/active_suppo
rt/dependencies.rb:182:in `require'
from
/home/gshost/rails_apps/pm.gmind/vendor/rails/railties/lib/commands/server.r
b:84
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
from script/server:3

Is this issue related with gems incompatibility or is it something else? I've never developed in ruby so I'm totally green in that subject. Would appreciate any suggestions.

Best regards and thank you in advance for help


Replies (2)

RE: Can't run Redmine on Cpanel - Added by maciej jaśniaczyk almost 13 years ago

Additional informations I've forgot about:

Ruby version - 1.8.7
MySQL version - 5.1.56

RE: Can't run Redmine on Cpanel - Added by maciej jaśniaczyk almost 13 years ago

The basic question i should ask - is it actually possible to run Redmine the way i did - by generating database on localhost and moving it to the dedicated server? Or do i need full access to ssh and generate it on the server?

Redmine on localhost is running fine, as intended.

Best Regards

    (1-2/2)