Islandora-Devops/isle-site-template

Setup script fails if keys already exist

Closed this issue ยท 0 comments

alxp commented

After having tried to install the site template once and failing, I've come back to it and get an error running the setup script with no documentation of how to remove the keys if they already exist.

 create mode 100644 drupal/rootfs/var/www/drupal/config/sync/views.view.who_s_new.yml
 create mode 100644 drupal/rootfs/var/www/drupal/config/sync/views.view.who_s_online.yml
 create mode 100644 drupal/rootfs/var/www/drupal/config/sync/views_field_view.settings.yml
The local CA is already installed in the system trust store! ๐Ÿ‘
The local CA is already installed in the Firefox trust store! ๐Ÿ‘
ERROR: failed to execute "keytool -list": exit status 1

keytool error: java.lang.Exception: Keystore file does not exist: 

ERROR: failed to execute "keytool -list": exit status 1

keytool error: java.lang.Exception: Keystore file does not exist: 

Alexanders-MBP:dev alexanderoneill$ 

I think the script should either prompt to re-create these keys or print a message about how to remove them.