I have the same problem with edge version of openwisp. However, this solution is not helping. I tried changing the owner using chown as mentioned in the github link on the container bash for the dashboard container but nginx continues to give 502 error. Without "edge" version nginx does not even show the web page. Just keeps resetting. Edge version fixes that problem at least. Any ideas ?
On Thursday, August 27, 2020 at 8:40:10 AM UTC-7 [email protected] wrote: > Hi, > > I replied to this same question on github: > https://github.com/openwisp/ansible-openwisp2/issues/202#issuecomment-682027532 > > F. > > On Thu, Aug 27, 2020 at 1:35 AM Matthew Firth <[email protected]> wrote: > >> >> This problem occurs in both Debian 10 and Ubuntu 18.04 >> >> Not doing anything fancy just attempting a plain vanilla install. >> >> Any help would be appreciated >> >> Using a plain playbook: >> >> - hosts: openwisp2 >> become: "{{ become | default('yes') }}" >> roles: >> - openwisp.openwisp2 >> vars: >> openwisp2_default_from_email: "[email protected]" >> >> with this in the hosts: with my url >> >> [openwisp2] >> openwisp2.mydomain.com >> >> And successfully running >> >> ansible-playbook -i hosts playbook.yml -u ansible -k --become -K >> >> The admin page produces a 502 Bad gateway >> >> The nginx error log produces: >> >> 2020/08/27 06:25:54 [error] 15584#15584: *9 connect() failed (111: >> Connection refused) while connecting to upstream, client: 47.32.121.71, >> server: myhost.com, request: "GET /admin HTTP/1.1", upstream: "uwsgi:// >> 127.0.0.1:3031", host: "myhost.com" >> >> -- >> 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/972389d7-c245-4017-8f42-14fa88b980acn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/openwisp/972389d7-c245-4017-8f42-14fa88b980acn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/59568708-804e-4117-88a1-aa385f8e6449n%40googlegroups.com.
