New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32190 (closed defect: duplicate)

Opened 18 months ago

Last modified 11 months ago

couchdb 1.1.1 preserve local.ini between installs

Reported by: erik@… Owned by: jwa@…
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

comment:1 Changed 18 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to jwa@…
  • Port set to couchdb

In the future, please fill in the Port field and Cc the maintainer(s).

comment:2 Changed 18 months ago by jeff-macports@…

FYI I submitted a patch that addresses this in #31820.

comment:3 Changed 18 months ago by jeff-macports@…

  • Cc jeff-macports@… added

Cc Me!

comment:4 Changed 11 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.