Upgrading to MariaDB 10.3 on the server with BILLmanager can lead to issues in the billing panel. To resolve the issues, change the SQL operating mode: 

  1. Connect to the server with BILLmanager through SSH with the superuser permissions (root per default). 
  2. Add the string sql-mode="" into the section [mysqld] of the MariaDB configuration file/etc/my.cnf.

  3. Restart MariaDB: 

    systemctl restart mariadb
    CODE
  4. Restart BILLmanager: 

    /usr/local/mgr5/sbin/mgrctl -m billmgr exit
    CODE
  5. Upload a list of time zone:

    mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql
    CODE

Example of the MariaDB configuration after modification: 

The my.cnf file

[mysqld]
sql-mode=""
local-infile=0
innodb_file_per_table = 1
pid-file = /var/run/mysqld/mysqld.pid
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid
CODE