Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
The init script does not correctly change the working directory to the location CouchDb expects.
This manifests as errors in the logs and Futon being unable to complete the verify process.
The script needs a new variable for DBHOME e.g. /usr/local/var/lib/couchdb and then a cd to that folder during startup.
It can be worked around by changing from su to sudo -i in run_command()
Related mailing list thread: http://mail-archives.apache.org/mod_mbox/couchdb-user/201509.mbox/%3C560A7212.201%40extravision.com%3E