I have a relatively small Portal instance on a linux vm running RHEL8. Just a Portal and a federated ArcGIS Server with some map and feature services, all data is stored in an EGDB.
When upgrade from 11.3 to 12.1, the Setup on the command line was successful.
When I want to finish the upgrade in the browser (https://example.org:7443/arcgis/home/createadmin.html) I get this error:
Upgrade failed
When attempting to upgrade Portal for ArcGIS, the following failure occurred: Cannot find the PostgreSQL binary directory for the database version 15.5.
No log file contained a specific error where the binary should have been located.
I have about 11 GB space left on the volume. I was monitoring the free space, there was always at least 6 GB free while upgrading.
When I retry, the first error occurrs in the second step:
interestingly, while processing the second step, the third is already failed.