>>
> >> I'm trying to restore a database backup but having a problem.
> >>
> >> The command I use is:
> >> "couchdb-load -u serveradminusername -p serveradminpassword
> >> --input=backup20110530.bin http://127.0.0.1:5984/databasename&qu
4 September 2011 17:03, Hendrik Jan van Meerveld wrote:
>
>> Hello,
>>
>> I'm trying to restore a database backup but having a problem.
>>
>> The command I use is:
>> "couchdb-load -u serveradminusername -p serveradminpassword
>> --input=backup2011
t having a problem.
>
> The command I use is:
> "couchdb-load -u serveradminusername -p serveradminpassword
> --input=backup20110530.bin http://127.0.0.1:5984/databasename";
> Which gives me the error:
> "couchdb.client.ServerError: (401, ('unauthorized', '
(401, ('unauthorized', 'You are not a server
admin.'))"
But I am sure the username and password are correct, because I was able to
create the database using Futon with this username and password.
Kind regards and thanks for any advise,
Hendrik Jan
> On Sat, Sep 11, 2010 at 10:54 AM, J Chris Anderson wrote:
>
>>
>> On Sep 11, 2010, at 10:41 AM, Kenneth Tyler wrote:
>>
>>> ;admin = mysecretpassword
>>> ken5 = -hashed-135a..
>>>
>>> in order to fix admin party i ed
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 an
at 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'
;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"