If you start getting unexpected exceptions related to the database, or some packages(add-ons, Asterisk, others) didn’t get updated after updating from the VitalPBX’s GUI, it is possible that the update process didn’t finish correctly. If this happens, try the instructions below.
Get into the Linux console and execute the commands below to complete any incomplete transaction and deleting duplicate packages.
apt clean all
apt update
apt upgrade -y