All of my modules updated nicely this morning, except core.
When I try to update core, I get this error message on the console:
~# fwconsole ma install core
Updating tables trunks, pjsip, sip, dahdi, iax, indications_zonelist, devices, users, incoming, dahdichandids, outbound_route_patterns, outbound_route_sequence, outbound_route_trunks, outbound_routes, outbound_route_email, trunk_dialpatterns…
In ExceptionConverter.php line 117:
An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column ‘description’ at row 557
In Exception.php line 28:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column ‘description’ at row 557
In Connection.php line 32:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column ‘description’ at row 557
moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–format FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] […]
I think one of our database tables might have too much information stored in the description field, but how would I find which table it’s complaining about to look at the database and see if we have a row I need to tweak?
I tried to downgrade back to the version we were on, and it would not let me do that either. Here’s what module we were on and I tried to upgrade to:
| core | 17.0.18.14 | Online upgrade available (17.0.18.23) | GPLv3+ | Sangoma |
Here’s the output I see when I try to go back to the version we had installed:
~# fwconsole ma downloadinstall core --tag 17.0.18.14 -f
No repos specified, using: [commercial,standard] from last GUI settings
Starting module download from https://mirror.freepbx.org/modules/packages/core/core-17.0.18.14.tgz.gpg …
Processing
Downloading…
1176216/1176216 [============================] 100%
Finished downloading
Extracting…Done
Module https://mirror.freepbx.org/modules/packages/core/core-17.0.18.14.tgz.gpg successfully downloaded
Updating tables trunks, pjsip, sip, dahdi, iax, indications_zonelist, devices, users, incoming, dahdichandids, outbound_route_patterns, outbound_route_sequence, outbound_route_trunks, outbound_routes, outbound_route_email, trunk_dialpatterns…
In ExceptionConverter.php line 117:
An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column ‘description’ at row 557
In Exception.php line 28:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column ‘description’ at row 557
In Connection.php line 32:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column ‘description’ at row 557
moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–format FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] […]