Hi Chris,
as mentioned before if you followed the instruction, in addition there
are two small code changes needed.
1.
Open the file webacula/html/index.php and go to line 22.
define('BACULA_VERSION', 12); // Bacula Catalog version
and replace it with the following:
define('BACULA_VERSION', 2001); // Bacula Catalog version
2.
Open the file webacula/application/models/Media.php and go to line 98.
$select->from('Media',
array('MediaId', 'PoolId', 'StorageId',
'VolumeName', 'VolStatus', 'VolBytes',
'MaxVolBytes','VolJobs', 'VolRetention',
'Recycle', 'Slot', 'InChanger', 'MediaType',
'FirstWritten', 'LastWritten',
'LabelDate', 'VolFiles', 'VolBlocks', 'VolMounts',
'VolParts', 'VolErrors', 'VolWrites', 'VolCapacityBytes',
'Enabled',
'ActionOnPurge', 'VolUseDuration', 'MaxVolJobs', 'MaxVolFiles',
'VolReadTime', 'VolWriteTime', 'EndFile', 'EndBlock',
'RecycleCount', 'InitialWrite','Comment'
));
As the VolParts column is not available in a Bareos Catalogue,
replace it with:
$select->from('Media',
array('MediaId', 'PoolId', 'StorageId',
'VolumeName', 'VolStatus', 'VolBytes', 'MaxVolBytes',
'VolJobs', 'VolRetention',
'Recycle', 'Slot', 'InChanger', 'MediaType',
'FirstWritten', 'LastWritten',
'LabelDate', 'VolFiles', 'VolBlocks', 'VolMounts',
'VolErrors', 'VolWrites', 'VolCapacityBytes', 'Enabled',
'ActionOnPurge', 'VolUseDuration', 'MaxVolJobs', 'MaxVolFiles',
'VolReadTime', 'VolWriteTime', 'EndFile', 'EndBlock',
'RecycleCount', 'InitialWrite','Comment'
));
Best regards,
Frank
Post by Sascha BejerHi,
Bacula-web works out of the box with bareos for me, following the
instructions on its website.
Webacula needs two small code patches, and worked afterwards. I just can't
find the instructions now...
Also there is a ticket for packetized webacula,
https://bugs.bareos.org/print_bug_page.php?bug_id=77
I think there are RPM test packages you can try. I惴 waiting for some
deb愀 :).
BR, Sascha
-----Original Message-----
On Behalf Of chri.s
Sent: Montag, 14. Oktober 2013 22:50
Subject: [bareos-users] Webacula and Bacula-Web Installation
Hi at all,
is there any how to out there for installing these both web solutions on
bareos? Somehow both doesnt run in my bareos testing environment.
Best regards,
Chris
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.