Manual Install of Plugins


(Aradon) #1

Hello,

I'm trying to manually install the river-couchdb plugin. For
whatever reason I can wget the zip file but I cannot get it to
download by doing the 'plugin -install river-couchdb' command.

As such I went ahead and did a wget on the zip file that is shown
when doing the install command, unzip it using the unzip command and
then moved the .jar into the plugins folder.

Is this the correct procedure? I believe it's not working because I
get the following in my log file:

"[2011-09-13 09:25:06,411][INFO ][plugins ] [Banshee]
loaded [], sites []"

To note, I have started and stopped the elasticsearch service and have
attemped to delete and recreate several times.

Fun time command dump:

curl -XDELETE 'http://localhost:9200/_all'
rcelasticsearch stop
rcelasticsearch start

curl -X PUT 'http://localhost:9200/_river/my_idx/_meta' -d '{ "type" :
"couchdb", "couchdb" : { "host" : "localhost", "port" : 5984, "db" :
"my_db", "filter" : null }}'

This is all on ubuntu, using Java(TM) SE Runtime Environment (build
1.6.0_06-b02)

-Aradon


(Shay Banon) #2

You need to have a directory under plugins which represent the plugin
installed, and within it, the relevant code libs. So, create a couchdb
directory under plugins (for example) and put the jar file within it.

On Tue, Sep 13, 2011 at 5:13 PM, Aradon aradon@gmail.com wrote:

Hello,

I'm trying to manually install the river-couchdb plugin. For
whatever reason I can wget the zip file but I cannot get it to
download by doing the 'plugin -install river-couchdb' command.

As such I went ahead and did a wget on the zip file that is shown
when doing the install command, unzip it using the unzip command and
then moved the .jar into the plugins folder.

Is this the correct procedure? I believe it's not working because I
get the following in my log file:

"[2011-09-13 09:25:06,411][INFO ][plugins ] [Banshee]
loaded [], sites []"

To note, I have started and stopped the elasticsearch service and have
attemped to delete and recreate several times.

Fun time command dump:

curl -XDELETE 'http://localhost:9200/_all'
rcelasticsearch stop
rcelasticsearch start

curl -X PUT 'http://localhost:9200/_river/my_idx/_meta' -d '{ "type" :
"couchdb", "couchdb" : { "host" : "localhost", "port" : 5984, "db" :
"my_db", "filter" : null }}'

This is all on ubuntu, using Java(TM) SE Runtime Environment (build
1.6.0_06-b02)

-Aradon


(David Pilato) #3

I think that the zip file contents has to be unzipped in the plugins/pluginname dir and not directly under plugins.

HTH
David :wink:

Le 13 sept. 2011 à 16:13, Aradon aradon@gmail.com a écrit :

Hello,

I'm trying to manually install the river-couchdb plugin. For
whatever reason I can wget the zip file but I cannot get it to
download by doing the 'plugin -install river-couchdb' command.

As such I went ahead and did a wget on the zip file that is shown
when doing the install command, unzip it using the unzip command and
then moved the .jar into the plugins folder.

Is this the correct procedure? I believe it's not working because I
get the following in my log file:

"[2011-09-13 09:25:06,411][INFO ][plugins ] [Banshee]
loaded [], sites []"

To note, I have started and stopped the elasticsearch service and have
attemped to delete and recreate several times.

Fun time command dump:

curl -XDELETE 'http://localhost:9200/_all'
rcelasticsearch stop
rcelasticsearch start

curl -X PUT 'http://localhost:9200/_river/my_idx/_meta' -d '{ "type" :
"couchdb", "couchdb" : { "host" : "localhost", "port" : 5984, "db" :
"my_db", "filter" : null }}'

This is all on ubuntu, using Java(TM) SE Runtime Environment (build
1.6.0_06-b02)

-Aradon


(Aradon) #4

That seems to have done it, Thanks!

On Sep 13, 10:17 am, Shay Banon kim...@gmail.com wrote:

You need to have a directory under plugins which represent the plugin
installed, and within it, the relevant code libs. So, create a couchdb
directory under plugins (for example) and put the jar file within it.

On Tue, Sep 13, 2011 at 5:13 PM, Aradon ara...@gmail.com wrote:

Hello,

I'm trying to manually install the river-couchdb plugin. For
whatever reason I can wget the zip file but I cannot get it to
download by doing the 'plugin -install river-couchdb' command.

As such I went ahead and did a wget on the zip file that is shown
when doing the install command, unzip it using the unzip command and
then moved the .jar into the plugins folder.

Is this the correct procedure? I believe it's not working because I
get the following in my log file:

"[2011-09-13 09:25:06,411][INFO ][plugins ] [Banshee]
loaded [], sites []"

To note, I have started and stopped the elasticsearch service and have
attemped to delete and recreate several times.

Fun time command dump:

curl -XDELETE 'http://localhost:9200/_all'
rcelasticsearch stop
rcelasticsearch start

curl -X PUT 'http://localhost:9200/_river/my_idx/_meta'-d '{ "type" :
"couchdb", "couchdb" : { "host" : "localhost", "port" : 5984, "db" :
"my_db", "filter" : null }}'

This is all on ubuntu, using Java(TM) SE Runtime Environment (build
1.6.0_06-b02)

-Aradon


(system) #5