You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Kenneth Tyler <ke...@8thfold.com> on 2010/09/11 19:41:49 UTC
not a server admin
;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 this a couch error, or the underlying ubuntu system complaining ?
thanks
ken tyler
Re: not a server admin
Posted by J Chris Anderson <jc...@apache.org>.
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 <jc...@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
>>
>>
Re: not a server admin
Posted by Kenneth Tyler <ke...@8thfold.com>.
chris,
_session gives me:
{"ok":true,"userCtx":{"name":"ken5","roles":["_admin"]},"info":{"authentication_db":"_users","authentication_handlers":["oauth","cookie","default"],"authenticated":"cookie"}}
ken
On Sat, Sep 11, 2010 at 10:54 AM, J Chris Anderson <jc...@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
>
>
Re: not a server admin
Posted by J Chris Anderson <jc...@apache.org>.
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