View Issue Details

IDProjectCategoryView StatusLast Update
0000856bareos-coreGeneralpublic2017-11-28 12:23
ReporterShodan Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version8
Product Version17.2.3 
Summary0000856: bareos-dbcheck failed
DescriptionAfter upgrade from bareos-16 to bareos-17, bareos-dbcheck fails with "Query failed: SELECT FilenameId,Name from Filename WHERE Name LIKE '%/': ERR=Table 'bareos.Filename' doesn't exist"
Steps To Reproduce1) Run bareos-dbcheck, select 16 (All)
2) bareos-dbcheck fails with "Query failed: SELECT FilenameId,Name from Filename WHERE Name LIKE '%/': ERR=Table 'bareos.Filename' doesn't exist"
Additional InformationFile /usr/lib/bareos/scripts/ddl/updates/mysql.2004_2170.sql

Line 38
DROP TABLE Filename;
TagsNo tags attached.

Activities

joergs

joergs

2017-10-02 16:20

developer   ~0002769

Yes, this is a known problem. Fortunately there is already a propsed fix for this, see https://github.com/bareos/bareos/pull/63

Currently, we are verifying and integrating it.
joergs

joergs

2017-11-09 19:28

developer   ~0002814

Fix committed to bareos bareos-17.2 branch with changesetid 7343.

Related Changesets

bareos: bareos-17.2 3fb6fd73

2017-10-12 20:09

joergs

Ported: N/A

Details Diff
dbcheck: removed obsolet eliminate_orphaned_filename_records function

Fixes 0000856: bareos-dbcheck failed
Affected Issues
0000856
mod - AUTHORS Diff File
mod - src/dird/dbcheck.c Diff File

Issue History

Date Modified Username Field Change
2017-10-02 13:46 Shodan New Issue
2017-10-02 16:20 joergs Note Added: 0002769
2017-10-02 16:20 joergs Assigned To => stephand
2017-10-02 16:20 joergs Status new => confirmed
2017-10-13 16:14 joergs Assigned To stephand => joergs
2017-10-13 16:14 joergs Status confirmed => assigned
2017-11-09 19:28 joergs Changeset attached => bareos bareos-17.2 3fb6fd73
2017-11-09 19:28 joergs Note Added: 0002814
2017-11-09 19:28 joergs Status assigned => resolved
2017-11-09 19:28 joergs Resolution open => fixed
2017-11-28 12:23 joergs Status resolved => closed
2017-11-28 12:23 joergs Assigned To joergs =>