Error message when running /usr/share/cb/cbupgrade
Success. You can now start the database server using:
/usr/pgsql-10/bin/pg_ctl -D /var/cb/data/pgsql.10 -l logfile start
Migrate configuration...
Old postgresql.conf saved to /var/cb/data/pgsql/postgresql.conf.old
Upgrade db to pgsql 10...
Performing Consistency Checks
-----------------------------
Checking cluster versions ok
The source cluster was not shut down cleanly.
Failure, exiting
--------------------------------------------------------------------------------
UPGRADE ABORTED
--------------------------------------------------------------------------------
'sudo PGPASSFILE=/tmp/tmpkHrZLs -u cb /usr/pgsql-10/bin/pg_upgrade --old-datadir=/var/cb/data/pgsql --new-datadir=/var/cb/data/pgsql.10 --old-bindir=/usr/pgsql-9.3/bin/ --new-bindir=/usr/pgsql-10/bin/ --retain' failed(1)