You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Luca Morandini <lm...@ieee.org> on 2014/03/23 07:55:05 UTC

No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

As per object (but in cURL):
curl 'http://localhost:5984/_plugins' -H 'Origin: http://localhost:5984' -H 
'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: 
en-GB,en-US;q=0.8,en;q=0.6,it;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11; Linux 
x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 
Chrome/32.0.1700.107 Safari/537.36' -H 'Content-Type: application/json' -H 
'Accept: application/json' -H 'Referer: http://localhost:5984/_utils/plugins.html' 
-H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --data-binary 
'{"name":"geocouch","url":"http://people.apache.org/~jan","version":"couchdb1.2.x_v0.3.0-16-g66e6219","checksums":{"1.4.0": 
{"R15B03":"D5QPhrJTAifM42DXqAj4RxzfEtI="}},"delete":false}' --compressed

Returns:
{"error":"badmatch","reason":"{error,no_couchdb_checksum}"}

Any clues ?

Regards,

Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini


Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Benoit Chesneau <bc...@gmail.com>.
On Sun, Mar 23, 2014 at 3:02 PM, Alexander Shorin <kx...@gmail.com> wrote:
> Merge rcouch for The Great Justice! (:

it's done since 5 weeks now:

https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=shortlog;h=refs/heads/1994-merge-rcouch

- benoit.

Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Alexander Shorin <kx...@gmail.com>.
Merge rcouch for The Great Justice! (:
--
,,,^..^,,,


On Sun, Mar 23, 2014 at 5:56 PM, Benoit Chesneau <bc...@gmail.com> wrote:
> On Sun, Mar 23, 2014 at 2:23 PM, Andy Wenk <an...@nms.de> wrote:
>> just cam to my mind. Watch the cool video "Making CouchDB Plugins - Jason
>> Smith, Nodejitsu" from Jason at http://conf.couchdb.org/#videos :)
>>
>
>
> Not sure if it's related to my previous answer but while I see some
> usage to plugin as something you add dynamically we are still missing
> all the experience accumulated in OTP release [1]. Adding an app to
> the code path and removing is one thing but imo we really need to find
> a way to mix the features we have in OTP releases with the need of
> doing it dynamically. In particularly
>
> - beeing able to gracefully upgrade an app
> - make sure all the processes are killed
>
> I probably miss some other things.For now if i need to extend couchdb
> it's quite easy to add a new app to the erlang couchdb release
> (rcouch) and upgrade the current running node without shutting down
> all the services. Adding geocouch to a new node was just a matter of
> 30mn.
>
> Anyway the current pluging code is really a good start and I already
> using it to add temporarely some applications to couchdb, mainly for
> debug purpose. I already started some work around it t to add the
> missing features we need, hopefully i will be able soon to push a new
> branch :)
>
>
> - benoit
>
>
> [1] http://learnyousomeerlang.com/release-is-the-word

Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Benoit Chesneau <bc...@gmail.com>.
On Sun, Mar 23, 2014 at 2:23 PM, Andy Wenk <an...@nms.de> wrote:
> just cam to my mind. Watch the cool video "Making CouchDB Plugins - Jason
> Smith, Nodejitsu" from Jason at http://conf.couchdb.org/#videos :)
>


Not sure if it's related to my previous answer but while I see some
usage to plugin as something you add dynamically we are still missing
all the experience accumulated in OTP release [1]. Adding an app to
the code path and removing is one thing but imo we really need to find
a way to mix the features we have in OTP releases with the need of
doing it dynamically. In particularly

- beeing able to gracefully upgrade an app
- make sure all the processes are killed

I probably miss some other things.For now if i need to extend couchdb
it's quite easy to add a new app to the erlang couchdb release
(rcouch) and upgrade the current running node without shutting down
all the services. Adding geocouch to a new node was just a matter of
30mn.

Anyway the current pluging code is really a good start and I already
using it to add temporarely some applications to couchdb, mainly for
debug purpose. I already started some work around it t to add the
missing features we need, hopefully i will be able soon to push a new
branch :)


- benoit


[1] http://learnyousomeerlang.com/release-is-the-word

Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Andy Wenk <an...@nms.de>.
just cam to my mind. Watch the cool video "Making CouchDB Plugins - Jason
Smith, Nodejitsu" from Jason at http://conf.couchdb.org/#videos :)


On 23 March 2014 14:21, Benoit Chesneau <bc...@gmail.com> wrote:

> On Sun, Mar 23, 2014 at 7:55 AM, Luca Morandini <lm...@ieee.org>
> wrote:
> > As per object (but in cURL):
> > curl 'http://localhost:5984/_plugins' -H 'Origin: http://localhost:5984'
> -H
> > 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language:
> > en-GB,en-US;q=0.8,en;q=0.6,it;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11;
> Linux
> > x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu
> Chromium/32.0.1700.107
> > Chrome/32.0.1700.107 Safari/537.36' -H 'Content-Type: application/json'
> -H
> > 'Accept: application/json' -H 'Referer:
> > http://localhost:5984/_utils/plugins.html' -H 'X-Requested-With:
> > XMLHttpRequest' -H 'Connection: keep-alive' --data-binary
> > '{"name":"geocouch","url":"http://people.apache.org/~jan
> ","version":"couchdb1.2.x_v0.3.0-16-g66e6219","checksums":{"1.4.0":
> > {"R15B03":"D5QPhrJTAifM42DXqAj4RxzfEtI="}},"delete":false}' --compressed
> >
> > Returns:
> > {"error":"badmatch","reason":"{error,no_couchdb_checksum}"}
> >
> > Any clues ?
> >
>
> Just to let you know but rcouch includes geocouch as an erlang application:
>
> https://github.com/refuge/rcouch
>
> All tests pass.
>
> - benoit
>



