Package: bacula-director-pgsql Version: 5.0.1-1~bpo50+1 Severity: normal Hello,
after upgrading from Lenny's bacula to Squeeze's, I found that the director, and hence the backups, no longer run. The logs have this to say about the problem: 06-Jun 16:53 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 06-Jun 16:53 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula". 06-Jun 16:53 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 06-Jun 16:53 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf I opted for dbconfig to handle the database for me, but obviously, it didn't work. After manually running the scripts in /usr/share/dbconfig-common/data/bacula-director-pgsql/upgrade/pgsql, which resulted in an error because one index already existed, bacula-dir started again. The error message was: ERROR: relation "file_jpfid_idx" already exists I checked using psql, but since the index was the same than the one already there, I now assume that the database has been upgraded. It would be MUCH better, however, if this would happen automatically. Kind regards, --Toni++ -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (990, 'stable'), (500, 'proposed-updates'), (450, 'testing'), (250, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bacula-director-pgsql depends on: ii bacula-common 5.0.1-1~bpo50+1 network backup, recovery and verif ii bacula-common-pgsql 5.0.1-1~bpo50+1 network backup, recovery and verif ii bacula-director-common 5.0.1-1~bpo50+1 network backup, recovery and verif ii dbconfig-common 1.8.39 common framework for packaging dat ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libpq5 8.3.11-0lenny1 PostgreSQL C client library ii libssl0.9.8 0.9.8g-15+lenny6 SSL shared libraries ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra ii postgresql-client 8.3.11-0lenny1 front-end programs for PostgreSQL ii postgresql-client-8.2 [ 8.2.7-1~bpo40+2 front-end programs for PostgreSQL ii postgresql-client-8.3 [ 8.3.11-0lenny1 front-end programs for PostgreSQL ii python2.5 2.5.2-15+lenny1 An interactive high-level object-o Versions of packages bacula-director-pgsql recommends: ii postgresql 8.3.11-0lenny1 object-relational SQL database (su ii postgresql-8.2 8.2.7-1~bpo40+2 object-relational SQL database, ve ii postgresql-8.3 8.3.11-0lenny1 object-relational SQL database, ve Versions of packages bacula-director-pgsql suggests: pn postgresql-contrib <none> (no description available) pn postgresql-doc <none> (no description available) -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org