Project

General

Profile

Actions

Bug #15624

open

Skipping packages during a backup fails with large configurations

Added by Steve Wheeler 2 days ago. Updated about 8 hours ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Backup / Restore
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.08
Release Notes:
Default
Affected Version:
2.7.2
Affected Architecture:
All

Description

Backing up the config from the webgui and selecting 'Skip packages' generates a 0B file if the config file is too large.

That can be triggered by uploading a file of ~600KB in to the captive portal file manager.

It does not fail when uploading the same file into the Filer package but that is inside the <installed packages> section.

It does not fail when removing RRD data, which is the default.

See: https://forum.netgate.com/topic/189158/diagnostics-backup-restore-found-a-condition-where-download-configuration-as-xml-fails-returns-an-empty-file

Appears to choke on: https://github.com/pfsense/pfsense/blob/master/src/usr/local/pfSense/include/www/backup.inc#L162


Files

clipboard-202407171141-pabze.png (49.3 KB) clipboard-202407171141-pabze.png aleksei prokofiev, 07/17/2024 08:41 AM
clipboard-202407171559-qksnv.png (39.8 KB) clipboard-202407171559-qksnv.png Steve Wheeler, 07/17/2024 02:59 PM
Actions #1

Updated by aleksei prokofiev about 19 hours ago

Tested on 24.08.a.20240702.0600, and can not reproduce the issue. All works if I upload file less 1Mb. If I try upload file in captive portal more than 1Mb, I got error message. The total size of all files uploaded may not exceed 1.00 MiB.

Actions #2

Updated by Steve Wheeler about 13 hours ago

Still seeing this in 24.08.a.20240717.0600 and 24.03.

Testing with

file:///home/steve/Pictures/Screenshot%20from%202024-07-17%2015-57-43.png

Actions #3

Updated by Marcos M about 9 hours ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Marcos M about 8 hours ago

  • Subject changed from Config backup skipping package info fails on large configs to Skipping packages during a backup fails with large configurations
  • Assignee set to Marcos M
  • Plus Target Version changed from Plus-Next to 24.08
Actions

Also available in: Atom PDF