Help me fix..!

96 views
Skip to first unread message

Nguyễn Vinh

unread,
Mar 17, 2017, 5:49:53 AM3/17/17
to OpenWISP
Hi all, 
help me fix this error when installing.
I use Linux Openwisp 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016 i686 i686 i686 GNU/Linux
===================================================================================
TASK [openwisp.openwisp2 : upload multitenancy_prepare_data.py script] *********
changed: [192.168.137.200]

TASK [openwisp.openwisp2 : prepare data for multitenancy migration] ************
fatal: [192.168.137.200]: FAILED! => {"changed": true, "cmd": ["./multitenancy_prepare_data.py"], "delta": "0:00:00.019731", "end": "2017-03-17 05:27:54.617059", "failed": true, "rc": 1, "start": "2017-03-17 05:27:54.597328", "stderr": "Traceback (most recent call last):\n  File \"./multitenancy_prepare_data.py\", line 26, in <module>\n    data = json.loads(contents)\n  File \" /usr/lib/python2.7/json/__init__.py\", line 339, in loads\n    return _default_decoder.decode(s)\n  File \"/usr/lib/python2.7/json/decoder.py\", line 364, in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n  File \"/usr/lib/python2.7/json/decoder.py\", line 382, in raw_decode\n    raise ValueError(\"No JSON object could be decoded\")\nValueError: No JSON object could be decoded", "stdout": "", "stdout_lines": [], "warnings": []} to retry, use: --limit @/home/opwn/openwisp2-ansible-playbook/playbook.retry

PLAY RECAP *********************************************************************
192.168.137.200            : ok=20   changed=2    unreachable=0    failed=1

Federico Capoano

unread,
Mar 17, 2017, 10:00:18 AM3/17/17
to Nguyễn Vinh, OpenWISP

Is it a new installation or are you migrating an existing instance?
I never encountered this issue. I need to know more about your setup in order to help you.

Fed


--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nguyễn Vinh

unread,
Mar 19, 2017, 2:21:32 AM3/19/17
to OpenWISP
Hi Fed,
I use VMware 12 and ubuntu-16.04-server-i386.

Federico Capoano

unread,
Mar 19, 2017, 4:32:13 AM3/19/17
to Nguyễn Vinh, OpenWISP
Did you install from zero or were you migrating an existing instance?

(use reply all when responding please)

Nguyễn Vinh

unread,
Mar 19, 2017, 10:57:10 PM3/19/17
to OpenWISP
Hi Fed,
I Install ubuntu from ubuntu-16.04-server-i386.iso, and then  install openwisp follow link:https://github.com/openwisp/ansible-openwisp2

Abhijith S

unread,
Mar 20, 2017, 7:10:02 AM3/20/17
to OpenWISP
hello ,
i am also facing the same error . I am trying to install openwisp on ubuntu 16.04 . i followed the the procedure mentioned here to install it on my localhost.

https://github.com/openwisp/ansible-openwisp2

the error is am receiving is


please advice on how to proceed.
Auto Generated Inline Image 1

Federico Capoano

unread,
Mar 20, 2017, 7:21:49 AM3/20/17
to Abhijith S, OpenWISP

I think it's a bug of the new release of openwisp2 (0.6.0) which happens on ubuntu 16.

Possible options are:

- try debian 8
- wait for me to fix it in the coming days
- fix it and send a patch

Federico


--

Nguyễn Vinh

unread,
Mar 20, 2017, 11:42:39 PM3/20/17
to OpenWISP
Ok, thanks Fed.

Federico Capoano

unread,
Mar 21, 2017, 12:36:41 PM3/21/17
to Nguyễn Vinh, OpenWISP, Abhijith S
I released a new version which should fix your issue:
https://github.com/openwisp/ansible-openwisp2/releases/tag/0.6.1

Upgrade with:

sudo ansible-galaxy install --force openwisp.openwisp2

I hope it helps!
Let me know.

Federico

Nguyễn Vinh

unread,
Mar 21, 2017, 11:17:17 PM3/21/17
to OpenWISP
Thanks, i was success.
Reply all
Reply to author
Forward
0 new messages