Project

General

Profile

Bug #10900

/packages/backup/backup.php?a=download&t=backup HTTP 504, or Sends PHP Error Message as ASCII/Text file Named pfsense.bak.tgz

Added by R M about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Backup
Target version:
-
Start date:
09/13/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

ISSUE

Unable to download pfsense.bak.tgz backup file via web GUI.

STEPS TO REPRODUCE

  1. Go to /packages/backup/backup.php
  2. Click teal Backup button under Backup and Restore.
  3. Wait for 504 Gateway Time-out response from nginx, or bad pfsense.bak.tgz to download.

ERROR MESSAGE

Crash report begins.  Anonymous machine information:

amd64
11.3-STABLE
FreeBSD 11.3-STABLE #243 abf8cba50ce(RELENG_2_4_5): Tue Jun  2 17:53:37 EDT 2020     root@buildbot1-nyi.netgate.com:/build/ce-crossbuild-245/obj/amd64/YNx4Qq3j/build/ce-crossbuild-245/sources/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[xx-xxx-xxxx xx:27:21] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 793714688 bytes) in /usr/local/www/packages/backup/backup.php on line 80

No FreeBSD crash data found.

ATTACHED FILES

  • PHP_errors.log
  • pfsense.bak.tgz
  • 1.png - 7.png: screens involved in process and errors.

NOTES

  • pfsense.bak.tgz downloaded via the web GUI is not a .tgz file, but is an ASCII/text file containing the PHP error message.
  • /root/backup/pfsense.bak.tgz is successfully created, and can be scp'ed.
  • pfSense Version: 2.4.5-Release-p1
  • Hypervisor: Microsoft Hyper-V 5.0 (Server 2012 R2)
  • Resources allocated:
References.7z (341 KB) References.7z Referenced files R M, 09/13/2020 04:10 PM

History

#1 Updated by Viktor Gurov about 1 month ago

  • Project changed from pfSense to pfSense Packages
  • Category deleted (Backup / Restore)

package: Backup

Please provide more information:
- directory/file to backup
- size
- filesystem space utilization

#2 Updated by R M about 1 month ago

- directory/file to backup: /
- size (of backup file): ~800MB
- filesystem space utilization: ~19% before backup, ~24% afterwards

#3 Updated by Jim Pingle about 1 month ago

  • Category set to Backup

Also available in: Atom PDF