OpenSIPS / opensips-cli

OpenSIPS CLI tool - an interactive command line tool that can be used to control and monitor OpenSIPS servers.
GNU General Public License v3.0
84 stars 46 forks source link

PostgreSQL - ERROR: no module 'database' loaded #76

Open zi-l opened 3 years ago

zi-l commented 3 years ago

issue

opensips-cli -x database create command is always skipping module 'database'

I've installed

sudo apt install python3 python3-pip python3-dev gcc default-libmysqlclient-dev \
                 python3-mysqldb python3-sqlalchemy python3-sqlalchemy-utils \
                 python3-openssl

sudo apt-get install opensips-postgres-module
sudo apt-get install python3-psycopg2

and according to db_postgres.html#dependencies

sudo apt-get install libpq5 libpq-dev

the schema path /usr/share/opensips: image

env

os: ubuntu 18.04
opensips: 3.1.1 (x86_64/linux)
opensips-cli: 0.1.0
postgresql:  13+223.pgdg18.04+1
crrazyman commented 1 year ago

Hello,

I'm having the exact same issue, please help us