Skip to content

Commit

Permalink
Craigs-MacBook-Pro.local
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcomstock committed Sep 29, 2023
1 parent 67eee7c commit 7dfd78b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/common/cfengine-hub/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,8 @@ do_migration() {
cf_console echo "Migration using pg_upgrade failed."
# skip ubuntu-16 since there is an expected failure there
# check for "/var/cfengine/state/pg/backup/bin/postgres" failed: cannot execute
cf_console echo "OS_NAME is $OS_NAME, OS_VERSION is $OS_VERSION"
if [ "$OS_NAME" != "ubuntu" ] && [ "$OS_VERSION" != "16.04" ]; then
cf_console echo "BUILT_ON_OS is $BUILT_ON_OS, BUILT_ON_OS_VERSION is $BUILT_ON_OS_VERSION"
if [ "$BUILT_ON_OS" != "ubuntu" ] && [ "$BUILT_ON_OS_VERSION" != "16.04" ]; then
# here pg_upgrade probably said something like
# Consult the last few lines of "/var/cfengine/state/pg/data/pg_upgrade_output.d/20230913T150025.959/log/pg_upgrade_server.log" for the probable cause of the failure.
cf_console echo "Showing last lines of any related log files:"
Expand Down

0 comments on commit 7dfd78b

Please sign in to comment.