Open link in a new tab

Content

Expand project menu

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

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!

Message actions

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

Message actions

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'
Message actions

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

Message actions

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

Message actions

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

Message actions

Hi!

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

Cheers