Upgrade of System Modules (16.27.x -> 16.28.x) now shows astDB field warnings on existing + new extensions

Recently applied a system upgrade via [module admin]->[system upgrades] in FreePBX 15.0.23.25. No issues in the upgrade.

Now, when I modify an extension, add a new extension, delete an extension, I get WARNINGs on EVERY EXTENSIONS in the system for astDB attributes that ‘do not exist’ including an example of each type of warning shown below. But would be for every extension:


[2022-10-04 04:16:12] WARNING[32314]: db.c:485 ast_db_del2: AstDB key /AMPUSER/0210149/accountcode does not exist
[2022-10-04 04:15:46] WARNING[31451]: db.c:485 ast_db_del2: AstDB key /AMPUSER/0000100/screen does not exist
[2022-10-04 04:15:46] WARNING[31451]: db.c:485 ast_db_del2: AstDB key /DEVICE/0000100/emergency_cid does not exist
[2022-10-04 04:15:47] WARNING[31451]: db.c:485 ast_db_del2: AstDB key /AMPUSER/0000100/dialopts does not exist
[2022-10-04 04:15:47] WARNING[31451]: db.c:485 ast_db_del2: AstDB key /AMPUSER/0000100/screen does not exist
[2022-10-04 04:15:47] WARNING[31451]: db.c:485 ast_db_del2: AstDB key /AMPUSER/0000100/pinless does not exist

I have examined the contents of the astdb.sqlite3 DB, and sure enough, these attributes for each extension do not exist in the DB. That’s the way it has been for a couple of years now.

All of my extensions (because I have so many) are performed through a bulk import. I believe that I can add the fields ‘accountcode’ and ‘emergency_cid’ to my spreadsheets and re-import to clean up those warnings.

But the other fields don’t map to anything that can be bulk imported into FreePBX.

I am looking for confirmation that these warnings are NOT critical and are fine the way they are. I suspect that something in the asterisk upgrade now checks for these missing extension fields/attributes which weren’t checked in previous versions.

I have also restored an older backup version of the system, prior to the upgrade shown in the image above on my test system, and confirmed that there are no warnings, noted above for the extensions. Once the system upgrade is performed, then I see the warnings on any extension changes, or additions

Andy

Hi and welcome to our FreePBX community.

Try to connect on your system through the console SSH.

  • run yum update -y
  • run asterisk-version-switch
  • Select any asterisk version (16) if you want.
  • run fwconsole ma updateall
  • run fwconsole r
  • run fwconsole restart

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