I have follow this guide how to install tyk on Ubuntu and I was installed it on Ubuntu 14.04 with Python 2.7.6 installed.
root@ubuntu:~# python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
From Step 4, To initialize user and organisation by using Bootstrap I got this result.
root@ubuntu:~# sudo /opt/tyk-dashboard/install/bootstrap.sh 139.162.xx.xx
Creating Organisation
ORGID: 595351701d41c80fefec9089
Adding new user
USER AUTH: a9c8d7de667a4dd07d0741588cb025c8
Traceback (most recent call last):
File "<string>", line 1, in <module>
KeyError: 'users'
NEW ID:
Setting password
DONE
====
Login at http://139.162.xx.xx:3000/
User: [email protected]
Pass: test123
Then Iâm going to the above URL and Login and it said âCredentials are incorrect, please try againâ
I found some error in the script File ââ, line 1, in KeyError: âusersâ. Do you know what cause the error?
./install/bootstrap.sh script have a sort of âdebugâ mode. To do that youâd need to open this file and uncomment lines 10, 16 and 21, which look like #echo $ORGDATA#echo $USER_DATA` and etc.
Can you do that and share the output ?
Creating Organisation
ORGID: 5977e1f19e8a372bb917cc62
Adding new user
{âStatusâ:âOKâ,âMessageâ:â7f509e1dffef450b6183935d08fafaa6â,âMetaâ:{âapi_modelâ:{},âfirst_name":âJohnâ,âlast_nameâ:âSmithâ,âemail_addressâ:"[email protected]â,âorg_idâ:â5977e1f19e8a372bb917cc62â,âactiveâ:true,âidâ:â5977e1f1f68f6d4c3a404f34â,âaccess_keyâ:â7f509e1dffef450b6183935d08fafaa6â,âuser_permissionsâ:{}}}
USER AUTH: 7f509e1dffef450b6183935d08fafaa6
{âStatusâ:âErrorâ,âMessageâ:âNot authorisedâ,âMetaâ:null}
Traceback (most recent call last):
File ââ, line 1, in
KeyError: âusersâ
NEW ID:
Setting password
DONE
So it seems to be some sort of authentication issue