The process will require 8 MiB more space.
-
what does it say you have available in space?
Clean up some old logs or files.. You have packages using up space like proxy?
Clean install is always a option, just have a backup or recreate your rules from scratch, etc.
-
Looks like there is 182G free. Is this not enough for the upgrade? Clean install? C'mon… this isn't Windows.
[2.4.2-RELEASE]/root: df -mh Filesystem Size Used Avail Capacity Mounted on /dev/ufsid/592808b62c015801 210G 11G 182G 6% / devfs 1.0K 1.0K 0B 100% /dev /dev/md0 3.4M 120K 3.0M 4% /var/run devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev
-
182G ought to be plenty. Partitioned your drive? doing anything else in that box? running a VM?
-
Nah, this is a bare metal 1U supermicro. I don't typically put everything on a slash partition but that seems to be the trend these days so whatever was default, I went with it.
I do have a VPN interface for egress with a bunch of egress rules so Netflix will work, but this was all done in the GUI. No CLI shenanigans. Speaking of shenangins, is there a way to maybe clean up this mess from the CLI? Or at least find out why it won't finish the upgrade correctly?
I just found this log this morning under "pfSense has detected a crash report or programming bug. Click here for more information." It's displayed as gray text on a gray background so didn't look like anything was there when I clicked on it yesterday. Anything useful?
The error repeats every 5 minutes (cron job maybe?) I removed all the repeated lines in between:
Crash report begins. Anonymous machine information: amd64 11.1-RELEASE-p7 FreeBSD 11.1-RELEASE-p7 #10 r313908+986837ba7e9(RELENG_2_4): Mon Mar 26 18:08:25 CDT 2018 root@buildbot2.netgate.com:/builder/ce-243/tmp/obj/builder/ce-243/tmp/FreeBSD-src/sys/pfSense Crash report details: PHP Errors: [05-Apr-2018 05:06:28 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/intl.so' - Shared object "libicui18n.so.59" not found, required by "intl.so" in Unknown on line 0 ... [06-Apr-2018 03:48:35 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/intl.so' - Shared object "libicui18n.so.59" not found, required by "intl.so" in Unknown on line 0 No FreeBSD crash data found.
-
Hate to see someone bang their head against a wall like I have done at times.
Noticed it is going past the 24 hour fix time here. Noticed your HHD has 11G used space. :o You amassed a shit load of logs or RRD files ,yes. Mine is less than 2G.
Hit the kill switch twice during upgrade so who knows what write errors could be lurking.
Personally I would grab a new image and have a backup or 2 handy and just start fresh. Done.
Machine is in a trustworthy state in 30 minutes or less.
Just a thought. -
Yeah I don't think that means what you think it means. I think it means that is how much more space will be added when you install the packages to be honest..
Not that your short of space..
You for sure got something hosed. I would concur with webtyro - start from a clean slate.
-
Yeah I don't think that means what you think it means. I think it means that is how much more space will be added when you install the packages to be honest..
LOL. Was about to edit my reply but you did it for me. I run BSD and Linux and that message is very common.
It is more of a statement than a warning. -
heheeh exactly… here just ran update on pi and you get this verbage
Need to get 83.6 MB of archives.
After this operation, 1,675 kB of additional disk space will be used -
Time to do a clean install, is not like u have to conf the thing from scratch.
U only run the risk of some mysterious hardware prob on the "right place" and can't even boot from a clean, at least now you have a working box but just can't update! Finish your taxes, school paper and what not, then take the plunge Bro.
-
Ok, so does Diagnostics > Backup & Restore > Backup & Restore> Download configuration as XML grab everything that is configured? eg: vpn interface, NAT rules, Firewall Aliases, Whitelists, etc?
Is there any way to tell what went wrong so I don't do it again? It would be nice to have some logfile to tail or something so I can at least see what it's doing. Even the PHP errors would have been nice to have as some indication that it's not just sitting at a kernel panic or something.
-
Ok, so does Diagnostics > Backup & Restore > Backup & Restore> Download configuration as XML grab everything that is configured? eg: vpn interface, NAT rules, Firewall Aliases, Whitelists, etc?
Yes. It may not be 100% thought, last time I did this, I had to re-install one of my packages for some reason.
Is there any way to tell what went wrong so I don't do it again? It would be nice to have some logfile to tail or something so I can at least see what it's doing. Even the PHP errors would have been nice to have as some indication that it's not just sitting at a kernel panic or something.
I've doing this for a couple of decades and one of my often-used reply is, AS LONG AS IT WORKS!
-
For me I just backup my settings but not the RRD files, it is not checked off by default.
When the image has finished its install, I then make sure all packages are installed that I previously was using to avoid any hiccups.
Your settings before the restore job are just what you need to get it to download updates and packages. No need to turn them on(restore will override them anyway).
The settings restore should cover all your previous work with settings.
Grab 2 backups and check they are both same size. I have had the odd time a backup download was incomplete. not common but just to cover your butt.PS: when in the GUI if you are doing an upgrade or reboot close your browser. I have had that 20 second retry message too
and now I just close my browser before the initial countdown completes and judge progress by the network LEDs and such.
It seems to hang if the browser is left open. Well on my browser anyway. No big deal. -
Just a follow up - I found the
pfSense-upgrade
command and noticed these packages queued:
Installed packages to be UPGRADED:
squid: 3.5.27 -> 3.5.27_3 [pfSense]
redis: 3.2.10 -> 3.2.11 [pfSense]
pfSense-pkg-suricata: 4.0.3_1 -> 4.0.4_1 [pfSense]
pfSense-pkg-squid: 0.4.43 -> 0.4.43_1 [pfSense]
pfSense-pkg-pfBlockerNG: 2.1.2_2 -> 2.1.2_3 [pfSense]
pfSense-pkg-ntopng: 0.8.11 -> 0.8.12 [pfSense]
pfSense-default-config: 2.4.2_1 -> 2.4.3 [pfSense-core]
pfSense-base: 2.4.2_1 -> 2.4.3 [pfSense-core]
pfSense: 2.4.2_1 -> 2.4.3 [pfSense]
pecl-intl: 3.0.0_10 -> 3.0.0_11 [pfSense]
lighttpd: 1.4.47_1 -> 1.4.48_1 [pfSense]
freetype2: 2.8 -> 2.8_1 [pfSense]
clamav: 0.99.2_5 -> 0.99.4 [pfSense]On a hunch, I tried installing the pecl-intl package by hand. This fixed the error message
"Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/intl.so' - Shared object "libicui18n.so.59" not found, required by "intl.so" in Unknown on line 0"After that, I installed freetype and clamav, squid an redis. No errors so I let fly:
**[2.4.2-RELEASE][admin@mobeer.localdomain]/usr/local/lib: pfSense-upgrade -d
Updating repositories metadata…
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.The following 8 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
pfSense-pkg-suricata: 4.0.3_1 -> 4.0.4_1 [pfSense]
pfSense-pkg-squid: 0.4.43 -> 0.4.43_1 [pfSense]
pfSense-pkg-pfBlockerNG: 2.1.2_2 -> 2.1.2_3 [pfSense]
pfSense-pkg-ntopng: 0.8.11 -> 0.8.12 [pfSense]
pfSense-default-config: 2.4.2_1 -> 2.4.3 [pfSense-core]
pfSense-base: 2.4.2_1 -> 2.4.3 [pfSense-core]
pfSense: 2.4.2_1 -> 2.4.3 [pfSense]
lighttpd: 1.4.47_1 -> 1.4.48_1 [pfSense]Number of packages to be upgraded: 8
188 KiB to be downloaded.
**** WARNING ****
Reboot will be required!!
Proceed with upgrade? (y/N) yDownloading upgrade packages…
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
Checking for upgrades (8 candidates): ........ done
Processing candidates (8 candidates): ........ done
The following 8 package(s) will be affected (of 0 checked):Installed packages to be UPGRADED:
pfSense-pkg-suricata: 4.0.3_1 -> 4.0.4_1 [pfSense]
pfSense-pkg-squid: 0.4.43 -> 0.4.43_1 [pfSense]
pfSense-pkg-pfBlockerNG: 2.1.2_2 -> 2.1.2_3 [pfSense]
pfSense-pkg-ntopng: 0.8.11 -> 0.8.12 [pfSense]
pfSense-default-config: 2.4.2_1 -> 2.4.3 [pfSense-core]
pfSense-base: 2.4.2_1 -> 2.4.3 [pfSense-core]
pfSense: 2.4.2_1 -> 2.4.3 [pfSense]
lighttpd: 1.4.47_1 -> 1.4.48_1 [pfSense]Number of packages to be upgraded: 8
188 KiB to be downloaded.
[1/8] Fetching pfSense-pkg-squid-0.4.43_1.txz: …..... done
[2/8] Fetching pfSense-pkg-pfBlockerNG-2.1.2_3.txz: …....... done
[3/8] Fetching pfSense-pkg-ntopng-0.8.12.txz: .. done
Checking integrity… done (0 conflicting)
Upgrade is complete. Rebooting in 10 seconds.Broadcast Message from admin@mobeer.localdomain
(/dev/pts/0) at 10:07 CDT...Upgrade is complete. Rebooting in 10 seconds.**
The box dumped my ssh connection after 10 seconds, but it was still up. Hard drive light blinking like crazy. I hooked a monitor up to the 1U and it said it was "upgrading packages" so decided to let it go this time. After 5 minutes the HD was still cranking so went off and did some woodworking. 20 mins later I heard the reboot tune play. That's actually quite impressive considering I hit the power during the upgrade - twice mind you! I've proved the upgrade is quite idiot proof if nothing else.
So far it looks good. Thanks for all the support!: