Can't run Docker Quickstart

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:21:26 +0000.
Sender:Kevin Holbrook.
Date:Tuesday, 25 August 2015 21:14:31 UTC+1.

I’ve tried to get the docker quickstart to work to no avail.
This is a fresh clean install of Ubuntu 14.0.4
I’m using the tyk_quickstart shell script from the website.
Docker seems to be working fine and is version 1.8.1
I’ve gone though the instructions several times and can not get tyk to work this way.
I have got it to work with manual installation not using docker, with the exception of the portal never working.
I was hoping to get this demo working to determine why the developer portal never responds with non-docker installations.
Any help would be much appreciated.

I’m getting the following python errors :

Creating Organisation
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/json/init.py”, line 290, in load
**kw)
File “/usr/lib/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 384, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
ORGID:
Adding new user
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/json/init.py”, line 290, in load
**kw)
File “/usr/lib/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 384, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
USER AUTH:
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/json/init.py”, line 290, in load
**kw)
File “/usr/lib/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 384, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
NEW ID:
Setting password

DONE

Login at http://127.0.0.1:3000/

Imported Google Group message.
Sender:Martin Buhr.
Date:Tuesday, 25 August 2015 22:20:25 UTC+1.

Hi Kevin,

Interesting, those errors would be happening because the docker instances aren’t actually starting (or they are starting and terminating instantly), so the bootstrap calls that create your initial accounts aren’t being run, which cause the python errors,

Is this the only output you get from the script?

Cheers,
Martin

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/29bb746b-da1a-4374-ac2f-a7b6aa6ef25d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Imported Google Group message.
Sender:Martin Buhr.
Date:Wednesday, 26 August 2015 14:43:21 UTC+1.

Hi Kevin,

I’ve been investigating this issue a bit more today, it seems to be one of the docker containers not starting, and the most likely culprit is the mongo docker image, it requires a certain amount of disk space to be available to it in the docker environment, if you are running docker in a VM, make sure there’s enough disk spce available.

For those using Kitematic, you may need to resize the HDD of the image, or delete the actual VM and start again (the VM has run out of space).

Super irritating I know :-/

Let me know if any of that helps :slight_smile:

Cheers,
Martin