Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12633

Database issue when updating from 15 to 16

$
0
0

In case anyone else has this issue…

Had to update a 15 system to 16 last week. The version update tool failed miserably so went onld school, created a snapshot for fallback then did a full backup on 15, installed 16 from scratch and restored the backup.

seemed to go ok until I had to change the endpoint manager templates and tried to save them. Got an error that the field plarNumber doesn’t exist in the table.

The template did save though and had the right info in it. Tried to get the sangoma phones to connect for a bit and they just didn’t seem to be getting the updated template info. Looked at a phone’s web ui and sure enough the old info was still there even after a factory reset.

Turns out because of the fields missing in the asterisk.endpoint_templates table:

| plarNumber | varchar(255) | YES | | NULL | |
| plarTimeout | varchar(2) | YES | | 0 | |
| ldapFNameFilter | varchar(100) | YES | | NULL | |
| ldapLNameFilter | varchar(100) | YES | | NULL | |
| ldapSearchFilter | varchar(100) | YES | | NULL | |
| ldapDialStringsToggle | varchar(2) | YES | | NULL | |
| ldapDialStringsConfig | varchar(4096) | YES | | NULL | |
| phonesWebUIToggle | varchar(2) | YES | | NULL | |

the template was saving in the EPM UI but the phone configs were not rewriting.

I had to look at another Distro16 system’s table to get the fields and add them in manually to the table for things to work.

I haven’t encountered any other issues or db errors popping up but my confidence isn’t really high on there not being more issues.

After adding those fields in manually, then rebuilding all the templates in EPM the phones conneccted properly.

6 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 12633

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>