View Issue Details

IDProjectCategoryView StatusLast Update
0000589bareos-coredirectorpublic2015-12-29 17:37
Reportergeovariances Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntu 64 bitsOS Version14.04.2 LTS
Product Version15.2.2 
Summary0000589: bareos-common-database error when update Bareos 14.2 to Bareos 15.2.2
DescriptionHello,

Today I made bareos Server update version 14.2 to 15.2.2 release.
When updating bareos-common-database, I had a question asking if I wanted to upgrade the mysql database. I said yes.
The problem is that I got lost in my root password in this step. So I had to click the "abort". Obviously now other packages are bareos 15.2.2, bareos-common-database too and I can not boot my bareos-dir (view error on Steps to reproduce).
My bareos database (MYSQL) is on another server.
How do I do to start the upgrade of bareos common-database? or manually correct the problem ?
I blocked and my computers are no longer backed up.

Thanks for your help
I am at your disposal for any information
Steps To Reproduceservice bareos-dir restart
* Restarting Bareos Director bareos-dir Checking Configuration and Database connection ...
bareos-dir: dird.c:1078-0 Could not open Catalog "CATALOG.GEOVAR", database "bareos".
bareos-dir: dird.c:1083-0 Version error for database "bareos". Wanted 2004, got 2003
28-Dec 18:36 bareos-dir ERROR TERMINATION
Please correct configuration file: /etc/bareos/bareos-dir.conf
TagsNo tags attached.

Activities

geovariances

geovariances

2015-12-28 18:43

reporter  

bareos2.png (23,839 bytes)   
bareos2.png (23,839 bytes)   
geovariances

geovariances

2015-12-28 18:45

reporter  

bareos3.png (29,368 bytes)   
bareos3.png (29,368 bytes)   
mvwieringen

mvwieringen

2015-12-29 17:37

developer   ~0002065

First of all this is no bug what so ever so next time ask on the mailinglist.

If you apply the following to a working MySQL session into your database it
should be upgraded to the right version.

https://raw.githubusercontent.com/bareos/bareos/master/src/cats/ddl/updates/mysql.2003_2004.sql

https://github.com/bareos/bareos/tree/master/src/cats/ddl/updates contains
all upgrade scripts for all database you might need to do some postprocessing
for some databases as this is the input file used by the update script but
in this case the content is a one on one copy/paste.

Issue History

Date Modified Username Field Change
2015-12-28 18:43 geovariances New Issue
2015-12-28 18:43 geovariances File Added: bareos2.png
2015-12-28 18:45 geovariances File Added: bareos3.png
2015-12-29 17:37 mvwieringen Note Added: 0002065
2015-12-29 17:37 mvwieringen Status new => closed
2015-12-29 17:37 mvwieringen Resolution open => no change required