News:

LATEST RELEASE:  FPP 8.5.1 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.5

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16901
Latest: Mr Tinker
New This Month: 17
New This Week: 2
New Today: 0
Stats
Total Posts: 135508
Total Topics: 16992
Most Online Today: 370
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 104
Total: 106

FPP 8.4 Back up

Started by JeffC, January 04, 2025, 02:22:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeffC

Trying to do a simple backup on my FPP 8.4.2 PI 3B+ but when I select Download Cofig I get nothing. And if I try to do a back up on my FPP (PI 4 ) I get the same result, nothing.
But if I go to my Pocket Beagle for my TuneTo sign the backup works exactly as expected.
The FPP's I have with just wlan0 backup as expected, it's the 2 FPP's I have with both wlan0 and eth0 that don't 
Not sure what I'm missing here.
If anyone has any ideas I'm all ears.
Thanks

darylc

What browser?  Works for me in firefox, I heard someone say that their browser was blocking the download.

JeffC

Thanks.
I'll give Firefox a try, but google chrome, MS edge nor Brave have worked. It's very odd that it works on 3 of 5 devices with 8.4 of FPP

father1e

I am having this problem as well in one of 4 FPPs. Trying to create JSON config backup just gives blank page in browser.
I found errors in the apache2-error.log. It looks like backup.php is expecting an array but received a null.

Here are log entries:
[Sun Jan 05 12:00:27.795680 2025] [proxy_fcgi:error] [pid 1173:tid 1249] [client 192.168.0.50:52181] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /opt/fpp/www/api/controllers/backups.php:360\nStack trace:\n#0 /opt/fpp/www/api/controllers/backups.php(313): process_jsonbackup_file_data_helper()\n#1 /opt/fpp/www/api/lib/limonade.php(430): GetAvailableJSONBackups()\n#2 /opt/fpp/www/api/index.php(189): run()\n#3 {main}\n  thrown in /opt/fpp/www/api/controllers/backups.php on line 360', referer: http://192.168.45.203/backup.php
[Sun Jan 05 12:00:37.055953 2025] [proxy_fcgi:error] [pid 1174:tid 1272] [client 127.0.0.1:56006] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /opt/fpp/www/api/controllers/backups.php:360\nStack trace:\n#0 /opt/fpp/www/api/controllers/backups.php(313): process_jsonbackup_file_data_helper()\n#1 /opt/fpp/www/api/lib/limonade.php(430): GetAvailableJSONBackups()\n#2 /opt/fpp/www/api/index.php(189): run()\n#3 {main}\n  thrown in /opt/fpp/www/api/controllers/backups.php on line 360'
[Sun Jan 05 12:00:37.057369 2025] [proxy_fcgi:error] [pid 1174:tid 1264] [client 192.168.0.50:52184] AH01071: Got error 'PHP message: PHP Warning:  file_get_contents(/home/fpp/media/config/ci-dmx.json): Failed to open stream: No such file or directory in /opt/fpp/www/backup.php on line 1887; PHP message: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /opt/fpp/www/backup.php:2217\nStack trace:\n#0 /opt/fpp/www/backup.php(2004): pruneOrRemoveAgedBackupFiles()\n#1 /opt/fpp/www/backup.php(1947): doBackupDownload()\n#2 /opt/fpp/www/backup.php(216): performBackup()\n#3 {main}\n  thrown in /opt/fpp/www/backup.php on line 2217', referer: http://192.168.45.203/backup.php
[Sun Jan 05 12:01:44.734611 2025] [proxy_fcgi:error] [pid 1174:tid 1275] [client 192.168.0.50:52265] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /opt/fpp/www/api/controllers/backups.php:360\nStack trace:\n#0 /opt/fpp/www/api/controllers/backups.php(313): process_jsonbackup_file_data_helper()\n#1 /opt/fpp/www/api/lib/limonade.php(430): GetAvailableJSONBackups()\n#2 /opt/fpp/www/api/index.php(189): run()\n#3 {main}\n  thrown in /opt/fpp/www/api/controllers/backups.php on line 360', referer: http://192.168.45.203/backup.php

Jradical

Quote from: JeffC on January 04, 2025, 02:22:09 AMTrying to do a simple backup on my FPP 8.4.2 PI 3B+ but when I select Download Cofig I get nothing. And if I try to do a back up on my FPP (PI 4 ) I get the same result, nothing.
But if I go to my Pocket Beagle for my TuneTo sign the backup works exactly as expected.
The FPP's I have with just wlan0 backup as expected, it's the 2 FPP's I have with both wlan0 and eth0 that don't
Not sure what I'm missing here.
If anyone has any ideas I'm all ears.
Thanks

Quote from: father1e on January 05, 2025, 10:45:52 AMI am having this problem as well in one of 4 FPPs. Trying to create JSON config backup just gives blank page in browser.
I found errors in the apache2-error.log. It looks like backup.php is expecting an array but received a null.

I'm just trying to track down what's causing this, it's falling over while reading existing backups in order to extract some metadata. I'm not sure if it's trying to read files that don't exist (shouldn't happen because files it's reading are ones it found in the backups folder) or a corrupt file.

Is someone able to able to run a shell command to list the contents of the backups folder
On the Web UI of the FPP instance, Under the Help menu at the very bottom is >_ SSH Shell
Login with
user: fpp
pass: falcon (or whatever password you specified during setup as the system password)
You cannot view this attachment.


Run
Quotels -al /home/fpp/media/config
Output should look like
You cannot view this attachment.

then
Quotels -al /home/fpp/media/config/backups
Output should look like
You cannot view this attachment.


Post a screenshot of the result of both commands.


Thanks!
7th year sufferer of CLAP
I dream of WS2811 Pixels.

Support FPP

+- Recent Topics

Falcon PiCap not working on FPP 8.3.1 by Poporacer
Today at 05:36:12 PM

Virtual Display not working? by avarrassi
Today at 02:29:34 PM

Interactive Mini golf using FPP? by Bwinter
Today at 09:32:30 AM

Cheap Amazon pixel controller by MikeKrebs
March 23, 2025, 08:10:55 PM

Light Elf Bluetooth IP65 Laser by Kap10G
March 22, 2025, 12:45:02 PM

HA MQTT plugin for single model by s1godfrey
March 20, 2025, 08:21:46 PM

PixelOverlay-Clock - Revisited Again by jnealand
March 18, 2025, 06:00:53 PM

PixelOverlay-Clock.php works but I have questions... by datajack
March 18, 2025, 04:38:32 AM

Backup Feature not functional by efamlights
March 16, 2025, 11:58:28 AM

WS2811, Raspberry Pi 5, GPIO, could not initialize. by Ulysse-srfc24
March 16, 2025, 05:07:48 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod