Project

General

Profile

Actions

Bug #3322

closed

Update from 2.0.x to 2.1 fails with disk full.

Added by Dirk Meyer over 10 years ago. Updated over 10 years ago.

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 #1

Updated by Jim Pingle over 10 years ago

  • Status changed from New to Resolved

This has already been fixed for a few weeks in RELENG_2_1 and master.

Actions

Also available in: Atom PDF