Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default opensips-cli config #126

Open
Ali-Dogan opened this issue Apr 26, 2024 · 1 comment
Open

Default opensips-cli config #126

Ali-Dogan opened this issue Apr 26, 2024 · 1 comment
Assignees

Comments

@Ali-Dogan
Copy link

Hello Team,

I have compiled both Opensips and opensips-cli from source code. However, when tried to run "opensips-cli -x database create" I got following errors;

ERROR: path '/usr/share/opensips' to OpenSIPS DB scripts does not exist!
fixed with adding following line to config file "database_schema_path: /usr/local/share/opensips"

After that I found that some tables missing after running the table and fixed the issue with adding following line to config file as well;
database_modules: All

I think both of those parameters should be in default config.

version: opensips 3.2.18 (x86_64/linux)
and using Mysql.

@liviuchircu liviuchircu self-assigned this May 27, 2024
liviuchircu added a commit that referenced this issue May 27, 2024
This should improve CLI's behavior in scenarios where OpenSIPS is
installed from sources (make && make install).

Related to #126
@liviuchircu
Copy link
Member

liviuchircu commented May 27, 2024

Hi @Ali-Dogan and thanks for the report! While I fixed problem 1, do you remember which tables it complained about, with regards to problem 2? Because the issue might be somewhere else and we should perhaps update the STANDARD_DB_MODULES global variable inside the CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants