Page 1 of 1

Postconfig error after update to version 1.8.2

Published: March 21, 2022 - 09:32
by Didier19
Good morning,

I am turning to you in order to find a solution to my problem.

I just updated the Community version from version 1.8.1 to version 1.8.2
When finalizing the update (/opt/wapt/waptserver/scripts/postconf.sh) I receive this error:


Code: Select all

root@wapt:~# /opt/wapt/waptserver/scripts/postconf.sh
Traceback (most recent call last):
  File "/opt/wapt/waptserver/scripts/postconf.py", line 51, in <module>
    from waptserver.model import init_db, upgrade_db_structure, load_db_config
  File "/opt/wapt/waptserver/model.py", line 40, in <module>
    from playhouse.postgres_ext import *
  File "/opt/wapt/lib/python2.7/site-packages/playhouse/postgres_ext.py", line 24, in <module>
    from psycopg2.extras import register_hstore
  File "/opt/wapt/lib/python2.7/site-packages/psycopg2/__init__.py", line 51, in <module>
    from psycopg2._psycopg import (                     # noqa
ImportError: /opt/wapt/lib/python2.7/site-packages/psycopg2/_psycopg.so: undefined symbol: PQencryptPasswordConn
My Debian version is: 10.3

My version of WAPT: 1.8.2.7393-75a5de09-debian-10-amd64

do you have any idea idea: :?:
THANKS

Re: Postconfig error after update 1.8.2

Published: March 25, 2022 - 4:25 PM
by dcardon
Hello Didier19,

what version of PostgreSQL is installed on this machine? Was the machine upgraded from a deb9 version? Could there be two versions of PostgreSQL installed in parallel? Is it indeed the PostgreSQL version from the distribution?

Regards,

Denis