Project

General

Profile

Actions

Bug #15624

closed

Skip Packages option for Configuration Backups fails with large configurations

Added by Steve Wheeler 4 months ago. Updated about 1 month ago.

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

100%

Estimated time:
Plus Target Version:
24.11
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 4 months 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 4 months 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 4 months ago

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

Updated by Marcos M 4 months 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 #5

Updated by Jordan G about 2 months ago

unable to reproduce the above issue in 24.08.a.20240928.0054

Actions #6

Updated by Jim Pingle about 2 months ago

  • Subject changed from Skipping packages during a backup fails with large configurations to Skip Packages option for Configuration Backups fails with large configurations
Actions #7

Updated by Christopher Cope about 2 months ago

  • Status changed from Feedback to Resolved

Not seeing this in

24.08-DEVELOPMENT (amd64)
built on Fri Oct 4 2:31:00 UTC 2024
FreeBSD 15.0-CURRENT

either. Marking resolved.

Actions #8

Updated by Jim Pingle about 1 month ago

  • Plus Target Version changed from 24.08 to 24.11
Actions

Also available in: Atom PDF