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: 16920
Latest: Vigar8668
New This Month: 14
New This Week: 1
New Today: 1
Stats
Total Posts: 135584
Total Topics: 17010
Most Online Today: 298
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 174
Total: 174

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

Something changed when using FPP Connect by MikeKrebs
Today at 08:32:34 PM

RPI02W won't recover from power failure by darylc
April 26, 2025, 02:30:01 AM

Macbook Pro M4 Red/Green Status Functionality On Controller Tab by allknowing2012
April 21, 2025, 07:01:13 PM

Mega tree guy lines by JonD
April 20, 2025, 10:06:56 AM

BBB SD Card max size? by megaxxl33@gmail.com
April 19, 2025, 09:36:11 PM

LYNX ZEUS 16/8/scc by edwinpeek
April 14, 2025, 05:54:16 PM

F16v5 Monitor tab not displaying any information by FireSlayer
April 10, 2025, 09:05:58 PM

LED Matrix by Dan01
April 10, 2025, 11:18:29 AM

Using FPP for synchronized video only by jnealand
April 06, 2025, 05:04:19 PM

COMMAND PRESETS - turn on off GPIO by yolomann
April 05, 2025, 08:32:05 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod