shieldproject / shield

A standalone system that can perform backup and restore functions for a wide variety of pluggable data systems
MIT License
367 stars 69 forks source link

[BUG] Unable to initialize the SHIELD Core #727

Closed rguilme1 closed 1 year ago

rguilme1 commented 1 year ago

Describe the bug When running initial setup of a new installation of Shield, the setup fails.

To Reproduce Steps to reproduce the behavior:

  1. deploy shield/8.8.6 bosh release on new VM
  2. login to shield web ui using admin user
  3. Select Setup
  4. Enter new master password twice
  5. error message: Unable to initialize the SHIELD Core

Expected behavior Shield initializes correctly

Screenshots If applicable, add screenshots to help explain your problem.

SHIELD versions (please complete the following information):

Additional context /var/vcap/sys/logs/shield/shieldd

Fri Jan 27 19:45:07 UTC 2023 running any schema migrations 2023-01-27 19:45:08.327658361 +000 UTC /var/vcap/packages/shield/bin/shield-schema: INFO: deployed schema version 13 Fri Jan 27 19:45:08 UTC 2023 starting up shieldd (pid 7397) 2023-01-27 19:45:09.376825552 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: SHIELD's vault is %!s(vault.Status=1); please initialize or unlock this SHIELD core via the web UI or the CLI 2023-01-27 19:45:10.526861671 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:45:19.323827402 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:45:27.059230412 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:45:32.027558872 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:45:37.777130438 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:45:44.299845708 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:45:49.333843729 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:45:54.393495638 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: failed to retrieve session [5315ddc6-6c66-4d53-bf5a-e0345500b5c6] from database: (no such session) 2023-01-27 19:46:03.971995774 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: unable to read bootstrap.log: open /var/vcap/store/shield/bootstrap.log: no such file or directory 2023-01-27 19:46:16.119615991 +000 UTC /var/vcap/packages/shield/bin/shieldd: ERROR: POST /v2/init errored: 404 Not Found: no handler for route "secret/secret/archives/fixed_key". route entry not found.

rguilme1 commented 1 year ago

Deployed BOSH release 8.8.4 to new vm and POST /v2/init was successful.

rguilme1 commented 1 year ago

Closing this issue and opening new one in shield bosh release project.