couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Chris Anderson <jch...@apache.org>
Subject Re: not a server admin
Date Sat, 11 Sep 2010 20:13:51 GMT

On Sep 11, 2010, at 12:50 PM, Kenneth Tyler wrote:

> chris,
> 
> _session gives me:
> 
> {"ok":true,"userCtx":{"name":"ken5","roles":["_admin"]},"info":{"authentication_db":"_users","authentication_handlers":["oauth","cookie","default"],"authenticated":"cookie"}}
> 
> 

you should be able to create a database then, as you have the _admin role.

does it help to clear your brower cache?

Chris

> 
> ken
> 
> On Sat, Sep 11, 2010 at 10:54 AM, J Chris Anderson <jchris@apache.org>wrote:
> 
>> 
>> On Sep 11, 2010, at 10:41 AM, Kenneth Tyler wrote:
>> 
>>> ;admin = mysecretpassword
>>> ken5 = -hashed-135a..........................
>>> 
>>> in order to fix admin party i edited local.ini as above
>>> i restarted couch (it hashed the password)
>>> 
>>> but when i log into futon with that account and try to create a database
>> it
>>> tells me
>>> "you are not a server admin"
>> 
>> is there any chance you have an existing user named ken5? maybe try a known
>> new name in the ini file, and see if that helps. if it does, then ken5 is
>> probably conflicting with a user in the user's db.
>> 
>> Another thing you can do, is after you are logged in, request /_session
>> from the couch, and report back what JSON you see.
>> 
>> Chris
>> 
>>> 
>>> ? is this a couch error, or the underlying ubuntu system complaining ?
>>> 
>>> thanks
>>> ken tyler
>> 
>> 


Mime
View raw message