Hello Ajay, Wow, thank you very much for such effort! I really appreciate your help. I follow the installation instructions ( https://openwisp.io/docs/user/quickstart.html#install-the-openwisp-2-server) and install openwisp2 to the Pi, which was running debian buster 64 from my linux mint (a derivative of ubuntu).
In the instruction, after installing ansible and git, I also install the role 'ansible-galaxy install openwisp.openwisp2', which matches that of the playbook.yml file (line 4, in the instruction). You mention in the playbook.yml the role 'ansible.openwisp2', would that have any ... consequences!? Also my playbook.yml is just like that of the installation instruction, would that .. cause any issue!? I'm not quite sure where I would have set the '_pip' as 'true', since I just strictly followed the instructions. Although, I did upgrade pip to the latest version prior to the installation ( Last weekend, I replaced the os on the Pi with Ubuntu 20.04, it took quite a bit longer to install but still got error messages, albeit different ones, and a super long one! I attached the log file here. I'll try to replace the os on the Pi this weekend with Debian Buster again, and try your suggestions, see how that goes. I'll keep you posted. Again, many thanks for your help and best regards, Sinh On Tue, Dec 8, 2020 at 2:15 PM Ajay Tripathi <[email protected]> wrote: > Hi, > > I ran it on my Pi, > > I changed your playbook to the following: > > ``` > - hosts: raspi > become: true > roles: > - ansible-openwisp2 > vars: > openwisp2_default_from_email: "openwisp@{{ inventory_hostname }}" > openwisp2_notifications_pip: true > openwisp2_notifications_delete_old_notifications: 60 > openwisp2_celery_broker_max_tries: 10 > openwisp2_network_topology: true > openwisp2_extra_python_packages: [bpython] > openwisp2_language_code: "it-it" > openwisp2_time_zone: "UTC" > openwisp2_ssl_state: "Italia" > openwisp2_ssl_locality: "Matera" > openwisp2_ssl_organization: "Ninux Basilicata" > openwisp2_http_allowed_ip: "10.8.0.0/16" > # Variabili per nginx > openwisp2_nginx_ipv6: true > openwisp2_nginx_spdy: true > openwisp2_nginx_ssl_config: > gzip: "on" > gzip_comp_level: "6" > gzip_proxied: "any" > gzip_min_length: "1000" > gzip_types: > - "text/plain" > - "image/svg+xml" > - "application/json" > - "application/javascript" > - "text/xml" > - "text/css" > - "application/xml" > - "application/x-font-ttf" > - "font/opentype" > ``` > > Two things: > > 1. I don't know why did you set the `_pip` as `true`, these options want > link from where you want to install your custom openwisp project. > 2. I faced a problem version mismatch problem while installation, I solved > it by `sudo apt-get install python3-cffi` if you face that on the step > [openwisp.openwisp2 : Install openwisp2 controller and its dependencies], > try it, let me know if that works out. > > > Best, > Ajay Tripathi > > -- > You received this message because you are subscribed to a topic in the > Google Groups "OpenWISP" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/openwisp/4e__ZUPDy04/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/e5b9fc28-21e3-4d70-bb52-e47677e12cbbn%40googlegroups.com > <https://groups.google.com/d/msgid/openwisp/e5b9fc28-21e3-4d70-bb52-e47677e12cbbn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sinh -- 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 [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAJDfUHUjzzH5CmPbpzQwzZbjkSFNf%2BBrpEi0ervXchTv%2BtMigg%40mail.gmail.com.
ansible.log
Description: Binary data
