pfSense Support Subscription

Author Topic: Dashboard reports wrong version  (Read 4965 times)

0 Members and 1 Guest are viewing this topic.

Offline clarknova

  • Hero Member
  • *****
  • Posts: 922
  • Karma: +1/-0
    • View Profile
Dashboard reports wrong version
« on: August 25, 2011, 06:34:19 am »
Minutes ago I used console option 13 to updated from a local file, which I had scp'ed to /tmp (whose size I have increased to 400M). The update appeared to complete successfully and pfsense rebooted.

When I reloaded the Dashboard in my browser, it still showed my previous pfsense version:

Code: [Select]
2.0-RC3 (amd64)
built on Fri Aug 12 15:32:25 EDT 2011

Update available. Click Here to view update.
Platform nanobsd (2g)
NanoBSD Boot Slice pfsense1 / ad0s2

But other evidence seems to indicate that I'm on the latest version:

Code: [Select]
cat /tmp/pfSense_version
Wed Aug 24 11:09:10 EDT 2011

What's the explanation here?
db

Offline clarknova

  • Hero Member
  • *****
  • Posts: 922
  • Karma: +1/-0
    • View Profile
Re: Dashboard reports wrong version
« Reply #1 on: August 25, 2011, 06:43:24 am »
Note: s/gif/gz/
db

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1434/-26
    • View Profile
Re: Dashboard reports wrong version
« Reply #2 on: August 31, 2011, 11:59:52 am »
Check "uname -a"

That is the version of the installed kernel.

The files in /etc/ would be from when the pfSense code was made, or perhaps gitsynced, etc.

Was this a custom update file you made somehow? Or something else? If you upload the file using the GUI does it work?

If the other files are coming from the update, but not the kernel, there could be an issue there, or perhaps it just can't write out the kernel for some reason
Need help fast? Commercial Support!

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

Do not PM for help!

Offline clarknova

  • Hero Member
  • *****
  • Posts: 922
  • Karma: +1/-0
    • View Profile
Re: Dashboard reports wrong version
« Reply #3 on: August 31, 2011, 12:03:24 pm »
Code: [Select]
uname -a
FreeBSD pfsense.tfcg.co 8.1-RELEASE-p4 FreeBSD 8.1-RELEASE-p4 #0: Fri Aug 12 15:32:05 EDT 2011     root@FreeBSD_8.0_pfSense_2.0-AMD64.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.amd64  amd64

So it appears the kernel did not update. I downloaded the update image from snapshots.pfsense.org, scp'ed it to pfsense, then used console option 13 to install from local file, because GUI updates have been painfully slow lately. The update appeared to complete and pfsense rebooted itself at the end.
db

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1434/-26
    • View Profile
Re: Dashboard reports wrong version
« Reply #4 on: August 31, 2011, 12:24:18 pm »
Do you have any firmware options set to gitsync in the GUI?

Seems odd that it would work one way and not another, but unless you can reproduce the same issue on a stock install that hasn't been modified in some way it's hard to know where the problem lies.
Need help fast? Commercial Support!

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

Do not PM for help!

Offline clarknova

  • Hero Member
  • *****
  • Posts: 922
  • Karma: +1/-0
    • View Profile
Re: Dashboard reports wrong version
« Reply #5 on: August 31, 2011, 12:34:00 pm »
I haven't done anything with git on this one. The only modification outside the GUI is to increase the size of /tmp. I'll switch to the older slice, try another update and see what happens.
db

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1434/-26
    • View Profile
Re: Dashboard reports wrong version
« Reply #6 on: August 31, 2011, 12:36:02 pm »
Well if it's NanoBSD that's even more perplexing because that would seem to indicate that the kernel inside of the image was older, since the entire slice is rewritten from the update file.

(I didn't see that you mentioned NanoBSD in the OP)
Need help fast? Commercial Support!

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

Do not PM for help!