Sometime could happen that your bacula database is misaligned with the software version, with these steps you can upgrade it
$ sudo su - postgres /usr/lib/bareos/scripts/update_bareos_tables
$ sudo su - postgres /usr/lib/bareos/scripts/grant_bareos_privileges
$ sudo su - postgres -c “/usr/sbin/bareos-dbcheck -B -c /etc/bareos/bareos-dir.conf”
$ sudo /etc/init.d/bareos-dir restart