Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000571bareos-core[All Projects] webuipublic2015-11-27 11:082018-01-11 17:12
Reporterlborek 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformLinuxOSUbuntuOS Version14.04
Product Version15.2.2 
Target VersionFixed in Version 
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.
bareos-master: impact
bareos-master: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
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
Attached Files

- Relationships

-  Notes
(0002045)
mvwieringen (developer)
2015-12-18 13:14

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.
(0002050)
lborek (reporter)
2015-12-19 09:06

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


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker