Postgres upgrade success loop due to prior postgres 8 to 10 migration

Looks like there are some files remaining from 2 years ago since the last upgrade:

mv: cannot move '/shared/postgres_data' to '/shared/postgres_data_old/postgres_data': Directory not empty
mv: cannot move '/shared/postgres_data_new' to '/shared/postgres_data/postgres_data_new': Directory not empty

Can you move those files elsewhere before rebuilding?

3 Likes