Because /var/lib/phenotips/next/solr/chebi doesn't exist anymore, the postinst script fails.
A workaround is to manually create that directory before upgrading:
mkdir -p /var/lib/phenotips/next/solr/hgnc ; yum update phenotips