Auto update installed i386 version to AMD64 system
-
I upgraded my pfsense install 5 days ago from 2.1.2 to 2.1.3 version using auto upgrade. After upgrade I had difficulties with squid and snort. Snort gave errors about memory allocation. I dropped detection methods to AC-split (7 interfaces). After that snort started. I have been very busy lately, and I just noticed that dashboard shows: "2.1.3-RELEASE (i386)". It looks like auto upgrade installed i386 version over AMD64 system. Of course the system can allocate only 3306 MB of main memory instead of full capacity. That caused memory lack to squid. How about others? Have you had same kind of problems, or was it just me who screwed this upgrade? Is there any other way to upgrade system back to AMD64 than full reinstall?
-
Your auto-update URL is probably set to the other architecture, check System > Firmware on the settings tab.
You can run a firmware upgrade to switch back, but a manual reboot may be required.
-
It says it's not recommended to switch during an upgrade.ย Is this just a conservative warning, or is there a decent chance that things will go horribly wrong?
-
It's a "best practices" type warning. It does work, but it's not recommended (for the exact reasons NG found :-)
Since they already switched once, switching back is likely to be less problematic than fixing what they have.
A clean install of the desired architecture + config restore would be the best solution.
-
Can he do a simple export of his settings and then pull them back in after the upgrade, or are some of the settings architecture-specific?
-
Yes, the same config will restore fine.
Nothing architecture-specific in the config.
-
Yes, the same config will restore fine.
Nothing architecture-specific in the config.
Unless you include an RRD backup. I'm pretty sure mine broke when I switched from the N2800 to a C2758 and moved from 32-bit to 64-bit.
-
Yes, the same config will restore fine.
Nothing architecture-specific in the config.
Unless you include an RRD backup. I'm pretty sure mine broke when I switched from the N2800 to a C2758 and moved from 32-bit to 64-bit.
I've been meaning to ask that myself. I've been running i386 for years and have been thinking of changing my box to AMD64.. If I was, will my RRD backup populate? Most of my graphs about 3 months shy of having 4 years of data 8)ย I would prefer not to use them if I convert over to 64bit.
-
Actually, on 2.1 and later when you backup the RRD, assuming you start on the architecture matching the RRD files, it's backed up in an architecture-independent XML format.
If you are on i386 with working graphs you can make a backup including RRD and then restore to amd64 and the graphs come back with it. At least, that's how it's supposed to work. I haven't tried it myself in a while.
If your RRD data on the HDD is already wrong, then leave the RRD out of the backup and then once you switch back your RRD graphs will work again.