You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/01/14 09:45:40 UTC
[GitHub] kangu opened a new issue #1858: Installation path on Windows is not
written to the registry
kangu opened a new issue #1858: Installation path on Windows is not written to the registry
URL: https://github.com/apache/couchdb/issues/1858
After installing on a Windows machine, CouchDB 1.x used to write a registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ericsson\Erlang\ErlSrv\1.1\Apache CouchDB where a WorkDir string value would be something like "C:\Program Files (x86)\Apache Software Foundation\CouchDB\bin".
For CouchDB 2.x, the registry is not updated anymore and there seems to be no standard way of determining the installation path.
## Expected Behavior
After installation on Windows machines, the installation path should be recorded somewhere in the registry, so that application can safely determine where the /log and /data folder are located.
## Current Behavior
2.x version installers do not write the installation path to the registry.
## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1. Install CouchDB 2.x on a Windows machine.
2. Check that HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ericsson\Erlang\ErlSrv\1.1\Apache CouchDB is created
## Context
I am aware that working with CouchDB on a file level is not recommended, but I have a use case where I need to move around some .couch files and integrate them into the database by doing a replication from port 5986 to 5984.
## Environment
* Version used: CouchDB 2.3
* Operating System: Windows 7, 64-bit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services