Closed Lt-Flash closed 3 years ago
Hey, @Lt-Flash! Thank you for the accurate instructions and apologies for the delay. I reproduced this issue on the spot and I'm looking into ways of fixing it. Most likely, the solution will be to add a python3-pymysql
dependency for Debian-like systems -- just want to double-check there are no package naming exceptions to handle before pushing the fix.
Hi, After installing OpenSIPS-CLI from APT sources (https://apt.opensips.org/packages.php?v=cli) I tried to migrate database from 2.4 to 3.0 and found that one missing dependancy exists under Ubuntu Linux 18.04.5 LTS (at least): python3-pymysql. When trying to run 'opensips-cli -x database migrate' I was getting:
After installing
apt install python3-pymysql
:The issue is fixed. I believe that MySQL or PgSQL modules should be added to dependancies of opensips-cli? Or at least some warning should exist saying that you need to install appropriate module yourself instead of just falling to an error. Thanks!