-- 
Andy Wenk
Hamburg - Germany
RockIt!

http://www.couchdb-buch.de
http://www.pg-praxisbuch.de

GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588

https://people.apache.org/keys/committer/andywenk.asc

Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Luca Morandini <lm...@ieee.org>.
On 24/03/14 00:21, Benoit Chesneau wrote:
>
> Just to let you know but rcouch includes geocouch as an erlang application:

I know, thanks. Actually, I had hopes for the plug-in system to work... well, 
maybe next release.

Regards,

Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini


Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Benoit Chesneau <bc...@gmail.com>.
On Sun, Mar 23, 2014 at 7:55 AM, Luca Morandini <lm...@ieee.org> wrote:
> As per object (but in cURL):
> curl 'http://localhost:5984/_plugins' -H 'Origin: http://localhost:5984' -H
> 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language:
> en-GB,en-US;q=0.8,en;q=0.6,it;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11; Linux
> x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107
> Chrome/32.0.1700.107 Safari/537.36' -H 'Content-Type: application/json' -H
> 'Accept: application/json' -H 'Referer:
> http://localhost:5984/_utils/plugins.html' -H 'X-Requested-With:
> XMLHttpRequest' -H 'Connection: keep-alive' --data-binary
> '{"name":"geocouch","url":"http://people.apache.org/~jan","version":"couchdb1.2.x_v0.3.0-16-g66e6219","checksums":{"1.4.0":
> {"R15B03":"D5QPhrJTAifM42DXqAj4RxzfEtI="}},"delete":false}' --compressed
>
> Returns:
> {"error":"badmatch","reason":"{error,no_couchdb_checksum}"}
>
> Any clues ?
>

Just to let you know but rcouch includes geocouch as an erlang application:

https://github.com/refuge/rcouch

All tests pass.

- benoit

Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Alexander Shorin <kx...@gmail.com>.
Hi Luca,

Plugins feature is experimental, far for been worked out of the box
and needs in very improvement. It state of 1.5 release it's mostly
proof-of-concept.
--
,,,^..^,,,


On Sun, Mar 23, 2014 at 10:55 AM, Luca Morandini <lm...@ieee.org> wrote:
> As per object (but in cURL):
> curl 'http://localhost:5984/_plugins' -H 'Origin: http://localhost:5984' -H
> 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language:
> en-GB,en-US;q=0.8,en;q=0.6,it;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11; Linux
> x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107
> Chrome/32.0.1700.107 Safari/537.36' -H 'Content-Type: application/json' -H
> 'Accept: application/json' -H 'Referer:
> http://localhost:5984/_utils/plugins.html' -H 'X-Requested-With:
> XMLHttpRequest' -H 'Connection: keep-alive' --data-binary
> '{"name":"geocouch","url":"http://people.apache.org/~jan","version":"couchdb1.2.x_v0.3.0-16-g66e6219","checksums":{"1.4.0":
> {"R15B03":"D5QPhrJTAifM42DXqAj4RxzfEtI="}},"delete":false}' --compressed
>
> Returns:
> {"error":"badmatch","reason":"{error,no_couchdb_checksum}"}
>
> Any clues ?
>
> Regards,
>
> Luca Morandini
> Data Architect - AURIN project
> Melbourne eResearch Group
> Department of Computing and Information Systems
> University of Melbourne
> Tel. +61 03 903 58 380
> Skype: lmorandini
>

Re: No joy installing GeoCouch from the plugins page on CouchDB 1.5.0

Posted by Andy Wenk <an...@nms.de>.
iirc you have to use CouchDB 1.5 ...


On 23 March 2014 07:55, Luca Morandini <lm...@ieee.org> wrote:

> As per object (but in cURL):
> curl 'http://localhost:5984/_plugins' -H 'Origin: http://localhost:5984'
> -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language:
> en-GB,en-US;q=0.8,en;q=0.6,it;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11;
> Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu
> Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36' -H
> 'Content-Type: application/json' -H 'Accept: application/json' -H 'Referer:
> http://localhost:5984/_utils/plugins.html' -H 'X-Requested-With:
> XMLHttpRequest' -H 'Connection: keep-alive' --data-binary
> '{"name":"geocouch","url":"http://people.apache.org/~jan","
> version":"couchdb1.2.x_v0.3.0-16-g66e6219","checksums":{"1.4.0":
> {"R15B03":"D5QPhrJTAifM42DXqAj4RxzfEtI="}},"delete":false}' --compressed
>
> Returns:
> {"error":"badmatch","reason":"{error,no_couchdb_checksum}"}
>
> Any clues ?
>
> Regards,
>
> Luca Morandini
> Data Architect - AURIN project
> Melbourne eResearch Group
> Department of Computing and Information Systems
> University of Melbourne
> Tel. +61 03 903 58 380
> Skype: lmorandini
>
>


-- 
Andy Wenk
Hamburg - Germany
RockIt!

http://www.couchdb-buch.de
http://www.pg-praxisbuch.de

GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588

https://people.apache.org/keys/committer/andywenk.asc