couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Felix Girard <jeanfel...@icloud.com>
Subject Re: 1843 Error with --admin option
Date Fri, 06 Jun 2014 19:48:44 GMT
Confirmed, --admin works now.  
--
J



On Jun 6, 2014, at 3:39 PM, Robert Samuel Newson <rnewson@apache.org> wrote:

> dev/run —admin is now fixed, please update.
> 
> _db_updates has not yet been ported.
> 
> This is awesome, keep going! :)
> 
> B.
> 
> On 6 Jun 2014, at 20:31, Jean-Felix Girard <jeanfelixg@icloud.com> wrote:
> 
>> Thanks, it works. 
>> 
>> But now, my server can't connect to '_db_updates' api...
>> 
>> 
>> curl localhost:15984/_db_updates
>> {"error":"not_found","reason":"Database does not exist."}
>> 
>> 
>> Is '_db_updates'  API ready ?  
>> --
>> J
>> 
>> 
>> 
>> On Jun 6, 2014, at 2:52 PM, Robert Samuel Newson <rnewson@apache.org> wrote:
>> 
>>> Hi,
>>> 
>>> Ah, I don’t use —admin myself so I readily believe you when you say its broken.
For now, do curl localhost:15986/_config/admins/username -XPUT -d '"password"'.
>>> 
>>> B.
>>> 
>>> On 6 Jun 2014, at 19:30, Jean-Felix Girard <jeanfelixg@icloud.com> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I couldn't wait more to test the BigCouch merge. I checkout and install 1843-feature-bigcouch
branch on OSX 10.9.  
>>>> I can start in dev mode with no option without issue. All 3 nodes are OK.
>>>> But providing an admin user with --admin=jeff:mypassword or -a jeff:mypassword
 fails.
>>>> 
>>>> log/error.log:
>>>> 
>>>> dev:$ cat log/error.log
>>>> 2014-06-06 14:25:09.758 [error] <0.132.0> CRASH REPORT Process <0.132.0>
with 0 neighbours exited with reason: no function clause matching couch_passwords:hash_admin_password("mypassword")
line 30 in gen_server:init_it/6 line 328
>>>> 2014-06-06 14:25:09.758 [error] <0.132.0> CRASH REPORT Process <0.132.0>
with 0 neighbours exited with reason: no function clause matching couch_passwords:hash_admin_password("mypassword")
line 30 in gen_server:init_it/6 line 328
>>>> 2014-06-06 14:25:09.758 [error] <0.132.0> CRASH REPORT Process <0.132.0>
with 0 neighbours exited with reason: no function clause matching couch_passwords:hash_admin_password("mypassword")
line 30 in gen_server:init_it/6 line 328
>>>> 2014-06-06 14:25:09.758 [error] <0.129.0> Supervisor couch_primary_services
had child couch_server started with couch_server:sup_start_link() at undefined exit with reason
no function clause matching couch_passwords:hash_admin_password("mypassword") line 30 in context
start_error
>>>> 
>>>> To install, i did:
>>>> 
>>>> brew install rebar
>>>> 
>>>> ./configure
>>>> 
>>>> make
>>>> 
>>>> Anything missing ?
>>>> 
>>>> thanks!
>>>> --
>>>> J
>>>> 
>>>> 
>>>> 
>>> 
>> 
> 


Mime
View raw message