Skip to content

Appendix 1: CouchDb configuration guide

Stefan Röthlisberger edited this page Apr 27, 2021 · 17 revisions

Short instructions for the configuration of CouchDb (v.1.6.1) after installation (Note: For the basic installation of the CouchDB 1.6 on Linux or OS server, see also the detailed Installation and Configuration Guide for CouchDB 1.6.1 and Configuration Guide for CouchDB 2.3.1)

In this manual, the destination address is "localhost". If you have to address the CouchDB instance with an IP, then replace localhost with the IP:

  1. First, deactivate the so-called "admin-party" by adding an administrator account as follows:

a. Address the Futon GUI of couchDB (http://localhost:5984/_utils/) and click on "Fix this" at the bottom right corner of "Welcome to Admin Party!

b. Add an admin account. Data are freely selectable, but must be specified at the PriceAdmin Login.

  1. adjust the cors settings: a. http://localhost:5984/_utils/config.html

b. Change the following values in the "cors" section:

  • with credentials: true
  • with headers: accept, authorization, content-type, origin, referer, x-csrf-token
  • with methods: GET, PUT, POST, HEAD, DELETE
  • with origins: *

  • with „headers“, „methods“ and „origins“ click on „Add a new section“ at the very left end of the window:

c. In the «httpd» section:

  • with enable_cors: true

At the end, the configuration looks like this:

Clone this wiki locally