ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

update from 3.1.0 to 3.2.2

Added by thomas hollensteiner at 2012-06-22 04:17 pm

hello,

i did some updates so far and all went fine but i can't update to 3.2.2 - the first step fails with:

holli@xx:/var/www/chiliproject$ sudo bundle install
`rbx` is not a valid platform. The available options are: [:mri_19, :jruby, :ruby_18, :ruby, :mswin, :ruby_19, :mingw, :mri, :mingw_18, :mri_18, :mingw_19]
holli@xx:/var/www/chiliproject$ 

this are my steps:

  • make backup
    root@xx:/var/www/cp -r chiliproject chiliproject.3.1.0
    
  • generate list
    root@xx:/var/www/chiliproject# git fetch origin
    remote: Counting objects: 522, done.
    remote: Compressing objects: 100% (166/166), done.
    remote: Total 366 (delta 264), reused 293 (delta 198)
    Receiving objects: 100% (366/366), 79.25 KiB, done.
    Resolving deltas: 100% (264/264), completed with 69 local objects.
    From git://github.com/chiliproject/chiliproject
       8f06b77..2f21522  master     -> origin/master
     * [new branch]      release-v3.2.2 -> origin/release-v3.2.2
       d61ad01..59e2a2f  stable     -> origin/stable
       9d32e68..bd509a4  stable-2.x -> origin/stable-2.x
       f681ed8..65e1ac0  unstable   -> origin/unstable
     * [new tag]         v2.7.3     -> v2.7.3
     * [new tag]         v3.2.2     -> v3.2.2
    From git://github.com/chiliproject/chiliproject
     * [new tag]         v2.7.2     -> v2.7.2
     * [new tag]         v3.2.0     -> v3.2.0
     * [new tag]         v3.2.1     -> v3.2.1
    root@holli-nas-1:/var/www/chiliproject# git checkout v3.2.2
    M       files/delete.me
    M       log/delete.me
    M       tmp/test/empty
    Previous HEAD position was d61ad01... Merge branch 'release-v3.1.0' into stable
    HEAD is now at 59e2a2f... Merge branch 'release-v3.2.2' into stable
    
  • take latest from list:
    root@xx:/var/www/chiliproject# git checkout v3.2.2
    
  • run commands
    sudo bundle install
    sudo rake generate_session_store
    sudo rake db:migrate RAILS_ENV=production
    sudo rake db:migrate:plugins RAILS_ENV=production
    sudo rake tmp:cache:clear
    sudo rake tmp:sessions:clear
    sudo /etc/init.d/apache2 restart
    

but the first step fails with the error above - this is on ubuntu 10.04 x64 with a mysql db

any help would be great
thanks
holli


Replies (4)

RE: update from 3.1.0 to 3.2.2 - Added by Felix Schäfer at 2012-06-22 04:21 pm

I guess your bundler version is too old, what's the output of bundle --version on your server?

RE: update from 3.1.0 to 3.2.2 - Added by thomas hollensteiner at 2012-06-22 11:23 pm

i get:

Bundler version 1.0.10

thanks
holli

RE: update from 3.1.0 to 3.2.2 - Added by thomas hollensteiner at 2012-06-22 11:50 pm

hello,

i did update the bundler and have now

Bundler version 1.1.4

the first step worked now but failing is now:

holli@xx:/var/www/chiliproject$ sudo rake db:migrate RAILS_ENV=production
rake aborted!
no such file to load -- gravatar

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

thanks
holli

RE: update from 3.1.0 to 3.2.2 - Added by Felix Schäfer at 2012-06-23 07:01 pm

You seem to have a plugin requiring removed code, what plugins do you have installed?

(1-4/4)