Problem: A blank dashboard or 500 error after installing morpheus
Note: A blank or 500 error on just the dashboard is different than the entire morpheus-ui not loading. See here for troubleshooting the ui not loading after an upgrade.
Elasticsearch restarting prior to being fully bootstrapped during the initial install.
To fix, purge elasticsearch by running the following on the Morpheus Appliance:
curl -XDELETE http://localhost:9200/*" rel="nofollow noreferrer">http://localhost:9200/* morpheus-ctl restart elasticsearch morpheus-ctl restart morpheus-ui
Another option is:
sudo rm –rf /var/opt/Morpheus/elasticsearch/data/morpheus morpheus-ctl restart elasticsearch morpheus-ctl restart morpheus-ui
If you get a term/timeout on ui restart, run
morpheus-ctl kill morpheus-ui morpheus-ctl start morpheus-ui
Note: The morpheus-ui may take a few minutes to load and be available after being restarted