AstDB shows warnings in CLI for every module after click on submit button in web configuration

Hello guys,
I wanted to share an issue I encountered with my FreePBX16 - 16.0.40.3 clear installation. After making changes in the web configuration and clicking on “Submit” for a specific module, an error message appears.

For instance, when I navigate to “Application - Extensions - extension 101” and click on “Submit,” the FreePBX CLI displays the following warnings:

[2023-07-25 15:14:42] WARNING[10262]: db.c:485 ast_db_del2: AstDB key /AMPUSER/101/screen does not exist
[2023-07-25 15:14:42] WARNING[10262]: db.c:485 ast_db_del2: AstDB key /AMPUSER/101/dialopts does not exist
[2023-07-25 15:14:42] WARNING[10262]: db.c:485 ast_db_del2: AstDB key /AMPUSER/101/screen does not exist
[2023-07-25 15:14:42] WARNING[10262]: db.c:485 ast_db_del2: AstDB key /AMPUSER/101/pinless does not exist
[2023-07-25 15:14:42] WARNING[10262]: db.c:485 ast_db_del2: AstDB key /DEVICE/101/emergency_cid does not exist

Furthermore, a similar warning appears when dealing with Inbound routes:

WARNING[10651]: db.c:485 ast_db_del2: AstDB key /allowlist/did/ does not exist

I am unsure if I need to fill up these variables or if they are essential. Are these warnings indicative of a problem with the database, or can I safely ignore them?

Additionally, I’m curious if there are plans to address these warnings in future versions of FreePBX. From my experience with version 15, I didn’t encounter this issue.

Any insights or guidance you can provide would be greatly appreciated.

Thank you all.

Warnings in asterisk CLI in general can be ignored. Especially if they are not really causing any problems with usage of the system.

Specially when the warnings are for something that is being deleted but can’t be deleted because it doesn’t exist (it was never set or deleted already)

Thank you for your response,

I installed the same version of FreePBX on another machine, and it appears to be working fine. Therefore, there must be an issue with the previously installed FreePBX.

Here’s the solution that worked for me:

For me works this:

  • run yum update -y
  • run asterisk-version-switch
  • Select asterisk version 18 - same as I already have
  • run fwconsole ma updateall
  • run fwconsole r
  • run fwconsole restart

After following these steps, I didn’t encounter the warnings mentioned earlier.

However, I’m still uncertain about the root cause of this issue. If anyone has faced a similar problem and conducted further research or has any ideas, please share with me.

Thank you, everyone.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.