Opened 13 years ago
Closed 12 years ago
#32190 closed defect (duplicate)
couchdb 1.1.1 preserve local.ini between installs
Reported by: | erik@… | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | jeff-macports@… | |
Port: | couchdb |
Description
I would argue that the local.ini, or at least a modified local.ini, should be left alone by uninstall and install. As it stands, the local.ini is removed by uninstall, and install will fail at the activation stage if a (modified?) local.ini already exists.
The use case is an uninstall / install.
I think preservation of local.ini would be expected behavior, and that a warning, but not error, during installation of an existing local.ini is merited.
After all, the couchdb database is left alone during uninstall / install, as one would expect. However, wiping the local.ini can effectively disable the database.
I might mention that a common tactic to deal with a broken install is to uninstall/install a port, and finding your local.ini wiped is unpleasant.
according to the couchdb docs and the comments in local.ini the local.ini is not supposed to be touched by a "server upgrade" . I think this policy can be fairly extended to this case.
Change History (4)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jwa@… |
---|---|
Port: | couchdb added |
comment:2 Changed 13 years ago by jeff-macports@…
FYI I submitted a patch that addresses this in #31820.
comment:4 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
In the future, please fill in the Port field and Cc the maintainer(s).