The pfSense Store

Author Topic: Upgrade 2.3.1 to 2.3.2 fails  (Read 7009 times)

0 Members and 1 Guest are viewing this topic.

Offline grumpel

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Upgrade 2.3.1 to 2.3.2 fails
« on: July 26, 2016, 02:45:23 am »
Hi,

I've tried to upgrade my pfSense installation from 2.3.1 to 2.3.2. After upgrading the php56-ctype package, the upgrade process stock and didn't move forward. After waiting for 15 minutes I've decided to reboot and try again, but the reboot didn't change anything.

The update checker shows now this error: "Unable to check for updates"

Is there any way to solve this issue and perform the upgrade?



-Grumpel

Offline RonpfS

  • Hero Member
  • *****
  • Posts: 705
  • Karma: +96/-2
    • View Profile
2.3.5-RELEASE-p1 (amd64)
Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
pfBlockerNG 2.1.2_2/Dev, suricata 4.0.1_1

Offline grumpel

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #2 on: July 26, 2016, 04:20:35 am »
Thanks. Worked very well.

Offline keen

  • Jr. Member
  • **
  • Posts: 47
  • Karma: +2/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #3 on: July 26, 2016, 07:27:52 am »
try to upgrade from ssh option 13

Offline w0w

  • Sr. Member
  • ****
  • Posts: 559
  • Karma: +35/-6
  • kernel panic attack
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #4 on: July 26, 2016, 11:41:16 am »
Looks like servers are under heavy load.
pkg: https://pkg.pfsense.org/pfSense_v2_3_2_amd64-core/All/pfSense-kernel-pfSense-2.3.2.txz: Operation timed out

Offline OlliC

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #5 on: July 26, 2016, 01:46:35 pm »
My upgrade failed aswell. Didnt want to open a new thread so i post it here.

Also 2.3.1 to 2.3.2 with NanoBSD on an Alix board. Update from console over ssh.
Tried three times. Two times i got the following error. One time i got a timeout while fetching the packages.

Code: [Select]
Number of packages to be removed: 1
Number of packages to be installed: 1
Number of packages to be upgraded: 68

The process will require 2 MiB more space.
[1/70] Upgrading gettext-runtime from 0.19.7 to 0.19.8.1...
[1/70] Extracting gettext-runtime-0.19.8.1: .......... done
[2/70] Upgrading python27 from 2.7.11_2 to 2.7.12...
[2/70] Extracting python27-2.7.12: .......... done
Child process pid=7422 terminated abnormally: Killed
>>> Locking package pfSense-kernel-pfSense_wrap... done.
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!

Offline keen

  • Jr. Member
  • **
  • Posts: 47
  • Karma: +2/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #6 on: July 26, 2016, 03:27:26 pm »
timeout maybe servers are overload...

Offline overcam

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #7 on: July 26, 2016, 08:09:01 pm »
I also had the upgrade fail, apparently on the last package. Afterward the Package Manager could not display the installed or available packages. And the main page version check would fail. Manual attempts to upgrade through the web GUI would also fail.

I recovered using the serial console upgrade method, as others have suggested (thanks!)

Offline elementalwindx

  • Full Member
  • ***
  • Posts: 231
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #8 on: July 26, 2016, 10:09:12 pm »
wtffffffff...... fit it, fix it nowwwww. :)

Offline 1smallsausage

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #9 on: July 27, 2016, 01:45:21 am »
My unit tells me that a upgrade is available and when i start the process i get this

>>> Updating repositories metadata...
Updating pfSense-core repository catalogue...
pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-core/meta.txz: No address record
repository pfSense-core has no meta file, using default settings
pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-core/packagesite.txz: No address record
Unable to update repository pfSense-core
Updating pfSense repository catalogue...
pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-pfSense_v2_3_1/meta.txz: No address record
repository pfSense has no meta file, using default settings
pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-pfSense_v2_3_1/packagesite.txz: No address record
Unable to update repository pfSense
Failed


