Updating to 2.3.1a release fails and breaks ability to update in the future?
-
Where did you see -RELEASE?
-
https://forum.pfsense.org/index.php?topic=109690.0
-
I am getting same error.Ā Got automatic update notification on dashboard and when I clicked it the update failed and now shows that message.
-
Same hereā¦
-
I had to do this to fix it:
https://forum.pfsense.org/index.php?topic=109690.0
fetch -qo /usr/local/share/pfSense/keys/pkg/trusted/ https://raw.githubusercontent.com/pfsense/pfsense/RELENG_2_3_0/src/usr/local/share/pfSense/keys/pkg/trusted/pkg.pfsense.org.20160406
-
Thank you , worked for me after running the above command
. -
I had to fight with this error ( repository pfSense-core has no meta file ) today.
This particular pfSense server uses a DNS Resolver that does not use forwarding, and it broke during the upgrade from 2.2 to 2.3.Ā Because the DNS resolver was broken, the pkg command could not talk to the pfSense package server, which is why it couldn't get meta data for the repository.
If you Ctrl-C to the command line (Ctrl-C, then [Enter] for /bin/sh), you can start to do some troubleshooting that will indicate whether you have DNS resolution issues.
1. Verify that you can ping 4.4.4.4 or 8.8.8.8 or some other public IP address
2. Attempt to ping a name site to test DNS resolution.
3. "pkg update -f" and "pkg upgrade -f" won't work either.If DNS resolution fails, look at /etc/resolv.conf and you'll probably see that you're using a localhost DNS resolver of 127.0.0.1.Ā You can fix the issue temporarily via:
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
This is also the eventual fix for getting the upgrade to complete.Ā If your 2.3 upgrade has gotten to the point where you can access the Web UI, you can fix it.Ā If you, like I did, get an issue where the web portal complains about a crash error and none of the menus work, opening up the crash error report will allow the menus to work.
Either way, the goal is to get to Diagnostics -> Command Prompt.
1. Use "cat /etc/resolv.conf" to find out what DNS servers are being used
2. Use the echo command above, to add another DNS server (4.4.4.4 or 8.8.8.8) to the file.If you're watching the console, you should see the pkg updates start to work properly now that they can resolve the repository hostname.
-
Another possible root cause for upgrade failure is if the old configuration XML file had multiple VLANs (or multiple LANs on separate interfaces) and the <ipaddrv6>block has FE80 as the link local address for multiple VLANs.Ā That seems to confuse pfSense 2.3.
The workaround is to change those <ipaddrv6>FE80</ipaddrv6> to just <ipaddrv6>without the FE80 portion and then restore the configuration file.</ipaddrv6></ipaddrv6>
-
Another possible root cause for upgrade failure is if the old configuration XML file had multiple VLANs (or multiple LANs on separate interfaces) and the <ipaddrv6>block has FE80 as the link local address for multiple VLANs.Ā That seems to confuse pfSense 2.3.
The workaround is to change those <ipaddrv6>FE80</ipaddrv6> to just <ipaddrv6>without the FE80 portion and then restore the configuration file.</ipaddrv6></ipaddrv6>
I added a Redmine issue so this gets investigated:
https://redmine.pfsense.org/issues/6343 -
The workaround is to change those <ipaddrv6>FE80</ipaddrv6> to just <ipaddrv6>without the FE80 portion and then restore the configuration file.</ipaddrv6>
only way that happened is if you manually edited that into the config to begin with. That's not a valid IPv6 address, and the GUI's input validation won't accept that.