Recreate all config files in Freepbx from database

I did an upgrade last night on a RC system to current. I probably did it the wrong way which left it looking great, but this morning we had no incoming calls on handsets.

The procedure I used to upgrade was an apt dist-upgrade, which did all but Asterisk which was held back. I then did an apt install on the two Asterisk packages.

This left me with a lot of tampered package messages and a couple of missing packages, but I added the missing packages with fwconsole ma install xxxx which fixed that followed by a fwconsole ma refreshsignatures

Finally, I updated a couple of outstanding packages and I had a clean running system.

However, this morning the client rang complaining that they were not receiving calls. I could see the calls were going into the queue, but no phones ringing. A quick check showed that phones could all make, but not receive calls. I found that by touching an extension by simply bringing it up, hitting submit, then applying, it was fixed. I did this for all handsets and they seem to be fine.

I am concerned that there may be some other config files though, that are out of sync with the database after the upgrade. Is there a fwconsole command to force Freepbx to regenerate all config files?

Cheers

your version of FreePBX is ? what are your repos in apt ? dist-upgrade might be rash

freepbx is 17.1-1.sng12 according to apt, but 17.0.19.12 according to the dashboard.
Asterisk is 21.4.3-1.sng12