PDA

View Full Version : Installing Redmine



Zarjay
03-22-2009, 06:26 PM
I'm interested in installing the latest version of Redmine (http://www.redmine.org/) on my site. I followed the installation instructions on GTools.com (http://bugtracker.gttools.com/public/wiki/bluehost/Redmine) and was able to get an old version of Redmine installed successfully. However, I haven't had luck with installing a newer version.

I downloaded the latest version of Redmine from SVN onto my site, configured the database, and followed the instructions from GTools and Redmine's wiki (http://www.redmine.org/wiki/redmine/RedmineInstall), and the result is a page with a 500 error.

Does anyone have any pointers on how to troubleshoot this problem? This is also my first time dealing with installing a RoR application, so any good-to-know things for installing a Rails app would be nice as well.

deegrayve
07-07-2009, 09:37 PM
Have you had any luck with it?
I've been trying to get redmine installed also...

Caoimhin
08-21-2009, 08:07 AM
I'm in the same boat. I've tried following the instructions on both the Redmine site and GTools, but I keep getting hung up on the database migration step:

rake db:migrate RAILS_ENV="production"
(in /home3/greenin1/public_html/sarsendevelopment/pm)
rake aborted!
undefined method `default_error_messages=' for ActiveRecord::Errors:Class

(See full trace by running task with --trace)My suspicion is that it has something to do with the version of rails on Bluehost (2.3.3). Redmine says it requires 2.2.2 for the latest trunk.

Caoimhin
08-24-2009, 01:31 PM
I got it up and running. I followed the directions on the Redmine website (downloaded tar because couldn't get svn versions to work) and everything's functional.

Good Luck!

:)

Caoimhin
08-24-2009, 02:08 PM
Just a quick followup...I spoke too quickly. Redmine is working, but I can't figure out how to attach it to Subversion.

Caoimhin
08-25-2009, 12:38 PM
Got it. For some reason Redmine wasn't able to access svn via my PATH. I had to update the config file to specify the absolute path to svn. Now it's perfect...even have the email notifications and tickets working!

silverworld
08-29-2009, 11:35 PM
OK, finally got vsftp package installed. I cant telnet or ftp to the box. I get connection terminated errors. Also cant see web pages at the tcpip address, but ping works. Is the webserver installed by default?

Caoimhin
08-31-2009, 07:33 AM
OK, finally got vsftp package installed. I cant telnet or ftp to the box. I get connection terminated errors. Also cant see web pages at the tcpip address, but ping works. Is the webserver installed by default?

Can't really tell where you are in the installation process. Have you requested a shell account from Bluehost?

Rocky150
09-15-2009, 12:14 AM
Hello there,

I know this is an older thread, but did you ever get to the point of having Redmine installed on your CC box?

If so, could you maybe spend some time detailing how you got it done? I am just away to spend some time investigating this, but I was just wondering if you could give me a head start.

Ideally, I would like to have redmine installed, and running under Apache on my CC box. I don't currently have Ruby, or Ruby-On-Rails installed, so I would need to get that installed, before installing Redmine.

Thanks

Caoimhin
09-15-2009, 07:54 AM
Hello there,

I know this is an older thread, but did you ever get to the point of having Redmine installed on your CC box?

If so, could you maybe spend some time detailing how you got it done? I am just away to spend some time investigating this, but I was just wondering if you could give me a head start.

Ideally, I would like to have redmine installed, and running under Apache on my CC box. I don't currently have Ruby, or Ruby-On-Rails installed, so I would need to get that installed, before installing Redmine.

Thanks

I'm sorry...forgive my ignorance, but what's a "CC" box?

Regardless, to get you started, I would recommend using the packaged release of Redmine instead of installing from SVN. I tried installing from SVN and couldn't get it to work, but when I used the packaged release, it was up and running fairly quickly. If you make it to that point let me know and maybe I can help you out from there.

Caoimhin
09-18-2009, 08:42 AM
Why install vsftp? Bluehost already has an SFTP server...use it.

And what does vsftp have to do with installing Redmine?

insight
10-13-2009, 10:08 AM
hi

I am using 0.8.0 and I woudl like to upgrade to 0.8.4. I asked in redmine website alot of times, but nobody can help me to upgrade

@Caoimhin: Could you share me your step to upgrade it?

thanks in advance

dovemaster
11-25-2009, 03:53 PM
hi

I am using 0.8.0 and I woudl like to upgrade to 0.8.4. I asked in redmine website alot of times, but nobody can help me to upgrade

@Caoimhin: Could you share me your step to upgrade it?

thanks in advancehttp://bodybuilderspro.info/customimages/4/1240197088/random.gif

Did anybody ever help you? or did you find a solution?

Caoimhin
11-25-2009, 08:01 PM
hi

I am using 0.8.0 and I woudl like to upgrade to 0.8.4. I asked in redmine website alot of times, but nobody can help me to upgrade

@Caoimhin: Could you share me your step to upgrade it?

thanks in advance
Hey insight...sorry for not replying for so long. I haven't been on the forums lately.

I actually haven't gone through an upgrade yet, though I was thinking a day or two ago that's something I should tackle pretty soon. Have you worked it out? Since I couldn't install from svn and had to use the tar ball, I'm anticipating it will be a bit more complicated. :rolleyes:

Caoimhin
02-24-2010, 02:56 PM
Okay, I finally did the upgrade and figured I'd better post something here about it.

What I did was:

Move existing redmine directory to backup directory
Upgraded all dependencies (i.e. rails, rake, rack, etc.)
Did an svn checkout of the 0.9-stable branch to the redmine directory
Copied database.yml from old installation to new installation
Copied contents of files/ into new installation
Copied email.yml into new installation
Copied my plugins into the new installation
Ran rake generate_session_store
Updated the database (for the plugins too)

That's pretty much it. The only gotcha was I had to uninstall the mysql gem and reinstall it, but the 2.7 version. For some reason the new one wasn't working.

insulanus
03-23-2010, 11:51 PM
Hi All,

For those having trouble installing Redmine on Bluehost, I offer the following script:
http://z-os.org/create-redmine.txt

I cleaned up the gttools script, and identified the last version of Redmine that would install cleanly on Bluehost (redmine-0.8.7)

inphinis
04-17-2010, 06:14 AM
Many thanks insulanus, your script worked perfectly. I was crazy trying to install redmine on bluehost with the cpanel admin utils and I was not able.

Your script works perfectly! Thanks again.

ollyando
05-18-2010, 11:56 AM
Got it. For some reason Redmine wasn't able to access svn via my PATH. I had to update the config file to specify the absolute path to svn. Now it's perfect...even have the email notifications and tickets working!

Hi Caoimhin, I have redmine installed, but having problems linking it to subversion, do you have the steps you took to get both talking to each other, also when you create a redmine project, does it create a subversion project automatically for you?

vbguy17
10-03-2010, 01:36 AM
I followed used the script above to install version 1.0.1 but I'm still not able to get to redmine. I think I'm missing something when it comes to actually running redmine?

If I set up a ruby on rails app in cpanels and try to run it I get this in the mongrel.log


/home2/blah/public_html/redmine-1.0.1/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/home2/blah/public_html/redmine-1.0.1/config/../vendor/rails/railties/lib/initializer.rb:271:in `require_frameworks': RubyGem version error: rack(1.1.0 not ~> 1.0.1) (RuntimeError)
from /home2/blah/public_html/redmine-1.0.1/config/../vendor/rails/railties/lib/initializer.rb:134:in `process'
from /home2/blah/public_html/redmine-1.0.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from /home2/blah/public_html/redmine-1.0.1/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from /home2/blah/public_html/redmine-1.0.1/config/environment.rb:20
from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:147:in `rails'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker_'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `call'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `listener'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `call'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `initialize'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
from /usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
from /usr/bin/mongrel_rails:19:in `load'
from /usr/bin/mongrel_rails:19

if I try to use webrick, I seem to only be able to hit it using wget when I'm ssh'd to my account. wget -O - http://127.0.0.1:3000 seems to be returning the welcome page at least.

If I try to access it from my browser (ie http://redmine.blah.com). I get the 500 error that's defined by the ErrorHandler in the .htaccess file in the public folder.

I must be missing something here??

tkwon
05-18-2011, 04:39 PM
Anyone know the answer? Having the same problem...