View Issue Details

IDProjectCategoryView StatusLast Update
0000571bareos-corewebuipublic2018-01-11 17:12
Reporterlborek Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version14.04
Product Version15.2.2 
Summary0000571: bvfs.c:289 insert INSERT INTO PathHierarchy failed
DescriptionDuring restore from WebGUI I see those errors in bareos.log :


27-Nov 11:00 backupbox-dir JobId 0: Fatal error: bvfs.c:289 bvfs.c:289 insert INSERT INTO PathHierarchy (PathId, PPathId) VALUES (708374,713897) failed:
Duplicate entry '708374' for key 'PRIMARY'
27-Nov 11:00 backupbox-dir JobId 0: Fatal error: bvfs.c:289 bvfs.c:289 insert INSERT INTO PathHierarchy (PathId, PPathId) VALUES (701122,713897) failed:
Duplicate entry '701122' for key 'PRIMARY'
27-Nov 11:00 backupbox-dir JobId 0: Fatal error: bvfs.c:289 bvfs.c:289 insert INSERT INTO PathHierarchy (PathId, PPathId) VALUES (700851,700850) failed:
Duplicate entry '700851' for key 'PRIMARY'
27-Nov 11:00 backupbox-dir JobId 0: Fatal error: bvfs.c:289 bvfs.c:289 insert INSERT INTO PathHierarchy (PathId, PPathId) VALUES (705745,705744) failed:
Duplicate entry '705745' for key 'PRIMARY'
27-Nov 11:00 backupbox-dir JobId 0: Fatal error: bvfs.c:289 bvfs.c:289 insert INSERT INTO PathHierarchy (PathId, PPathId) VALUES (710945,710944) failed:
Duplicate entry '710945' for key 'PRIMARY'
27-Nov 11:00 backupbox-dir JobId 0: Fatal error: bvfs.c:289 bvfs.c:289 insert INSERT INTO PathHierarchy (PathId, PPathId) VALUES (712090,712089) failed:
Duplicate entry '712090' for key 'PRIMARY'
27-Nov 11:00 backupbox-dir JobId 0: Fatal error: bvfs.c:289 bvfs.c:289 insert INSERT INTO PathHierarchy (PathId, PPathId) VALUES (708983,708982) failed:
Duplicate entry '708983' for key 'PRIMARY'

Is it something wrong with my catalog dababase (mysql) or kind of bug?

Version - 15.2.2-35.1 installed from official repo.
TagsNo tags attached.

Activities

mvwieringen

mvwieringen

2015-12-18 13:14

developer   ~0002045

Most likely some side effect from the fact that BVFS is not
really to robust. BAT and other restore programs tend not to
clear the cache. Try running .bvfs_clear_cache in bconsole which
will clear the cache (PathHierarchy) as it probably is full of
old cruft now anyway and the cache is of no use then.
lborek

lborek

2015-12-19 09:06

reporter   ~0002050

Problem fixed.

Thanks!

Issue History

Date Modified Username Field Change
2015-11-27 11:08 lborek New Issue
2015-11-27 11:08 lborek Status new => assigned
2015-11-27 11:08 lborek Assigned To => frank
2015-12-18 12:08 frank Assigned To frank =>
2015-12-18 13:14 mvwieringen Note Added: 0002045
2015-12-18 13:14 mvwieringen Status assigned => feedback
2015-12-19 09:06 lborek Note Added: 0002050
2015-12-19 09:06 lborek Status feedback => new
2015-12-19 09:15 mvwieringen Status new => closed
2015-12-19 09:15 mvwieringen Resolution open => no change required