Netgate SG-1000 microFirewall

Author Topic: [Solved] 2.3.5 is shown as 2.3.4-RELEASE (i386)  (Read 342 times)

0 Members and 1 Guest are viewing this topic.

Offline yarick123

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +5/-0
    • View Profile
[Solved] 2.3.5 is shown as 2.3.4-RELEASE (i386)
« on: December 12, 2017, 08:20:39 am »
Hi pfSense Team, thank you for the superior product!

I have upgraded one of the firm firewalls from version 2.3.4-RELEASE-p1 (i386) to 2.3.5 (nanobsd 2g) several hours ago.

The upgrade was not very straight. I needed to reset the firewall several times.

At the end, all the packages and the kernel were successfully upgraded. Uname -a says:
Code: [Select]
[2.3.4-RELEASE][admin@xxx.yyy.zzz]/root: uname -a
FreeBSD xxx.yyy.zzz 10.3-RELEASE-p22 FreeBSD 10.3-RELEASE-p22 #0 352658d6e(RELENG_2_3): Tue Oct 24 05:16:13 CDT 2017     root@ce23-i386-builder:/builder/pfsense-235/tmp/obj/builder/pfsense-235/tmp/FreeBSD-src/sys/pfSense_wrap  i386

but on the dashboard the version is shown as
Code: [Select]
2.3.4-RELEASE (i386)
built on Fri Jul 14 14:53:03 CDT 2017
FreeBSD 10.3-RELEASE-p22

In cli it is also shown as 2.3.4:
Code: [Select]
*** Welcome to pfSense 2.3.4-RELEASE (i386 nanobsd) on xxx ***

In the shell prompt the version is also shown as 2.3.4:
Code: [Select]
[2.3.4-RELEASE][admin@xxx.yyy.zzz]/root:

But on the "Update" tab it is everything ok, see attached image.

Trying to upgrade from the console, I get a message, that the system uses the most recent version:
Code: [Select]
>>> 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.
>>> Unlocking package pfSense-kernel-pfSense_wrap... done.
>>> Locking package pfSense-kernel-pfSense_wrap... done.
Your packages are up to date

Is it a correct behaviour, or there are problems by me? (I have rebooted the system several times.)

Thank you,
Best regards
yarick123
« Last Edit: January 04, 2018, 06:13:43 am by yarick123 »

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21548
  • Karma: +1469/-26
    • View Profile
Re: 2.3.5 is shown as 2.3.4-RELEASE (i386)
« Reply #1 on: December 12, 2017, 10:09:15 am »
There must be some portion of the upgrade that did not complete successfully. If you go to the console or ssh, start a shell and run "pfSense-upgrade" again. Does that show anything?

What about "pkg version -vL="?
Need help fast? Commercial Support!

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

Do not PM for help!

Offline yarick123

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +5/-0
    • View Profile
Re: 2.3.5 is shown as 2.3.4-RELEASE (i386)
« Reply #2 on: December 12, 2017, 10:33:23 am »
Hi jimp, thank you for the answer!

Quote
There must be some portion of the upgrade that did not complete successfully.

It is a pity. It seems, that I must reinstall the system...

Code: [Select]
[2.3.4-RELEASE][admin@xxx.yyy.zzz]/root: pkg version -vL=
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.
pkg-1.10.2                         >   succeeds remote (remote has 1.10.1_1)
[2.3.4-RELEASE][admin@xxx.yyy.zzz]/root:

Code: [Select]
[2.3.4-RELEASE][admin@xxx.yyy.zzz]/root: pfSense-upgrade
>>> 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.
>>> Unlocking package pfSense-kernel-pfSense_wrap... done.
>>> Locking package pfSense-kernel-pfSense_wrap... done.
Your packages are up to date
[2.3.4-RELEASE][admin@xxx.yyy.zzz]/root:

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21548
  • Karma: +1469/-26
    • View Profile
Re: 2.3.5 is shown as 2.3.4-RELEASE (i386)
« Reply #3 on: December 13, 2017, 02:31:39 pm »
Hmm, those appear to be OK, but something must have failed to write out properly.

You could try one of a few things:

1. For a reinstall of all packages (pkg-static upgrade -f)
2. Reinstall pfSense
3. Wait until 2.3.5-p1 drops later this week and attempt to update again then and see if it corrects itself.
Need help fast? Commercial Support!

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

Do not PM for help!

Offline yarick123

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +5/-0
    • View Profile
Re: 2.3.5 is shown as 2.3.4-RELEASE (i386)
« Reply #4 on: December 14, 2017, 02:35:26 am »
Hi jimp, thank you for the information.

of course at first I will wait until 2.3.5-p1 !

If it does not help, I will reinstall all the packages. And if it does not help either, then I will reinstall pfSense!

Thank you
best regards
yarick123

Offline yarick123

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +5/-0
    • View Profile
[Solved] 2.3.5 is shown as 2.3.4-RELEASE (i386)
« Reply #5 on: January 04, 2018, 06:12:50 am »
Hi jimp,

thank you, the simplest solution #3 (
Quote
3. Wait until 2.3.5-p1 drops later this week and attempt to update again then and see if it corrects itself.
) has succeeded!

Now the correct version is shown everywhere! :)

I noticed one strange thing during the upgrades (2.3.4_1 -> 2.3.5 and 2.3.5 -> 2.3.5_1). After the first upgrade, everything were upgraded except of the kernel. Rebooting did not help. The kernel was upgraded only after executing the upgrade process the second time. The disk slice was duplicated, and the possibility to go back to the previous version was lost. :(

Best regards
yarick123