Error while installing cookbook-plugin

1,574 views
Skip to first unread message

mani chandel

unread,
Mar 5, 2014, 3:58:13 AM3/5/14
to repo-d...@googlegroups.com
Hello,

I am trying to install cookbook-plugin to understand its functionality.
For that I followed below steps:

1- git clone https://gerrit.googlesource.com/plugins/cookbook-plugin
2- buck build plugins/<name>:<name>
3- I received jar file here buck-out/gen/plugins/<name>/<name>.jar
4- ssh -p 29418 <gerrit admin user>@localhost gerrit plugin install -n cookbook-plugin.jar <pwd>/cookbook-plugin.jar (I am executing it from inside the cookbook-plugin folder)

On executing step 4 I am getting below error.
fatal: remote installation is disabled

Please help.



David Ostrovsky

unread,
Mar 5, 2014, 5:55:23 AM3/5/14
to repo-d...@googlegroups.com

Am Mittwoch, 5. März 2014 09:58:13 UTC+1 schrieb mani chandel:
Hello,

I am trying to install cookbook-plugin to understand its functionality.
For that I followed below steps:

1- git clone https://gerrit.googlesource.com/plugins/cookbook-plugin
2- buck build plugins/<name>:<name>
3- I received jar file here buck-out/gen/plugins/<name>/<name>.jar
4- ssh -p 29418 <gerrit admin user>@localhost gerrit plugin install -n cookbook-plugin.jar <pwd>/cookbook-plugin.jar (I am executing it from inside the cookbook-plugin folder)


Since [1] remote plugin installation must be explicitly allowed.
Either add missing configuration option: "plugins.allowRemoteAdmin = true"
or copy cookbook-plugin.jar manually to $gerrit_site/plugins".

[1] https://gerrit-review.googlesource.com/54650

mani chandel

unread,
Mar 5, 2014, 6:22:54 AM3/5/14
to repo-d...@googlegroups.com
Thanks David!
I am able to install it after enabling mentioned configuration option.
Reply all
Reply to author
Forward
0 new messages