birdreader icon indicating copy to clipboard operation
birdreader copied to clipboard

server_admin error

Open BigBlueHat opened this issue 9 years ago • 2 comments

I've done npm i and tweaked just the cloudant bits in config.json as well as setup an API key/secret with _admin privs on both the articles and feeds databases.

But I get this when running:

$ node birdreader.js
   info  - socket.io started
Checking feeds database
Listening on port 3000
Database error - server_admin access is required for this request

I've double checked the _security objects and confirmed that the API key is setup as an _admin.

Is it hitting a different database that needs to be writeable via this key?

Cheers! :tophat:

BigBlueHat avatar May 25 '16 14:05 BigBlueHat

Hi @BigBlueHat. I haven't look at this repo for two years, but I thought I'd blow the dust off today. If you pull the latest code it seems to work against Cloudant or CouchDB.

It needs two databases feeds and articles and it creates design documents when it first starts, hence the admin access. Let me know if you get it working!

glynnbird avatar May 29 '16 07:05 glynnbird

I'm having the same problem as @BigBlueHat i'm running the latest code from master branch, and verified admin credentials with no luck. Database error - server_admin access is required for this request

salus-sage avatar Jan 15 '18 14:01 salus-sage