Hello. Django's "problem" that you need restart not only nginx but also uwsgi which intermediate between nginx and python.
*cd /opt/openwisp2source ./env/bin/activateps aux | grep -i uwsgi | awk '{print $2}' | xargs sudo kill -9* *#if UWSGI will not start automatically (check with "netstat -anolp | grep uwsgi")uwsgi --ini /opt/openwisp2/uwsgi.ini* */etc/init.d/nginx restart* *deactivate* 2018-04-17 22:02 GMT+05:00 Rafael Silva Daniel <rafaelsilvadan...@gmail.com> : > Hello arthur! thanks for also looking at my case too! > > i checked these logs, error.log says: > > ERROR 2018-04-16 19:53:23,300] module: exception, process: 536, thread: > 140546850326272 > Invalid HTTP_HOST header: '10.85.18.14'. You may need to add '10.85.18.14' > to ALLOWED_HOSTS. > > > [ERROR 2018-04-16 20:23:46,934] module: exception, process: 536, thread: > 140547369068288 > Invalid HTTP_HOST header: '10.85.18.14'. You may need to add '10.85.18.14' > to ALLOWED_HOSTS. > > > [ERROR 2018-04-16 20:23:47,165] module: exception, process: 536, thread: > 140546850326272 > Invalid HTTP_HOST header: '10.85.18.14'. You may need to add '10.85.18.14' > to ALLOWED_HOSTS. > > > [ERROR 2018-04-17 12:06:42,294] module: exception, process: 536, thread: > 140547369068288 > Invalid HTTP_HOST header: '10.85.18.14'. You may need to add '10.85.18.14' > to ALLOWED_HOSTS. > > > daphne.log says: > > UserWarning: You do not have a working installation of the > service_identity module: 'cannot import name 'opentype''. Please install > it from <https://pypi.python.org/pypi/service_identity> and make sure all > of its dependencies are satisfied. Without the service_identity module, > Twisted can perform only rudimentary TLS client hostname verification. > Many valid certificate/hostname mappings may be rejected. > :0: UserWarning: You do not have a working installation of the > service_identity module: 'cannot import name 'opentype''. Please install > it from <https://pypi.python.org/pypi/service_identity> and make sure all > of its dependencies are satisfied. Without the service_identity module, > Twisted can perform only rudimentary TLS client hostname verification. > Many valid certificate/hostname mappings may be rejected. > > > > and the runworkr.log says, various lines about calling files, but these > two errors: > > raise socket.error(SERVER_CLOSED_CONNECTION_ERROR) > OSError: Connection closed by server. > > > as you referenced to me, i included 10.85.18.14 in ALLOWED_HOSTS in > settings.py > > and the output of the two commands suggested: > > netstat -anolp | grep 443 > tcp 0 0 0.0.0.0:443 0.0.0.0:* > LISTEN 503/nginx: master p off (0.00/0/0) > > > and the other: > > netstat -anolp | grep uwsgi > tcp 0 0 127.0.0.1:3031 0.0.0.0:* > LISTEN 586/uwsgi off (0.00/0/0) > unix 3 [ ] STREAM CONNECTED 13178 586/uwsgi > unix 3 [ ] STREAM CONNECTED 13179 586/uwsgi > unix 3 [ ] STREAM CONNECTED 13367 586/uwsgi > unix 3 [ ] STREAM CONNECTED 13180 586/uwsgi > unix 3 [ ] STREAM CONNECTED 13177 586/uwsgi > unix 3 [ ] STREAM CONNECTED 13368 586/uwsgi > > > > i think the problem is that i dont have any kwnolege about ngnix and > little pratical kwnolege of http servers :(, i will study about nignix to > be able to troubleshoot it better > > > 2018-04-17 10:19 GMT-03:00 Артур Скок <arthur.s...@gmail.com>: > >> Hello. >> /opt/openwisp2/log folder may contain more comprehensive information. In >> most cases openwisp returns same error on malformed request but it is >> strange if there is "clear" installation. >> Also check section ALLOWED_HOSTS at /opt/openwisp2/openwisp2/settings.py >> Could you report output of next commands? >> netstat -anolp | grep 443 >> netstat -anolp | grep uwsgi >> >> >> 2018-04-17 17:12 GMT+05:00 Rafael Silva Daniel < >> rafaelsilvadan...@gmail.com>: >> >>> Hey, Frederico, i continued trying but getting :(Bad Request (400) >>> But i think it is some dependency missing in the server that im using, i >>> will study this more throughly, and when i acomplish to set all the >>> wireless network here using openwisp i will make a complete how to of it in >>> my native language and in english and send it to you to revise, or publish >>> it somewhere, i believe so much in the ideal of this tool! thank you very >>> much! >>> >>> 2018-04-16 16:48 GMT-03:00 Federico Capoano <federico.capo...@gmail.com> >>> : >>> >>>> That would be great Rafael. >>>> >>>> The repo which contains our documentation is here: >>>> https://github.com/openwisp/openwisp2-docs >>>> The result is published automatically at http://openwisp.io/docs/ >>>> >>>> Please also read these two pages when you have time: >>>> >>>> - http://openwisp.io/docs/general/help-us.html >>>> - http://openwisp.io/docs/developer/contributing.html >>>> >>>> Thanks >>>> Federico >>>> >>>> On Mon, Apr 16, 2018 at 4:42 PM Rafael Silva Daniel < >>>> rafaelsilvadan...@gmail.com> wrote: >>>> >>>>> Thanks very much for the response Federico! i will read this carefully >>>>> right now! really, thank you! >>>>> >>>>> I understand what you are saying about the documentation, i would be >>>>> very happy in contribute with the community in this after i gained more >>>>> knowlege about openwisp, i can help with it in some way? >>>>> >>>>> >>>>> Em segunda-feira, 16 de abril de 2018 16:35:42 UTC-3, Federico Capoano >>>>> escreveu: >>>>> >>>>>> Please read this paragraph carefully: https://github.com/ >>>>>> openwisp/ansible-openwisp2#run-the-playbook >>>>>> >>>>>> if more people would contribute to the community we'd have better >>>>>> documentation. >>>>>> Unfortunately at the moment the number of users that are helping us >>>>>> to improve the documentation is close to zero. >>>>>> So either help us or at least take the time to read what's already >>>>>> provided. >>>>>> >>>>>> I hope this helps. >>>>>> >>>>>> Best regards >>>>>> Federico >>>>>> >>>>>> On Mon, Apr 16, 2018 at 4:27 PM Rafael Silva Daniel < >>>>>> rafaelsi...@gmail.com> wrote: >>>>>> >>>>> Please help me! >>>>>>> >>>>>>> so, the scenario: we have 48 enteresasys access points, that were >>>>>>> managed by a c5210 wireless controller, also from enterasys, but that >>>>>>> shit >>>>>>> simply died, i started in the company this year to propose open source >>>>>>> solutions, because here is a goverment office, we cant buy equipment so >>>>>>> easily because of beurocratical reasons, so we need to fix it with an >>>>>>> open >>>>>>> source solution, im reading about open wisp for a week now, i installed >>>>>>> openwisp using this how tos: >>>>>>> >>>>>>> http://openwisp.org/whatis.html >>>>>>> https://github.com/openwisp/ansible-openwisp2 >>>>>>> http://docs.ansible.com/ansible/latest/installation_guide/in >>>>>>> tro_installation.html >>>>>>> >>>>>>> after the process referenced by these how tos the outputwas: >>>>>>> >>>>>>> >>>>>>> root@OpenWISP-Deployer:~# ansible-playbook -i hosts playbook.yml -u >>>>>>> root -k --become -K >>>>>>> SSH >>>>>>> password: >>>>>>> SUDO password[defaults to SSH password]: >>>>>>> >>>>>>> PLAY [openwisp2] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> >>>>>>> TASK [Gathering Facts] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : include_tasks] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> included: /root/.ansible/roles/Stouts.postfix/tasks/postfix.yml for >>>>>>> OpenWISP2-Wireless-Controller >>>>>>> >>>>>>> TASK [Stouts.postfix : include_tasks] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> included: /root/.ansible/roles/Stouts.postfix/tasks/install.deb.yml >>>>>>> for OpenWISP2-Wireless-Controller >>>>>>> >>>>>>> TASK [Stouts.postfix : Install requirements (Debian)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=[u'postfix', >>>>>>> u'ca-certificates', u'mailutils', u'libsasl2-modules']) >>>>>>> >>>>>>> TASK [Stouts.postfix : Install DKIM requirements (Debian)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=[]) >>>>>>> >>>>>>> TASK [Stouts.postfix : Install postfix-pcre] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : include_tasks] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : include_tasks] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : include_tasks] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Ensure /etc/postfix directory is owned by >>>>>>> root user] ****************************** >>>>>>> ************************************************************ >>>>>>> ***************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix pt. 1] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=main.cf) >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=master.cf) >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix pt. 2] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix pt. 3] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix pt. 4] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix pt. 5] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix pt. 6] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix local user relay] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure postfix sender canonical maps] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Configure SystemD] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Ensure Postfix service is enabled (systemd)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [Stouts.postfix : Ensure Postfix is started] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set supervisor path (Debian)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set supervisor path (RedHat)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set www user (Debian)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set www user (RedHat)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set python3_package_prefix for >>>>>>> CentOS/RedHat] ****************************** >>>>>>> ************************************************************ >>>>>>> ******************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set python3_package_prefix for Fedora] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Update APT package cache] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install system packages] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=[u'sudo', >>>>>>> u'software-properties-common', u'build-essential', u'supervisor', >>>>>>> u'nginx', >>>>>>> u'openssl', u'libssl-dev', u'libffi-dev', u'python-dev', >>>>>>> u'redis-server']) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install spatialite] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=[u'sqlite3', >>>>>>> u'gdal-bin', u'libproj-dev', u'libgeos-dev', u'libspatialite-dev']) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install mod-spatialite (may fail on older >>>>>>> linux distros)] ****************************** >>>>>>> ************************************************************ >>>>>>> ******************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set_fact] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************** >>>>>>> [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead >>>>>>> of using `result|failed` instead use `result is failed`. This feature >>>>>>> will >>>>>>> be removed in version 2.9. Deprecation warnings can be >>>>>>> disabled by setting deprecation_warnings=False in ansible.cfg. >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install acl if acting as non-root user] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : ensure supervisor is started] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python2 packages] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=[]) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python3 packages] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=[u'python3', >>>>>>> u'python3-pip', u'python3-dev', u'python-virtualenv']) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python3-pyparsing] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=[]) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python wheel (optional, allowed >>>>>>> to fail)] ****************************** >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=[u'python-wheel', >>>>>>> u'python3-wheel']) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python3-virtualenv] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => >>>>>>> (item=[u'python3-virtualenv']) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install ntp] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install epel-release (if RedHat/Centos)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install system packages] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=sudo) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=gcc) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=supervisor) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=nginx) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=openssl) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=openssl-devel) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=libffi-devel) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=python-devel) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=redis) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=python-firewall) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => >>>>>>> (item=libsemanage-python) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => >>>>>>> (item=policycoreutils-python) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => >>>>>>> (item=redhat-rpm-config) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install spatialite] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=sqlite) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=gdal) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=proj-devel) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=geos-devel) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => >>>>>>> (item=libspatialite-devel) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set_fact] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : ensure supervisor is started] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : ensure nginx is enabled] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python2 packages] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=python-pip) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => >>>>>>> (item=python-virtualenv) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python3 packages] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python wheel (optional, allowed >>>>>>> to fail)] ****************************** >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install python3 virtualenv] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : (CentOS/RedHat) Always install pip] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************ >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : (CentOS/RedHat/Fedora) Install/upgrade >>>>>>> virtualenv via pip] ****************************** >>>>>>> ************************************************************ >>>>>>> ******************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install ntp] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set_fact] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set custom package list] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Add network_topology to custom package >>>>>>> list if set and enabled] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=False) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Update pip & related tools] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=pip) >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=setuptools) >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=wheel) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install openwisp2 controller and its >>>>>>> dependencies] ****************************** >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=openwisp-controller) >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=asgi_redis) >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=service_identity) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install openwisp2 network topology and >>>>>>> its dependencies] ****************************** >>>>>>> ************************************************************ >>>>>>> ********************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => >>>>>>> (item=openwisp-network-topology) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install custom OpenWISP 2 Python >>>>>>> packages] ****************************** >>>>>>> ************************************************************ >>>>>>> *********************************************** >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install extra python packages] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ***************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=bpython) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install uwsgi] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] => (item=uwsgi) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install psycopg2] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install MySQL-python] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install raven (sentry client)] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ***************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : openwisp_users present in settings.py?] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : multi-tenancy migration dumpdata] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : upload multitenancy_prepare_data.py >>>>>>> script] ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : prepare data for multitenancy migration] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : DROP sqlite database] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : DROP postgres database] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************ >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : CREATE postgres database] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : install python-mysqldb in system python >>>>>>> packages] ****************************** >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : DROP mysql database] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : CREATE mysql database] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : urls.py] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : upload generate_django_secret_key.py >>>>>>> script] ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : generate new django SECRET_KEY] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : get django SECRET_KEY] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set permission to secret key file] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set secret_key fact] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : settings.py] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : migrate] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set permissions to sqlite db] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : upload multitenancy_prepare_db.py script] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : prepare DB for multitenancy migration] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : multitenancy migration loaddata] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : create /opt/openwisp2] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : create "/opt/openwisp2/openwisp2"] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : create "/opt/openwisp2/log"] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : manage.py] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : __init__.py] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : urls.py] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : wsgi.py] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : asgi.py] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : upload generate_django_secret_key.py >>>>>>> script] ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : generate new django SECRET_KEY] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : get django SECRET_KEY] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set permission to secret key file] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set secret_key fact] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : settings.py] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : migrate] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : set permissions to sqlite db] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : collectstatic] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : create load_initial_data.py script] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************ >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : load initial data] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ***************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Configure firewall] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=http) >>>>>>> skipping: [OpenWISP2-Wireless-Controller] => (item=https) >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set http_can_network_connect] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set SELinux permissive mode (for testing >>>>>>> puropses)] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set correct labels for nginx logs] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Set label on log directory] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Relabel files] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************************* >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : uwsgi.ini] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : supervisor uwsgi] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : supervisor runworker] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : supervisor daphne] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ***************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : create "/opt/openwisp2/public_html"] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : create "/opt/openwisp2/ssl"] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ******************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : create SSL cert if not exists yet] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************* >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : nginx site available] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : nginx site enabled] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : nginx site] ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install topology update cron] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ****************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install topology snapshot save cron] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> *********************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Install clearsessions cronjob] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ***************************** >>>>>>> ok: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> TASK [openwisp.openwisp2 : Change superuser password hint] >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> **************************** >>>>>>> skipping: [OpenWISP2-Wireless-Controller] >>>>>>> >>>>>>> PLAY RECAP ****************************** >>>>>>> ************************************************************ >>>>>>> ************************************************************ >>>>>>> ********************************************** >>>>>>> OpenWISP2-Wireless-Controller : ok=54 changed=0 unreachable=0 >>>>>>> failed=0 >>>>>>> >>>>>>> >>>>>>> so, now theres no instructions on how to access the openwisp page >>>>>>> admin, i dont mind reading, but i sincerely dont found any indepth >>>>>>> documentation, if anyone could at least point me to a more detailed >>>>>>> reading >>>>>>> about ansible, sadly i dont have any backgroud in python or ansible :(, >>>>>>> please help me! >>>>>>> >>>>>>> -- >>>>>>> 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. >>>>>>> >>>>>> -- >>>>> 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+unsubscr...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> 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+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> 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+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> 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+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.