Questions tagged [fauxton]

Fauxton is the new user interface for CouchDB 2.X.X. It's a React dashboard that let you perform most of the CouchDB operations easily and rapidly.

41 questions
1
vote
1 answer

Trouble logging into CouchDB after restarting

I newly installed CouchDB on my computer and I have been experiencing troubles logging in. As a macOS user, I enter the ini file located at Library/Preferences/couchdb_local.ini where I modified the admin section so it looks like [admins] username…
1
vote
2 answers

How do I figure out why "Verify Installation" is failing in CouchDB on macOS?

What I'm struggling with: From the official CouchDB docs page, I first followed the steps here to install the Apache CouchDB native application. When doing "Verify Installation" in Fauxton as it said, it brought up this error: Image: Screenshot of…
1
vote
1 answer

Editing a `local document` in CouchDb using fauxton

Am I right in thinking that it is not possible to edit/view a local document in a CouchDb database using Fauxton? I can't see how to do it from the UI, and Googling returns no references to being able to do it. Local documents aren't a major part of…
ianmayo
  • 2,256
  • 3
  • 26
  • 44
1
vote
1 answer

How to disable fauxton interface?

How to disable fauxton interface in couchdb? I'd like to make /_utils endpoint to be treated like a normal endpoint.
Mas Bagol
  • 4,377
  • 10
  • 44
  • 72
1
vote
1 answer

Is there a List, show and update function editor in fauxton for CouchDb?

I wonder if there is a way to write some show, list or update functions in a design document as I can do for a view one in Fauxton (with its editor). When I create a view in Fauxton, I simply click the "Add view..." button. Then, I fill the fields…
Darth Yoh
  • 41
  • 4
1
vote
1 answer

CouchDB validation on CRUD events

I am trying to write a validation function for CouchDB that should only run if the used HTTP method is post (which resembles CREATE event in CRUD terms). This is my code: function(newDoc, oldDoc, userCtx) { if (newDoc.type == "post") { …
SomeDutchGuy
  • 2,249
  • 4
  • 16
  • 42
1
vote
2 answers

How to fetch records after a particular date

I am trying to fetch the records that has the "effectiveDateOfAction" field greater than Oct'2017. Please find the below 3 records. { "_id": "TRAN001", "_rev": "13-59a53069c1ebd6ecfc23ca1dea0ba28f", "effectiveDateOfAction": "10-30-2018", …
Priyanka
  • 117
  • 1
  • 5
  • 19
1
vote
1 answer

Creating a validation with CouchDB (Fauxton)

I store products in the following way in a CouchDB database: { "_id": "1ce330a867a803fd10082c4513000fe5", "_rev": "4-a5eae6f790ea8b9cedea53db50a13fef", "type": "Product", "name": "Apple", "price": 1 } I'd like to create a validation to…
wintermeyer
  • 8,178
  • 8
  • 39
  • 85
1
vote
1 answer

_dbs.couch keeps dropped db information

I recently wondered why my /var/lib/couchdb/_dbs.couch files kept its filesize when I dropped an entire database. It seems like, anytime I create a (test) db it gets written and stored there, but it never gets entirely removed when I delete the…
jAndy
  • 231,737
  • 57
  • 305
  • 359
1
vote
0 answers

Import/load a couchdb 2.0 .couch file into couch 2.1

Somehow my Windows CouchDB 2.0 server acquired hundreds of Shard databases. I made a backup of the data directory. Then I deleted the data directory and install 2.1. Everything is fine. HOWEVER, I have several *.couch database files that I would…
Larry Eitel
  • 1,397
  • 5
  • 19
  • 37
1
vote
1 answer

Couchdb port mapping in yaml file for Hyperledger Fabric V1.0 network setup

Can someone please explain the port mapping in this docker-compose-couch.yaml. Please look into the following container_name: couchdb0 -ports: - "5984:5984" -- CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb0:5984 container_name: couchdb1…
0
votes
0 answers

CouchDB "last_seq" number changes when adding since=now

I am getting inconsistent results from CouchDB version 3.2.1. If I get a list of changes in a database by calling http://docdb.mycouchdb.com/my_database/_changes I get a long list of changes in "results" with the final "seq" value matching what I…
0
votes
0 answers

Disk space in fauxton is not the same in couch shard

the one in CouchDB fauxton indicates a lower disk space than the one in shard. How is this possible? Note: I have only one node
Rav
  • 1,327
  • 3
  • 18
  • 32
0
votes
2 answers

Restore CouchDB from .couch files

I'm trying to backup and restore a CouchDB following the official documentation: https://docs.couchdb.org/en/latest/maintenance/backups.html "However, you can also copy the actual .couch files from the CouchDB data directory (by default, data/) at…
0
votes
1 answer

CouchDB Fauxton _replicator db: exclamation stating "This database has just X docs and Y deleted docs"

I am using Fauxton on Apache CouchDB, version 2.3.1. Next to the # of Docs field for my _replicator db, there is an exclamation point. When I hover over it, it says: This database has just 4 docs and 5 deleted docs. Here is a screenshot of what I'm…
Intrastellar Explorer
  • 3,005
  • 9
  • 52
  • 119