When I closely follow the Dashboard installation instructions at https://tyk.io/docs/get-started/with-tyk-on-premise/installation/on-ubuntu/dashboard/ , I get this script output after running the boostrap command with my public IP:
sudo /opt/tyk-dashboard/install/bootstrap.sh XXX.XXX.XXX.XXX
Creating Organisation
ORGID: 5997904a1485770dd1dbae07
Adding new user
USER AUTH: edb660d9df3742ee70c6db9a4d2f9e7d
Traceback (most recent call last):
File “”, line 1, in
KeyError: ‘users’
NEW ID:
Setting password
DONE
Login at http://XXX.XXX.XXX.XXX:3000/
User: [email protected]
Pass: test123
Any idea what the KeyError is all about in the bootstrap script output? When I attempt to log into the Dashboard as [email protected], I get a “Credentials are incorrect, please try again” message.
Later, when I complete the Gateway installation intructions at //tyk.io/docs/tyk-on-premises/debian-ubuntu/gateway/ , I get this script output after running the same boostrap command again with my public IP:
sudo /opt/tyk-dashboard/install/bootstrap.sh XXX.XXX.XXX.XXX
Creating Organisation
ORGID: 5997933c1485770dd1dbae08
Adding new user
USER AUTH: f0c9eea9bf334fb469122afbfaeb784d
NEW ID: 5997933c2072e32c94552f06
Setting password
DONE
Login at http://XXX.XXX.XXX.XXX:3000/
User: [email protected]
Pass: test123
Notice that there is no KeyError this time. When I log into the Dashboard as [email protected], everthing is wonderful, and I can proceed with creating my APIs. However, I can only run these APIs after restarting my Dashboard and Gateway services.
Any idea why the bootstrap command is not successful after the Dashboard installation, but is successful after the Gateway installation? The Dashboard installation instructions seem to indicate that I should be able to log into my Dashboard immediately after running the bootstrap command.