View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000589 | bareos-core | director | public | 2015-12-28 18:43 | 2015-12-29 17:37 |
Reporter | geovariances | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Ubuntu 64 bits | OS Version | 14.04.2 LTS |
Product Version | 15.2.2 | ||||
Summary | 0000589: bareos-common-database error when update Bareos 14.2 to Bareos 15.2.2 | ||||
Description | Hello, 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 Reproduce | service 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 | ||||
Tags | No tags attached. | ||||
|
|
|
|
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. |
|
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 |