Netgate SG-1000 microFirewall

Author Topic: Unable to upgrade from 2.4.0  (Read 264 times)

0 Members and 1 Guest are viewing this topic.

Offline ttsumak

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Unable to upgrade from 2.4.0
« on: January 22, 2018, 02:23:00 am »
So the case is this:
Quote
2.4.0-RELEASE (amd64)
built on Tue Oct 10 06:43:01 CDT 2017
FreeBSD 11.1-RELEASE-p1

Unable to check for updates

I'm not sure what happened here, but also update settings are broken:


Any ideas how to proceed? Pfsense running on esxi 5.5.
I do have other fpsense's running but they are all on independent hardware and does not have this problem.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21553
  • Karma: +1469/-26
    • View Profile
Re: Unable to upgrade from 2.4.0
« Reply #1 on: January 24, 2018, 07:40:06 am »
Go to a shell prompt and run "pfSense-upgrade -d" either using ssh on the console.

If it works, you're done. If it doens't, then post what it outputs here.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline ttsumak

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Unable to upgrade from 2.4.0
« Reply #2 on: January 27, 2018, 05:13:05 am »
Go to a shell prompt and run "pfSense-upgrade -d" either using ssh on the console.

If it works, you're done. If it doens't, then post what it outputs here.

Thanks for the reply, here is what i got:
[2.4.0-RELEASE][root@R1.lan]/root: pfSense-upgrade -d
pkg-static: Unable to determine ABI
pkg-static: Cannot parse configuration file!
pkg-static: Unable to determine ABI
pkg-static: Cannot parse configuration file!
ERROR: It was not possible to identify which pfSense kernel is installed

Also tried some googling and got this:
[2.4.0-RELEASE][root@R1.lan]/root: pkg info
Child process pid=31715 terminated abnormally: Segmentation fault


Offline Gertjan

  • Hero Member
  • *****
  • Posts: 2422
  • Karma: +191/-9
    • View Profile
Re: Unable to upgrade from 2.4.0
« Reply #3 on: January 27, 2018, 05:41:12 pm »
Strange.
I've been using 2.4.0 several weeks (may 2 months) before the next version came out.
I upgraded just fine afterwards.

Instead of finding out what system files are missing, I propose that your save your config, and do a clean install.
At least, you'll be up in less then 10 minutes.

Btw : this happens when I run " pfSense-upgrade -d' :
Code: [Select]
[2.4.2-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: 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.
Your packages are up to date
The errors you showed mean to me that several files are missing ...

Offline ttsumak

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Unable to upgrade from 2.4.0
« Reply #4 on: January 29, 2018, 10:10:25 am »
[2.4.0-RELEASE][root@R1.lan]/root: pfSense-upgrade -d
pkg-static: Unable to determine ABI
pkg-static: Cannot parse configuration file!
pkg-static: Unable to determine ABI
pkg-static: Cannot parse configuration file!
ERROR: It was not possible to identify which pfSense kernel is installed

ps ramdisk not in use

Offline Gertjan

  • Hero Member
  • *****
  • Posts: 2422
  • Karma: +191/-9
    • View Profile
Re: Unable to upgrade from 2.4.0
« Reply #5 on: January 29, 2018, 10:59:48 am »
You posted the same thing a second time.

Do what I proposed and you'll be done quickly.

Offline ttsumak

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Unable to upgrade from 2.4.0
« Reply #6 on: January 29, 2018, 01:19:54 pm »
Oh, oops.

Yeah i did a clean install and restored config. Now running 2.4.2 and a new update seems to be available!

Although for some reason pfsense still does not see that i have packages installed, like openvpn, pfblockerng and zabbix. They all do work still.