2019-06-06 07:47:00 DEBUG install The following NEW packages will be installed:
2019-06-06 07:47:00 DEBUG install libpq5 python3-psycopg2
What is missing in the above are the PostgreSQL packages. PostgreSQL 10 had already been installed on the machine before the charm was started, and the charm refuses to destroy the existing database (by design, to avoid potential data loss).
A Juju action to destroy and recreate the database would be one way to have a supported way of getting past this blocked state, and useful for some other use cases like test suites.
2019-06-06 07:47:00 DEBUG install The following NEW packages will be installed:
2019-06-06 07:47:00 DEBUG install libpq5 python3-psycopg2
What is missing in the above are the PostgreSQL packages. PostgreSQL 10 had already been installed on the machine before the charm was started, and the charm refuses to destroy the existing database (by design, to avoid potential data loss).
A Juju action to destroy and recreate the database would be one way to have a supported way of getting past this blocked state, and useful for some other use cases like test suites.