You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "tom chiverton (JIRA)" <ji...@apache.org> on 2015/10/07 17:27:26 UTC

[jira] [Created] (COUCHDB-2843) init script should cd to home folder

tom chiverton created COUCHDB-2843:
--------------------------------------

             Summary: init script should cd to home folder
                 Key: COUCHDB-2843
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2843
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Build System
            Reporter: tom chiverton


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)