Questions tagged [couchdb-futon]

A built-in web-based administration console for apache couchdb. All read / write operation is handled using http request via couchdb restful api.

Typically the url is like :-

http://localhost:5984/_utils/

Basic functionality of futon :-

  • create or delete databases
  • manage individual couchdb documents (analogous to records)
  • testing of map-reduce function
  • monitor couchdb running tasks
  • create views
208 questions
1
vote
1 answer

futon web access after adding admin username/password error unauthorized

I have added admin user and password for curl/php data creation. Now Futon is not letting me run the Temporary View "Error: unauthorized: You are not a db or server admin".
moeen-ud-Din
  • 160
  • 1
  • 13
1
vote
2 answers

Creating a list of tags using couchDB map reduce

I've a list of documents (operators) and they have devices. Each of these devices has or more more tags. I want to create a unique list of tags for each operator. Operator1: Device1 tag_1 tag_2 Device2 tag_1 tag_3 Operator2: Device1 …
Rakesh VK
  • 11
  • 2
1
vote
0 answers

Not getting expected results from complex view

This is a somewhat involved question as the data I am working with is a little large. I have the following document structure: https://gist.github.com/gaigepr/5b28a7c67ced0cd71e4e and the following map function:…
gaigepr
  • 905
  • 1
  • 10
  • 17
1
vote
2 answers

how enable google chrome browser to save passwords for couchdb futon

chrome Version 37.0.2062.103 is unable to save passwords with futon on couchdb. all other browsers like firefox and IE saving it fine. i checked the form html and the syntax is valid.
veto
  • 51
  • 2
1
vote
1 answer

View is running in CouchDb but returns empty result

In demo database ,following docs are stored... { "_id":"biking", "_rev":"AE19EBC7654", "title":"Biking", "body":"My biggest hobby is mountainbiking. The other day...", "date":"2009/01/30 18:04:11" } { "_id":"bought-a-cat", …
1
vote
2 answers

How to stop non-admin users from viewing your CouchDB database through Futon?

The question is straightforward: How can I stop non-admin users from reading my CouchDB database from Futon? The answer here Couchdb - Block futon for readers users saying that even though it's possible, people can still find the way to fetch the…
cuzmAZN
  • 377
  • 1
  • 7
  • 25
1
vote
2 answers

Using reduce with a composite key in couchdb view returns no result on GET

I have a couchdb view with the following map function: function(doc) { if (doc.date_of_operation) { date_triple = doc.date_of_operation.split("/"); d = new Date(date_triple[2], date_triple[1]-1, date_triple[0], 0, 0, 0, 0) emit([d,…
Prakash
  • 63
  • 4
1
vote
0 answers

Exporting CouchDb data to CBLite

I'm trying to implement the pre-build database concept of couch base in android application. I have a couchdb data that i need to convert to cblite file, so that i can put the file in assets of my application. This will help me to init the…
Azhar Bandri
  • 892
  • 1
  • 14
  • 27
1
vote
1 answer

Link documents in CouchDB

I have two types of documents(both are in same database) in my couch-db, now I have created a view which can linkup the two documents by "_id" and return the data by using the couch-db view URL. And now I want to get data from the two types in map…
Raghavendra
  • 128
  • 8
1
vote
2 answers

Puton alternative for PouchDB available? (Futon - CouchDB equivalent)

CouchDB has the amazing Futon interface, which makes working with the database really easy. For PouchDB there was the equivalent Puton (http://puton.jit.su/), which aimed to provide similar functionality. The problem is, it doesn't work for me, and…
Chris Preston
  • 644
  • 8
  • 15
1
vote
1 answer

Run the same couchdb replication from two instances - possible?

I am trying to replicate from isaacs couchdb, and It takes so long time. I am thinking to spawn up another couchdb instance and to tell it to replicate from isaacs couchdb to my first instance. Is this possible to run those two in parallel? will it…
Yosi
  • 2,936
  • 7
  • 39
  • 64
1
vote
2 answers

Issue adding attachments to documents in CouchDB

I'm having problems adding attachments in CouchDB. First off, when I ran the test suite in Futon I got two errors - one in attachments, and another in replication. The error specific to attachments isn't particularly helpful - name …
Saf
  • 517
  • 1
  • 9
  • 24
1
vote
2 answers

Couchdb illegal_database_name after ubuntu upgrade

recently I upgraded my Ubuntu from 13.04 to 13.10. Everything went fine, but few days after upgrade I realized that problem with my CouchDB instance occurred. Databases created before upgrade got prefix: '1.2.0/', so now it looks like '1.2.0/_users'…
1
vote
1 answer

CouchDB: representing NVL() in view

I'm writing a Couchdb _design document for the SQL command below: SELECT NVL(MAX(NVL(VERSION,0)),0)+1 FROM pricelistdocs WHERE PRICE_LIST_ID = ? AND DELETION_FLAG = 0; I came up with a _design view function below while run and return values but I…
Origin
  • 47
  • 8
1
vote
1 answer

CouchDB Where conjunction

I'm stuck with the following problem in couchdb. Imagine the following doc-structure {name:"test",timestamp:12334567,value:335} My task is to query all documents on a specific timeframe that have a value bigger than X. In SQL this would be something…
user1727072
  • 309
  • 4
  • 14