Actions
Bug #3322
closedUpdate from 2.0.x to 2.1 fails with disk full.
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
RRD Graphs
Target version:
-
Start date:
11/15/2013
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
Description
System with RRD graphs enabled.
System has more than 3 interfaces.
Update from 2.0.x to 2.1 fails with disk full in /tmp/
because while converting the rrd database the old files are not removed.
References: http://forum.pfsense.org/index.php?topic=66628.0
My suggested Solution is to remove the xml export files after conversion.
in file /etc/inc/upgrade_config.inc
at function upgrade_080_to_081()
after line:
unset($xml);
insert the 2 new lines:
unlink_if_exists( "{$g['tmp_path']}/{$xmldump}" ); unlink_if_exists( "{$g['tmp_path']}/{$xmldumpnew}" );
Actions