running 2.3.1_1 trying to go to 2.3.2

Offline cmb

  • Hero Member
  • *****
  • Posts: 11228
  • Karma: +895/-7
    • View Profile
    • Chris Buechler
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #10 on: July 27, 2016, 09:26:27 pm »
My unit tells me that a upgrade is available and when i start the process i get this

>>> Updating repositories metadata...
Updating pfSense-core repository catalogue...
pkg: https://pkg.pfsense.org/pfSense_v2_3_1_amd64-core/meta.txz: No address record

Bug that's fixed in 2.3.2, but you'll need to bind your DNS Resolver or Forwarder to localhost first to get to 2.3.2. Do that, and upgrade again and it'll be fine.

Offline OlliC

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #11 on: August 11, 2016, 05:52:06 am »
Iam still not be able to update my box.

The first thing i figured out after doing 'pkg clean' is that it was mounted read-only even tho it says 'NanoBSD is now always read-write to avoid read-write to read-only mount problems.' in the webinterface.

So i executed '/etc/rc.conf_mount_rw'. Did 'pkg clean' again. That went ok this time.
Then i did 'pfSense-upgrade -d' and got this again:

Code: [Select]
Number of packages to be removed: 1
Number of packages to be installed: 1
Number of packages to be upgraded: 69

The process will require 2 MiB more space.
[1/71] Upgrading gettext-runtime from 0.19.7 to 0.19.8.1...
[1/71] Extracting gettext-runtime-0.19.8.1: .......... done
[2/71] Upgrading python27 from 2.7.11_2 to 2.7.12...
[2/71] Extracting python27-2.7.12: .......Child process pid=96087 terminated abnormally: Killed
>>> Locking package pfSense-kernel-pfSense_wrap...
Locking pfSense-kernel-pfSense_wrap-2.3.2
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!
pkg: open(/bin/sh): No such file or directory
pkg: open(/bin/sh): No such file or directory
pkg: Unable to determine ABI
pkg: Cannot parse configuration file!


Any hints?

Edit: Just checked the mount status after the failed upgrade and its mounted read-only again!

Code: [Select]
[2.3.1-RELEASE][admin@deepthought.lan]/root: mount
/dev/ufs/pfsense1 on / (ufs, local, noatime, read-only, synchronous)
devfs on /dev (devfs, local)
/dev/ufs/cf on /cf (ufs, local, noatime, synchronous)
/dev/md0 on /tmp (ufs, local)
/dev/md1 on /var (ufs, local)
devfs on /var/dhcpd/dev (devfs, local)

Could it be that something remounts it read-only while upgrading causing it to fail?!
« Last Edit: August 11, 2016, 06:01:08 am by OlliC »

Offline afrugone

  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #12 on: August 12, 2016, 08:27:44 am »
Similar problem, Can Not upgrade, current version "2.3.1-RELEASE-p1 (amd64) " get this error:

firmware installation failed!

>>> 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.
ERROR: It was not possible to determine pkg remote version
>>> Locking package pfSense-kernel-pfSense... done.
Failed
ERROR: It was not possible to determine pfSense-repo remote version
Failed

Try to update Squid and Get this:

"not_ready" and that's all

Offline OlliC

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #13 on: August 22, 2016, 10:11:54 am »
Solved it now by reinstalling to full version on my Alix.

Since nanobsd is going to be discontinued it had to do this anyway. At least i know how to install it on my cf card with virtualbox and a cf card reader now.

Now i have to reinstall all packages and try to get freeradius to launch again. But it seems to run good so far...


Offline fcastagnini

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Upgrade 2.3.1 to 2.3.2 fails
« Reply #14 on: March 11, 2017, 08:18:38 pm »
I run into the same problem, in my case it was a bad link for the pkg cache.
This is how I fix it:

Code: [Select]
# unlink /root/var/cache/pkg
# mkdir /root/var/cache/pkg