Open minhng99 opened 1 year ago
this issue get fixed by adding the sslmode: disable
into settings.py
...
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'openwisp2',
'USER': 'openwisp',
'PASSWORD': 'openwisp',
'HOST': 'localhost',
'PORT': '5432',
'OPTIONS': {
'sslmode': 'disable',
},
}
}
...
@minhng99 is this happening with the latest master or which version?
May be related: #31637 Registering database connections for cleanup on fork.
It's the released Ansible version 22.05.3
openwisp-controller 1.0.3
openwisp-firmware-upgrader 1.0.1
openwisp-ipam 1.0
openwisp-monitoring 1.0.4
openwisp-notifications 1.0.3
openwisp-users 1.0.2
openwisp-utils 1.0.4
postgresql-13-postgis-3-scripts/oldstable,now 3.1.1+dfsg-1+deb11u1 all [installed,automatic]
postgresql-13-postgis-3/oldstable,now 3.1.1+dfsg-1+deb11u1 amd64 [installed]
postgresql-13/oldstable-security,now 13.11-0+deb11u1 amd64 [installed,automatic]
postgresql-client-13/oldstable-security,now 13.11-0+deb11u1 amd64 [installed,automatic]
postgresql-client-common/oldstable,now 225 all [installed,automatic]
postgresql-common/oldstable,now 225 all [installed,automatic]
I'm getting this issue during assigning firmware to a device, running on Debian 11 and installed using the ansible script, using psql 13 as db backend. This resulted in the firmware upgrade process on OpenWISP being stuck at status
in progress
and never timed out.