Skip to main content
Package Security Manager versions 6.6.1 and older utilize Postgres version 9.6 for new installations. However, as of November 2021 Postgres 9.6 has reached its end of life (EOL). Package Security Manager version 6.6.2 and later utilize Postgres version 14.9 for new installations. If you have upgraded to Package Security Manager 6.6.2 or later, Anaconda recommends upgrading your version of Postgres manually. Package Security Manager is tested and known to be compatible and stable with this version of Postgres.
  1. Log in to your instance of Package Security Manager as a user with root access.
  2. Open your Package Security Manager installer directory by running the following command. This directory contains both the docker-compose.yml and .env files.
    You can find your installer directory by running the ls -la command to view the contents of your current working directory.
  3. Verify you are running Postgres 9.6 by running the following command:
  4. Stop all services by running the following command:
  5. Restart the Postgres container by running the following command:
  6. Export your Postgres database by running the following command:
  7. Using your preferred file editor, open your .env file and update or add the following lines:
  8. Save your work and close the file.
  9. Restart Postgres by running the following command:
  10. Import all data by running the following command:
    A log of commands executed is displayed.
  11. Update the password for Keycloak users by running the following command:
  12. Update the password for Postgres users by running the following command:
  13. Restart the containers by running the following command:
  14. Allow the containers to come back online then verify you are using Postgres version 14.9 by running the following command: