Project

General

Profile

Installed redmine (1.3.2 mysql stable) from repository (apt-get install redmine) , How to upgrade to newer versions now ?

Added by Hendrik Meiffert over 10 years ago

Hey guys,

I am "pretty" new to ubuntu but feel comfortable using it. When I installed Redmine for the company I work in, I went for apt-get install redmine with mysql database and we endet up having version 1.3.2 , I didn't know that there are already newer versions if you install from subversion or git whatever or download anywhere else.
Is there a save way to upgrade my version to at least 1.4 ?, since many plugins require > 1.4 and I would love to try some.
Thank you very much for any help!

Hendrik


Replies (5)

RE: Installed redmine (1.3.2 mysql stable) from repository (apt-get install redmine) , How to upgrade to newer versions now ? - Added by Anonymous over 10 years ago

Hi Hendrik,

I ran in exactly the same. I finally did a parallel install on the same ubuntu-machine of redmine 2.2.4 stable (/usr/share/redmine2) using parts of this guide (http://redminecrm.com/boards/4/topics/448-installing-redmine-2-2-passenger-nginx-rvm-on-ubuntu-12-04) but using apache instead of nginx. The basic process was to do a second parallel install of redmine with an empty database. Verify basic functionality after successful install, then you can export your current redmine mysql-database via phpmyadmin and reimport to the new redmine-database (this is very easy and done in minutes). Do a db:migrate on the new (filled) database, check for correct funcionality and then disable old redmine in apache-configuration.

When installing from repos, I think I got really into the mess by installing bundler from repos instead of gem install bundler. Also when installing the gems figuring out all the missing deb-libraries and installing the corresponding sources was extremely cumbersome. The link provided helped me a lot.

Good luck!

Alex

RE: Installed redmine (1.3.2 mysql stable) from repository (apt-get install redmine) , How to upgrade to newer versions now ? - Added by Hendrik Meiffert over 10 years ago

Thank you Alex,

I did the same, but somehow my apache doesn't recognize the newer redmine as an app. He always show's me the folder structure instead of the application. Do you have an Idea ? I also tried to put in on a different port with no success.
Thanks, Hendrik

RE: Installed redmine (1.3.2 mysql stable) from repository (apt-get install redmine) , How to upgrade to newer versions now ? - Added by Anonymous over 10 years ago

Hi Hendrik,

I vaguely remember to have come across the same problem and maybe it was missing passenger configuration.
I found this in my system journal (see below).

Maybe this helps.

Alex

Adaptierung von passenger.load:
root@srvkisweb1:/etc/apache2/mods-available# cat passenger.load
# old 20131017:
# LoadModule passenger_module /usr/lib/apache2/modules/mod_passenger.so

LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-4.0.20/buildout/apache2/mod_passenger.so

# EOF

Adaptierung von passenger.conf:
root@srvkisweb1:/etc/apache2/mods-available# cat passenger.conf
<IfModule mod_passenger.c>
PassengerDefaultUser www-data
PassengerRoot /var/lib/gems/1.8/gems/passenger-4.0.20
PassengerDefaultRuby /usr/bin/ruby1.8
</IfModule>

root@srvkisweb1:/etc/apache2/mods-available#

RE: Installed redmine (1.3.2 mysql stable) from repository (apt-get install redmine) , How to upgrade to newer versions now ? - Added by Hendrik Meiffert about 10 years ago

Hey Alex,

I stopped working on this, but now went forward. I managed a parallel install for testing on my test environment.
The online problem I encounter now is that I can't rake migrate my db.

What does the rake db exactly do ?

I get the error that I am missing a gem called iconv , I use ruby 2.x and I heard that it deprecated in 1.9.3.

Thanks again for your super help...

RE: Installed redmine (1.3.2 mysql stable) from repository (apt-get install redmine) , How to upgrade to newer versions now ? - Added by Anonymous about 10 years ago

Hi Hendrik,

I have only very sparse knowledge of ruby/rake and so on. Maybe try to install the gem (and other missing) manually: #gem install iconv This worked for me.
rake seems to be Ruby's make but being able to perfomr far more tasks: rake db:migrate migrates the schema of the database (also a filled database) according to versioned schema-files (I suppose automatically to the newest version).
I remember that I got also stuck with some missing gems and installed those manually (see above) because bundle install failed.
If you could provide the exact error message, maybe I can look into my system journal for similar problems and how I solved them.

I admit that install of redmine is - compared to php-applications - very complex. Nevertheless this seems to provide the flexibility and the large selection of plugins.

Alex

PS: found this reference: http://openbook.galileocomputing.de/ruby_on_rails/ruby_on_rails_10_003.htm

    (1-5/5)