openproject@phasonwebserver:~/openproject$ bundle install
Fetching git@github.com:opf/openproject-plugins.git
The authenticity of host 'github.com (192.30.252.131)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Retrying git clone 'git@github.com:opf/openproject-plugins.git' "/home/svr1/.rvm/gems/ruby-1.9.3-p545/cache/bundler/git/openproject-plugins-9f82bae8bd9a675bfb5aea1f9575ac0592d393a2" --bare --no-hardlinks due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git@github.com:opf/openproject-plugins.git' "/home/svr1/.rvm/gems/ruby-1.9.3-p545/cache/bundler/git/openproject-plugins-9f82bae8bd9a675bfb5aea1f9575ac0592d393a2" --bare --no-hardlinks` in directory /home/openproject/openproject has failed.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Retrying git clone 'git@github.com:opf/openproject-plugins.git' "/home/svr1/.rvm/gems/ruby-1.9.3-p545/cache/bundler/git/openproject-plugins-9f82bae8bd9a675bfb5aea1f9575ac0592d393a2" --bare --no-hardlinks due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git@github.com:opf/openproject-plugins.git' "/home/svr1/.rvm/gems/ruby-1.9.3-p545/cache/bundler/git/openproject-plugins-9f82bae8bd9a675bfb5aea1f9575ac0592d393a2" --bare --no-hardlinks` in directory /home/openproject/openproject has failed.
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Git error: command `git clone 'git@github.com:opf/openproject-plugins.git'
"/home/svr1/.rvm/gems/ruby-1.9.3-p545/cache/bundler/git/openproject-plugins-9f82bae8bd9a675bfb5aea1f9575ac0592d393a2" --bare --no-hardlinks`
in directory /home/openproject/openproject has failed.
openproject@phasonwebserver:~/openproject$
yes, they are still the “dev”-branches for production. We will have to release them properly but the time…
As for the errors on bundle install, that’s my fault. You need to use the https protocol to access them. Please change the entries in your Gemfile.plugins to:
I made the change you mentioned. The bundle install and RAILS_ENV=production rake db:migrate worked without error, but rake db:assets:precompile produced the following.
svr1@phasonwebserver:/home/openproject/openproject$ rake db:assets:precompile
require 'rails/all'... 0.660s
Bundler.require... 5.840s
rake aborted!
Don't know how to build task 'db:assets:precompile'
/home/svr1/.rvm/gems/ruby-1.9.3-p545/bin/ruby_executable_hooks:15:in `eval'
/home/svr1/.rvm/gems/ruby-1.9.3-p545/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)
svr1@phasonwebserver:/home/openproject/openproject$
I have also attached the “Web application could not be started” message I received, in case it provides additional information. One of the first things that states is Could not find rake-10.1.1 in any of the sources (Bundler::GemNotFound). However, it is installed.
svr1@phasonwebserver:/home/openproject/openproject$ which rake
/home/svr1/.rvm/gems/ruby-1.9.3-p545/bin/rake
svr1@phasonwebserver:/home/openproject/openproject$ rake --version
rake, version 10.1.1
svr1@phasonwebserver:/home/openproject/openproject$
The issue with the web server not being able to start is probably not related. The Gemfile.lock of the OP 3.0 stable states rake 10.1.0 not 10.1.1 as the rake it requires. While rake 10.1.1 should run OK as well, bundler will prevent it from being used for the application. So you need to install rake 10.1.0 as well.
On the other hand, I just noticed that you are using ruby 1.9.3 which is not officially supported by OpenProject (could work of course but we don’t know). It will definitely be a lot faster. Is it possible for you to update to 2.1.0? As you would then have to reinstall rake anyway, you would solve a lot of issues at once.
I found this thread very useful as I was missing the Costing module. I have followed this and now I can see “Cost Control” appeaing under the list of modules in the project settings. However, eventhough I have ticked it and saved it a couple of times, I still do not see it appearing on the left menu panel for the project. I have given my user (developer, manager and reporter) rights as well as “administrator” right.
I seem to be spamming the forums with all of my issues, being an OP newbie, but this problem also is now solved. It seems as soon as I fixed the email issue, a lot of my other problems have disappeared.
I have installed the Meeting plugin, but I found I can only see the members who is administrator in the participant list, even though they are the member of the project. Is there any settings I need to complete first?
I’ve been looking for a list of all the plugins like this. Thanks for posting it. I’m not sure if this is the right place for suggestions but it might be useful to include this in the installation instructions so other people can find it quickly.
Replies (13)
Hi Chris,
yes, they (Meetings, Costs and Backlogs) are compatible with 3.0 stable. We are using them here on OP.org.
You need to add the wanted plugins to your Gemfile.plugins (in OpenProject directory) file. Add:
Then run:
And at last, restart your application server.
But before you do all this, please backup your database to avoid unwanted losses in case anything goes wrong.
Best
Jens
Thank you.
For a production version, is the
branch => "dev"
still the same?Regards,
Chris
These are all the uncommented lines in my
Gemfile.plugins
.gem "openproject-plugins", :git => "git
github.com:opf/openproject-plugins.git“, :branch => ”dev"gem “openproject-meeting”, :git => “git@github.com:finnlabs/openproject-meeting.git”, :branch => “dev”
gem “openproject-costs”, :git => “git@github.com:finnlabs/openproject-costs.git”, :branch => “dev”
gem “openproject-pdf_export”, :git => “git@github.com:finnlabs/openproject-pdf_export”, :branch => “dev”
gem “openproject-backlogs”, :git => “git@github.com:finnlabs/openproject_backlogs”, :branch => “dev”
@
When I run
bundle install
, this is what I get:Hi Chris,
yes, they are still the “dev”-branches for production. We will have to release them properly but the time…
As for the errors on bundle install, that’s my fault. You need to use the https protocol to access them. Please change the entries in your Gemfile.plugins to:
Best
Jens
Thank-you Jens.
I made the change you mentioned. The
bundle install
andRAILS_ENV=production rake db:migrate
worked without error, butrake db:assets:precompile
produced the following.With the
--trace
:Regards,
Chris
I have also attached the “Web application could not be started” message I received, in case it provides additional information. One of the first things that states is
Could not find rake-10.1.1 in any of the sources (Bundler::GemNotFound)
. However, it is installed.Regards,
Chris
Hey Chris,
sorry for the confusion. It’s
(without the db)
The issue with the web server not being able to start is probably not related. The Gemfile.lock of the OP 3.0 stable states rake 10.1.0 not 10.1.1 as the rake it requires. While rake 10.1.1 should run OK as well, bundler will prevent it from being used for the application. So you need to install rake 10.1.0 as well.
On the other hand, I just noticed that you are using ruby 1.9.3 which is not officially supported by OpenProject (could work of course but we don’t know). It will definitely be a lot faster. Is it possible for you to update to 2.1.0? As you would then have to reinstall rake anyway, you would solve a lot of issues at once.
Best
Jens
There were a few other things going on in the background, but I seem to have all working right now. Thanks for your help.
Regards,
Chris
Hello everyone
I found this thread very useful as I was missing the Costing module. I have followed this and now I can see “Cost Control” appeaing under the list of modules in the project settings. However, eventhough I have ticked it and saved it a couple of times, I still do not see it appearing on the left menu panel for the project. I have given my user (developer, manager and reporter) rights as well as “administrator” right.
Any idea what is wrong?
Best wishes
Nima
Hello again
I seem to be spamming the forums with all of my issues, being an OP newbie, but this problem also is now solved. It seems as soon as I fixed the email issue, a lot of my other problems have disappeared.
Have a good weekend everyone
Best Wishes
Nima
I have installed the Meeting plugin, but I found I can only see the members who is administrator in the participant list, even though they are the member of the project. Is there any settings I need to complete first?
Hello Risheng,
see forum thread New meeting only for managers? for details.
Kind regards,
Hagen
I’ve been looking for a list of all the plugins like this. Thanks for posting it. I’m not sure if this is the right place for suggestions but it might be useful to include this in the installation instructions so other people can find it quickly.
Thanks,
Thomas