Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [Solved] Update 4.0.9 ->4.1.* Need assistance (plugins/node.js)

[Solved] Update 4.0.9 ->4.1.* Need assistance (plugins/node.js)

Added by Bernd Müller almost 10 years ago

Hi there.

I could need some help here. I tries to update my openproject (I used https://www.openproject.org/open-source/manual-installation/latest-upgrade-guide/)

Now I got stuck here:

openproject@moserver:~/openproject$ bundle install
Updating https://github.com/opf/openproject-plugins.git
Updating https://github.com/finnlabs/openproject-meeting.git
fatal: ambiguous argument 'stable': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Git error: command `git rev-parse stable` in directory
/home/openproject/.rvm/gems/ruby-2.1.5/cache/bundler/git/openproject-meeting-d20381f837e160805983c70eb944d49c32e4976f
has failed.
If this error persists you could try removing the cache directory
'/home/openproject/.rvm/gems/ruby-2.1.5/cache/bundler/git/openproject-meeting-d20381f837e160805983c70eb944d49c32e4976f'

I guess that the plugins need some changes in order to be usable again. But I didn’t find anything useful. What to do?

Cheers!


Replies (6)

RE: Update 4.0.9 ->4.1.* Need assistance - Added by Jonas Heinrich (Finn) almost 10 years ago

Hi Bernd,

yes, you need some adaptions to your Gemfile.plugins. We dropped branch stable in favor of stable/4.0, stable/4.1 etc. So if you would like to stay on 4.0.X you should change stable to stable/4.0.

Did this help?

Best,

Jonas

RE: Update 4.0.9 ->4.1.* Need assistance - Added by Bernd Müller almost 10 years ago

Thanks for the switft reply:

So the plugins should look like this?

 gem "openproject-plugins",          :git => "https://github.com/opf/openproject-plugins.git", :branch => "stable/4.1"
 gem "openproject-meeting",         :git => "https://github.com/finnlabs/openproject-meeting.git", :branch =>  "stable/4.1"

Still I get the same error

openproject@moserver:~/openproject$ bundle install
Updating https://github.com/opf/openproject-plugins.git
fatal: ambiguous argument 'stable/4.1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Git error: command `git rev-parse stable/4.1` in directory /home/openproject/.rvm/gems/ruby-2.1.5/cache/bundler/git/openproject-plugins-1a3f7128a91620cddd55f19cb910ea4cebe01e41 has failed.
If this error persists you could try removing the cache directory '/home/openproject/.rvm/gems/ruby-2.1.5/cache/bundler/git/openproject-plugins-1a3f7128a91620cddd55f19cb910ea4cebe01e41'

RE: Update 4.0.9 ->4.1.* Need assistance - Added by Jonas Heinrich (Finn) almost 10 years ago

Hi Bernd,

could you please try the following for each plugin you installed?

cd /home/openproject/.rvm/gems/ruby-2.1.5/cache/bundler/git/openproject-plugins-1a3f7128a91620cddd55f19cb910ea4cebe01e41
git remote prune origin

By the way, it should not be necessary to require openproject-plugins anymore.

Best,

Jonas

RE: Update 4.0.9 ->4.1.* Need assistance - Added by Bernd Müller almost 10 years ago

Thx.
After disabling the plugins, I got " bundle install" running…
I had an other issue this time with node,js though I followed this how to. I got stuck with the “Node.js installation” (not sure what was the reason, somehow the java env wasn´t found), so I decided to use the *.deb that got here this finally worked.

Cheers

RE: [Solved] Update 4.0.9 ->4.1.* Need assistance (plugins/node.js) - Added by Jonas Heinrich (Finn) almost 10 years ago

Hi Bernd,

so you got everything running?

And just to clear it up again: When I said you do not need to require openproject-plugins I meant only this line. The line with meetings should still be activated if you want to have meetings anymore.

Best,

Jonas

RE: [Solved] Update 4.0.9 ->4.1.* Need assistance (plugins/node.js) - Added by Bernd Müller almost 10 years ago

Hi!

All is running fine again. I have enabled the plugins after updating OP.

Cheers

  • (1 - 6/6)
Loading...