Problems with redmine_checkout
Added by Mirko Stanisak over 10 years ago
Hi all,
I'm currently upgrading our Redmine installation to Redmine 2.4.2-stable (Ubuntu 13.04 LTS), using Ruby 1.9.3 and Rails 3.2.16. Everything is working as expected, except for the redmine_checkout plugin. We need this plugin to display the checkout URL of the repositories. I tested various variants found on github (especially the copy of redmine_checkout by Loispuig, https://github.com/loispuig/redmine_checkout). Using this repository, the "rake redmine:plugins:migrate RAILS_ENV=production" step does not indicate any error. But when I try to access Redmine, i get this error:
Web application could not be started uninitialized constant RedmineApp::Application::YAML (NameError) /usr/share/redmine/config/application.rb:77:in `<class:Application>' /usr/share/redmine/config/application.rb:25:in `<module:RedmineApp>' /usr/share/redmine/config/application.rb:24:in `<top (required)>' /usr/share/redmine/config/environment.rb:2:in `require' /usr/share/redmine/config/environment.rb:2:in `<top (required)>' config.ru:3:in `require' config.ru:3:in `block in <main>' /var/lib/gems/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' /var/lib/gems/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' config.ru:1:in `new' config.ru:1:in `<main>' /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval' /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>' /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'
Unfortunately, I am not very familar with Ruby / Rails etc., so I would be very gratefull for any hints or tips in order to get this plugin working!
Thank you very much for any feedback.
Replies (7)
RE: Problems with redmine_checkout - Added by Martin Denizet (redmine.org team member) over 10 years ago
Hi Mirko,
You could try to run a bundle install
.
The plugin that works for me is this one.
Good luck!
RE: Problems with redmine_checkout - Added by Mirko Stanisak over 10 years ago
Hi Martin,
Thank you very much for your suggestions - no success though :-( I already did the
bundle installstep for the (various) versions of the plugin, as well as the
gem install redmine_plugin_supportEven with rkallensee's version I am not able to start my redmine installation. Which versions do you use?
Best regards,
Mirko
RE: Problems with redmine_checkout - Added by Pavel Potcheptsov over 10 years ago
This displays repository URL in repository tab instead of word root.
Index: app/views/repositories/_breadcrumbs.html.erb =================================================================== --- app/views/repositories/_breadcrumbs.html.erb (revision 12309) +++ app/views/repositories/_breadcrumbs.html.erb (working copy) @@ -1,4 +1,4 @@ -<%= link_to(@repository.identifier.present? ? h(@repository.identifier) : 'root', +<%= link_to(@repository.identifier.present? ? h(@repository.identifier) : h(@repository.url), :action => 'show', :id => @project, :repository_id => @repository.identifier_param, :path => nil, :rev => @rev) %>
RE: Problems with redmine_checkout - Added by Martin Denizet (redmine.org team member) over 10 years ago
Mirko Stanisak wrote:
Hi Martin,
Thank you very much for your suggestions - no success though :-( I already did the [...] step for the (various) versions of the plugin, as well as the [...] Even with rkallensee's version I am not able to start my redmine installation. Which versions do you use?
Best regards,
Mirko
I use the latest from the master branch.
Are you sure your instance works without the plugin?
Are you sure of the integrity of your instance?
Cheers,
RE: Problems with redmine_checkout - Added by Mirko Stanisak over 10 years ago
Martin Denizet wrote:
I use the latest from the master branch.
Are you sure your instance works without the plugin?
Are you sure of the integrity of your instance?Cheers,
Hi Martin,
Mhh, that's strange. My redmine installation works flawlessly as long as I do not include the redmine_checkout plugin. As soon as I include any of the redmine_checkout versions (by git-cloning from github) and after running
rake redmine:plugins:migrate RAILS_ENV=productionI always get the same error as described above... :(
What do you mean by the integrity of the instance? Do you mean the redmine installation itself? This is the standard package shipped with Ubuntu 14.04 LTS.
Best regards,
Mirko
RE: Problems with redmine_checkout - Added by Martin Denizet (redmine.org team member) over 10 years ago
Mirko, your problem really puzzles me, I've no idea what to advise you.
That said, I had a bad experience with the Debian/Ubuntu package. It was very easy to get started but I had problems afterwards (It was back in 1.2.x, I don't know if the problems I had still exist).
Since then I moved to using RVM and Redmine from SVN and I'm really happy with it.
I don't know if it worth for you to try to reinstall just to get this plugin working.
Cheers,
RE: Problems with redmine_checkout - Added by Mirko Stanisak over 10 years ago
Martin,
Never mind - I also suspect that the package might be the cause for this problem. Thank you very much for your help though, it's highly appreciated! I think I will further investigate this issue, but if this fails, I will switch to the SVN version of Redmine eventually...
Thank you very much and best regards,
Mirko