Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2843

init script should cd to home folder

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Build System
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            tchiverton tom chiverton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment