View Issue Details

IDProjectCategoryView StatusLast Update
0001183bareos-core[All Projects] webuipublic2020-02-11 17:20
ReporterdimmkoAssigned Tofrank 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version19.10
Product Version19.2.5 
Fixed in Version19.2.6 
Summary0001183: Error: Connection refused, director seems to be down or blocking our request.
DescriptionHello!

Sorry for my bad English.

I have Ubuntu 19.10 and I upgrade my BareOS 18.2.5 to 19.2.5.
But webgui doesnot work after it.

Server version: Apache/2.4.41 (Ubuntu)

mysql Ver 8.0.19-0ubuntu0.19.10.3 for Linux on x86_64 ((Ubuntu))

In log-file I found this message:
фев 10 14:40:55 host138 systemd[1]: Starting Bareos Director Daemon service...
фев 10 14:40:55 host138 bareos-dir[6430]: bareos-dir: dird/check_catalog.cc:65-0 Could not open Catalog "MyCatalog", database "bareos".
фев 10 14:40:55 host138 bareos-dir[6430]: bareos-dir: dird/check_catalog.cc:71-0 Version error for database "bareos". Wanted 2192, got 2171
фев 10 14:40:55 host138 bareos-dir[6430]: bareos-dir ERROR TERMINATION
фев 10 14:40:55 host138 bareos-dir[6430]: Please correct the configuration in /etc/bareos/bareos-dir.d/*/*.conf

When I go to /usr/lib/bareos/scripts and run update_bareos_tables

Updating mysql tables
Upgrading database schema from version 2171 to 2192
ERROR 1064 (42000) at line 6: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS jobtdate_idx ON Job (JobTDate)' at line 1
Failed to upgrade database schema from version 2171 to 2192

Please help if this possible!
Thanks.
TagsNo tags attached.
bareos-master: impactyes
bareos-master: actionfixed
bareos-19.2: impactyes
bareos-19.2: actionfixed
bareos-18.2: impactno
bareos-18.2: action
bareos-17.2: impactno
bareos-17.2: action
bareos-16.2: impactno
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Relationships

related to 0001176 closedfrank Upgrade 18.2.5 to 19.2.5 failed while upgrading MySQL database 
related to 0001177 closedarogge Release Bareos 19.2.6 

Activities

dimmko

dimmko

2020-02-10 13:01

reporter   ~0003762

Last edited: 2020-02-11 05:08

View 2 revisions

Please delete.

Duplicated https://bugs.bareos.org/view.php?id=1176

arogge

arogge

2020-02-11 17:20

developer   ~0003788

Fixed in Bareos 19.2.6

Issue History

Date Modified Username Field Change
2020-02-10 12:53 dimmko New Issue
2020-02-10 13:01 dimmko Note Added: 0003762
2020-02-10 13:40 frank Relationship added related to 0001176
2020-02-10 13:41 frank Assigned To => frank
2020-02-10 13:41 frank Status new => confirmed
2020-02-10 18:21 frank Relationship added related to 0001177
2020-02-11 05:08 dimmko Note Edited: 0003762 View Revisions
2020-02-11 11:48 frank Status confirmed => resolved
2020-02-11 11:48 frank Resolution open => fixed
2020-02-11 11:48 frank Fixed in Version => 19.2.6
2020-02-11 11:48 frank bareos-master: impact => yes
2020-02-11 11:48 frank bareos-master: action => fixed
2020-02-11 11:48 frank bareos-19.2: impact => yes
2020-02-11 11:48 frank bareos-19.2: action => fixed
2020-02-11 17:20 arogge Status resolved => closed
2020-02-11 17:20 arogge bareos-18.2: impact => no
2020-02-11 17:20 arogge bareos-17.2: impact => no
2020-02-11 17:20 arogge bareos-16.2: impact => no
2020-02-11 17:20 arogge Note Added: 0003788