[pkg-bacula-devel] Status/The database update

Sven Hartge sven at svenhartge.de
Thu Jan 25 13:02:53 GMT 2024


On 23.01.24 18:17, Carsten Leonhardt wrote:
> Hi,
> 
> piuparts on salsa fails because the upgrade bacula-director-mysql from
> 9.6.7-7 to experimental fails:
> 
> dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf
> creating database backup in /var/cache/dbconfig-common/backups/bacula-director-mysql_9.6.7-7.2024-01-23-12.21.12.
> applying upgrade sql for 9.6.7-7 -> 11.0.0.
> error encountered processing /usr/share/dbconfig-common/data/bacula-director-mysql/upgrade/mysql/11.0.0:
> mysql said: ERROR 1054 (42S22) at line 28: Unknown column 'FilenameId' in 'from clause'
> dbconfig-common: bacula-director-mysql configure: aborted.


I do not understand this as well, because the FilenameId exists in the 
Filename table and running the SELECT part of the clause works fine in 
my 9.6.7 installation.

My guess would be that the new 9.6.7-7 installation piuparts creates 
differs in the schema from a "lived-in" installtion that has been 
upgraded before.

Grüße,
Sven.



More information about the pkg-bacula-devel mailing list