#5704 FreeIPA installation complains about The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information
Closed: Fixed None Opened 6 years ago by adelton.

Installing freeipa-server from the upstream repo outputs error.

The steps are:

# cd /etc/yum.repos.d/
# curl -LO https://copr.fedorainfracloud.org/coprs/mkosek/freeipa-4.3/repo/fedora-23/mkosek-freeipa-4.3-fedora-23.repo
# dnf install -y freeipa-server

and the dnf output says

  Installing  : freeipa-client-4.3.0-1.fc23.x86_64      209/212 
  Installing  : python2-ipaserver-4.3.0-1.fc23.noarch   210/212 
  Installing  : freeipa-admintools-4.3.0-1.fc23.noarch  211/212 
  Installing  : freeipa-server-4.3.0-1.fc23.x86_64      212/212 
The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information
  Verifying   : freeipa-server-4.3.0-1.fc23.x86_64         1/212 
  Verifying   : freeipa-admintools-4.3.0-1.fc23.noarch     2/212 
  Verifying   : freeipa-client-4.3.0-1.fc23.x86_64         3/212

This is especially surprising as this is a fresh installation.


mbasti comment: it is because IPA is not installed, should we add check to specfile to run upgrade only if IPA is installed? (we have it already for restarting services in specfile)

pspacek: +1 for check in spec, I did not think about this case when I was writing the original spec snippet

master:

  • 4f25b29 SPEC: do not run upgrade when ipa server is not installed

ipa-4-3:

  • 0bd34fa SPEC: do not run upgrade when ipa server is not installed

Metadata Update from @adelton:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.3.1

5 years ago

Login to comment on this ticket.

Metadata