> The source cluster was not shut down cleanly. > Failure, exiting > > Please how do you resolve this
pg_upgrade runs bin/pg_controldata on the source cluster data directory and ensures that the "Database cluster state" says "shut down". If you run the same command, which state is the cluster reported to be in?