[pkg-bacula-devel] Bug#825064: Bug#825064: Bacula director does not start silently due to database mismatch

Klaus Ethgen Klaus at Ethgen.de
Mon May 23 14:44:28 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Am Mo den 23. Mai 2016 um 12:31 schrieb Carsten Leonhardt:
> did you allow dbconfig common to update the database? Please send the

Sure.

> output of:
> 
> fgrep dbc_upgrade /etc/dbconfig-common/bacula-director-sqlite3.conf

~> fgrep dbc_upgrade /etc/dbconfig-common/bacula-director-sqlite3.conf
# dbc_upgrade: upgrade database with dbconfig-common?
dbc_upgrade='true'

> If it shows dbc_upgrade='true', could you please check for relevant
> messages in /var/log/apt/term.log around the line
> 
> "applying upgrade sql for 7.0.5+dfsg-4 -> 7.2.0"

There is no such line.

More over, I did update direct from 7.0.5 to 7.4.0.. There was no
intermediate package available. (Ah, and I grep for "applying" and there
is no such line, just in case you might ask.)

> If you didn't allow the automatic upgrade, you can find the update
> script in /usr/share/bacula-director/update_sqlite3_tables. Please copy
> that and change "db_name=XXX_DBNAME_XXX" to "db_name=bacula" before
> running it. That's due to an oversight I just noticed because of a last
> minute change to work around something else.

Well, I just did
   sqlite3 bacula.db < /usr/share/dbconfig-common/data/bacula-director-sqlite3/upgrade/sqlite3/7.2.0

And was back online.

But as I told, that is nothing for a casual user nor should that be
needed without notice.

Regards
   Klaus
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus at Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Charset: ISO-8859-1

iQGcBAEBCgAGBQJXQxdFAAoJEKZ8CrGAGfasfJIL/RruqxQO60IWHFCfKu/quk8W
imYU3alTflO0MTXsJbvOpUfUk4dQ1Jso4bIXj2tvqufyycI/kuhYB579y6JDivry
N7E4qSdddLp11uxNVCUe900eYFsW1AQ/HnBPjFlBoQlMviepLA0gGw+RQt1DFDXJ
i710JotGj8Kbs46NJ2g4dUkT5VuIe+NVOsaNrMulench8IyN5K68M4U6ImoLT+/B
j2UdXoQ3lLGfPekOZ36u6ymZZ8VvcLSQ4tIAES7vWE4/NnFqBDw3Ey/1zEaBUAJz
F2F/7zPgLrWQatvgCcXWSGjYz2Zmse/hyhvhmH7w7FYEUGWjWG6iT6WQW0r7qic/
ESjOlIr3Q72vjNqdZO8iMkke0g+MhQAIxu+775o00GyMMt33TlmEb1lutpfxRrru
UhwDPpE7o7mMtczuMrt493izl4z1M0ZRyGQK6pTxw7Il/+J1QilQFzqY32/uzu3P
7QS6bjWCNbXlBdNg7ZLUX+plbtj5XGxnVNlbA8skiw==
=uhKy
-----END PGP SIGNATURE-----



More information about the pkg-bacula-devel mailing list