#49760 Ticket 49754 - instances created with dscreate can not be upgraded with setup-ds.pl
Closed by spichugi. Opened by mreynolds.
mreynolds/389-ds-base ticket49754  into  master

Download 49760.patch

Bug Description: If you create an instance with dscreate and try to
upgrade that instance using setup-ds.pl it will fail.
While you should not mix and match the python and perl
tools, it is still possible and it should work.

Fix Description: The first problem was that the instance dir (inst_dir)
was not set during dscreate, and second we were also not
setting the correct inst_dir in defaults.inf.

              Also dscreate does not create a backend by default,
              which caused 80upgradednformat.pl to fail on an upgrade.
              Finally updated UI's instance creation template to use
              the correct inst_dir.

https://pagure.io/389-ds-base/issue/49754

Reviewed by: ?

With these changes nsslapd-instancedir in cn=config is populated and upgrade works. LGTM.

rebased onto 9d8887ad91c121ec68bfb5c0f4871611ee6b8a41

Pull-Request has been merged by mreynolds

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/2819

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata