I ran yum update -y and later found out the problem. I guess I have some
Bacula rpm repo set up. 

br. jarif 

Wanderlei Huttel kirjoitti 15.8.2017 22:14:

> Hello Jari 
> 
> What update file did you run? 
> 
> Atenciosamente  
> 
> WANDERLEI HÜTTEL 
> http://www.huttel.com.br 
> 2017-08-15 15:47 GMT-03:00 Jari Fredriksson <ja...@iki.fi>:
> 
>> I just upgraded and Bacula got updated. 
>> 
>> How  ever, the database did not upgrade automatically. This is a CentOS 7 
>> installation. 
>> 
>> [root@backup ~]# cd /usr/share/doc/bacula-director-9.0.3/updatedb 
>> 
>> [root@backup updatedb]# ll 
>> 
>> total 260 
>> 
>> -rw-r--r--. 1 root root   845 Aug  8 08:39 README 
>> 
>> -rw-r--r--. 1 root root   963 Aug  8 08:39 update_bacula_tables.in [1] 
>> 
>> -rw-r--r--. 1 root root   485 Aug  8 08:39 update_bacula_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  3948 Aug 15 13:24 update_mysql_tables 
>> 
>> -rw-r--r--. 1 root root  3957 Aug  8 08:39 update_mysql_tables.in [2] 
>> 
>> -rwxr-xr-x. 1 root root  2172 Aug 15 13:24 update_mysql_tables_10_to_11 
>> 
>> -rw-r--r--. 1 root root  2181 Aug  8 08:39 update_mysql_tables_10_to_11.in 
>> [3] 
>> 
>> -rwxr-xr-x. 1 root root  2422 Aug 15 13:24 update_mysql_tables_11_to_12 
>> 
>> -rw-r--r--. 1 root root  2431 Aug  8 08:39 update_mysql_tables_11_to_12.in 
>> [4] 
>> 
>> -rw-r--r--. 1 root root  1586 Aug  8 08:39 update_mysql_tables_4_to_5 
>> 
>> -rw-r--r--. 1 root root  2491 Aug  8 08:39 update_mysql_tables_5_to_6 
>> 
>> -rw-r--r--. 1 root root  2314 Aug  8 08:39 update_mysql_tables_6_to_7 
>> 
>> -rw-r--r--. 1 root root  1364 Aug  8 08:39 update_mysql_tables_7_to_8 
>> 
>> -rw-r--r--. 1 root root  3264 Aug  8 08:39 update_mysql_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  2569 Aug 15 13:24 update_mysql_tables_9_to_10 
>> 
>> -rw-r--r--. 1 root root  2578 Aug  8 08:39 update_mysql_tables_9_to_10.in 
>> [5] 
>> 
>> -rw-r--r--. 1 root root  3970 Aug 15 13:24 update_postgresql_tables 
>> 
>> -rw-r--r--. 1 root root  3984 Aug  8 08:39 update_postgresql_tables.in [6] 
>> 
>> -rwxr-xr-x. 1 root root  1347 Aug 15 13:24 update_postgresql_tables_10_to_11 
>> 
>> -rw-r--r--. 1 root root  1361 Aug  8 08:39 
>> update_postgresql_tables_10_to_11.in [7] 
>> 
>> -rwxr-xr-x. 1 root root  2938 Aug 15 13:24 update_postgresql_tables_11_to_12 
>> 
>> -rw-r--r--. 1 root root  2952 Aug  8 08:39 
>> update_postgresql_tables_11_to_12.in [8] 
>> 
>> -rw-r--r--. 1 root root  2071 Aug  8 08:39 update_postgresql_tables_7_to_8 
>> 
>> -rw-r--r--. 1 root root  4252 Aug  8 08:39 update_postgresql_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  2492 Aug 15 13:24 update_postgresql_tables_9_to_10 
>> 
>> -rw-r--r--. 1 root root  2506 Aug  8 08:39 
>> update_postgresql_tables_9_to_10.in [9] 
>> 
>> -rw-r--r--. 1 root root  5659 Aug 15 13:24 update_sqlite3_tables 
>> 
>> -rw-r--r--. 1 root root  5665 Aug  8 08:39 update_sqlite3_tables.in [10] 
>> 
>> -rwxr-xr-x. 1 root root  8408 Aug 15 13:24 update_sqlite3_tables_10_to_11 
>> 
>> -rw-r--r--. 1 root root  8414 Aug  8 08:39 update_sqlite3_tables_10_to_11.in 
>> [11] 
>> 
>> -rwxr-xr-x. 1 root root  2206 Aug 15 13:24 update_sqlite3_tables_11_to_12 
>> 
>> -rw-r--r--. 1 root root  2212 Aug  8 08:39 update_sqlite3_tables_11_to_12.in 
>> [12] 
>> 
>> -rw-r--r--. 1 root root 11201 Aug  8 08:39 update_sqlite3_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  8404 Aug 15 13:24 update_sqlite3_tables_9_to_10 
>> 
>> -rw-r--r--. 1 root root  8410 Aug  8 08:39 update_sqlite3_tables_9_to_10.in 
>> [13] 
>> 
>> -rw-r--r--. 1 root root  8389 Aug  8 08:39 update_sqlite_tables_10_to_11.in 
>> [14] 
>> 
>> -rw-r--r--. 1 root root  4525 Aug  8 08:39 update_sqlite_tables_4_to_5 
>> 
>> -rw-r--r--. 1 root root  5332 Aug  8 08:39 update_sqlite_tables_5_to_6 
>> 
>> -rw-r--r--. 1 root root  6666 Aug  8 08:39 update_sqlite_tables_6_to_7 
>> 
>> -rw-r--r--. 1 root root  4571 Aug  8 08:39 update_sqlite_tables_7_to_8 
>> 
>> -rw-r--r--. 1 root root 11200 Aug  8 08:39 update_sqlite_tables_8_to_9 
>> 
>> -rw-r--r--. 1 root root  8442 Aug  8 08:39 update_sqlite_tables_9_to_10.in 
>> [15] 
>> 
>> [root@backup updatedb]# bacula-dir -f -t 
>> 
>> bacula-dir: dird.c:1152-0 Could not open Catalog "MyCatalog", database 
>> "bacula". 
>> 
>> bacula-dir: dird.c:1157-0 Version error for database "bacula". Wanted 16, 
>> got 15 
>> 
>> 15-Aug 21:40 bacula-dir ERROR TERMINATION 
>> 
>> Please correct configuration file: bacula-dir.conf 
>> 
>> [root@backup updatedb]# bacula-dir --version 
>> 
>> bacula-dir: invalid option -- '-' 
>> 
>> Copyright (C) 2000-2017 Kern Sibbald. 
>> 
>> Version: 9.0.3 (08 August 2017)
>> 
>> -- 
>> ja...@iki.fi 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users [16]

-- 
ja...@iki.fi 

Links:
------
[1] http://update_bacula_tables.in
[2] http://update_mysql_tables.in
[3] http://update_mysql_tables_10_to_11.in
[4] http://update_mysql_tables_11_to_12.in
[5] http://update_mysql_tables_9_to_10.in
[6] http://update_postgresql_tables.in
[7] http://update_postgresql_tables_10_to_11.in
[8] http://update_postgresql_tables_11_to_12.in
[9] http://update_postgresql_tables_9_to_10.in
[10] http://update_sqlite3_tables.in
[11] http://update_sqlite3_tables_10_to_11.in
[12] http://update_sqlite3_tables_11_to_12.in
[13] http://update_sqlite3_tables_9_to_10.in
[14] http://update_sqlite_tables_10_to_11.in
[15] http://update_sqlite_tables_9_to_10.in
[16] https://lists.sourceforge.net/lists/listinfo/bacula-users

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to