Issues with Update to 2.4.2_2
-
I updated my pfSense yesterday from 2.4.2_1 to 2.4.2_2 and everything seemed fine (although I did not test every detail of what I configured my pfSense to do).
Today I tried to create a backup of the configuration. The download did not finish (repeatedly).
I can download all individual config backups (Aliases, Firewall rules, etc.) except the captive portal config backup. The download stalled after 360080 bytes. The download gave no clue what caused the problem, it stops like this:
... <blockedmacsurl></blockedmacsurl> <auth_server>Local Auth - Local Database</auth_server> <trafficquota></trafficquota> <auth_server2></auth_server2> <radacct_server></radacct_server> <customhtml></customhtml> <termsconditions></te
(Yep, looks strange.)
Can anyone help me to solve this?
-flo-
-
So you mean you jumped from 2.4.2p1 to 2.4.4p2?
There was not 2.4.2p2
-
Sorry, of course! Update from 2.4.2p1 to 2.4.4p2.
-
Well there clearly was some caveats to doing that.. Did you read through the notes and upgrades procedures.. There was a big jump from php 5.6 to 7.2
If you followed the upgrade guide then you would have a FULL backup of your 2.4.2p1 before anything.. So if you have issues with your 2.4.4p2.. Just install clean and restore your backup.
-
In fact I do have a backup created just before the update (of course, and a snapshot of my zfs dataset as well). I'm rather paranoid ...
I do clean installs roughly once every two years but well ...
-
You could take a look at the xml on the machine via console, etc. download it with scp or something and see if something corrupt in it That could be causing problem.
But might be cleaner fix to just clean install.
-
I did. The config.xml looks ok at the place where the download terminates (at least as far as I can tell from within the less command. This isn't probably worth the time, I go the clean install path.
Thank you anyway!
-
Try this patch that we recently added to the backup download. I haven't seen this specific issue you are hitting before, but I have seen output buffering cause other oddities with serving files via PHP.
https://github.com/pfsense/pfsense/commit/4015b03d4b184e546cb3590430fee6f9953ce23e
You can feed that into the System Patches package.
-
Wow! That did the trick. Thank you very much!