View Issue Details

IDProjectCategoryView StatusLast Update
0001183bareos-corewebuipublic2020-02-11 17:20
Reporterdimmko Assigned 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.

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

Please delete.

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

arogge

arogge

2020-02-11 17:20

manager   ~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
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 17:20 arogge Status resolved => closed
2020-02-11 17:20 arogge Note Added: 0003788