The pfSense Store

Author Topic: Manual upgrade broken in 8/6 nanobsd snapshot  (Read 5082 times)

0 Members and 1 Guest are viewing this topic.

Offline jstrebel

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Manual upgrade broken in 8/6 nanobsd snapshot
« Reply #15 on: September 13, 2009, 11:33:47 am »
Yes, you are right. I tried System-Firmware-AutoUgrade.
Jakob

Offline gloomrider

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Manual upgrade broken in 8/6 nanobsd snapshot
« Reply #16 on: September 13, 2009, 11:48:42 am »
Manual upgrade should work.  Be advised that the part of the upgrade that flashes the other slice can take a LONG time (6+ minutes for a 4GB card), so don't panic if you don't see any activity for a while.  If you have a serial connection available, you can:

Code: [Select]
tail -f /cf/conf/upgrade_log.txt

...before you upload the new firmware to the router and watch the whole process, including the reboot of the newly flashed slice.

I haven't heard anything from the developers about plans to fix auto update on nanobsd.  I'm just grateful there's at least some way to upgrade my ALIX that doesn't require a screwdriver.  ;D

Offline jstrebel

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Manual upgrade broken in 8/6 nanobsd snapshot
« Reply #17 on: September 14, 2009, 05:25:09 am »
Hi, probably a silly question, but it is the first time I partizipate in the pfsense "beta".
Q: After doing a manual update the System/Package Manger/Installed Packages: blinkled was gone. I had to reinstall it again. Is this normal?

Best regards jakob

Offline gloomrider

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Manual upgrade broken in 8/6 nanobsd snapshot
« Reply #18 on: September 14, 2009, 08:01:01 am »
Hi, probably a silly question, but it is the first time I partizipate in the pfsense "beta".
Q: After doing a manual update the System/Package Manger/Installed Packages: blinkled was gone. I had to reinstall it again. Is this normal?

Best regards jakob

I don't see a package called "blinkled".  ???

EDIT: I see it.  Yes, packages have to be reinstalled after an update.
« Last Edit: September 14, 2009, 08:10:48 am by gloomrider »

Online jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14934
    • View Profile
Re: Manual upgrade broken in 8/6 nanobsd snapshot
« Reply #19 on: September 14, 2009, 09:44:53 am »
Hi, probably a silly question, but it is the first time I partizipate in the pfsense "beta".
Q: After doing a manual update the System/Package Manger/Installed Packages: blinkled was gone. I had to reinstall it again. Is this normal?

Best regards jakob

This is normal on NanoBSD. The upgrade gets written to a second slice (sort of like another partition on windows) that is normally dormant.
Because this second slice has not been touched, the package is not installed on there, and must be reinstalled after switching slices.

It works this way in case the upgrade fails, so you can always go back and boot the other slice and return to a working system instead of being stuck with a brick and having to reflash the CF :)
Need help fast? Commercial Support!

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

Do not PM for help!

Offline FooFighter

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Manual upgrade broken in 8/6 nanobsd snapshot
« Reply #20 on: September 18, 2009, 10:16:53 am »
Hello,

I get the following error:

- Update Error: 219 < Size of new image: 450 -

System: Alix 1 GB CF card running with a 512 MB nanobsd fullflash as the 1 GB image was a bit to large

Current Version: 1.2.3-RC3 - built on Sat Sep 12 20:52:05 UTC 2009

I get an update error when updating via ssh with the following image
pfSense-1.2.3-512mb-20090918-0643-nanobsd-upgrade.img.gz

Error:
php: : New alert found: Upgrade failed due to the upgrade image being larger than the partition that is configured on disk. Halting. Size on disk: 219 < Size of new image: 450

Are the new updates to large or is there an error in calculating the size?

Best Regards,

Foo

Online jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14934
    • View Profile
Re: Manual upgrade broken in 8/6 nanobsd snapshot
« Reply #21 on: September 18, 2009, 10:26:08 am »
You may need to reflash with a more current version, or look in RCS and replicate the upgrade code to your system by hand (reflashing is easier) - those bugs should be fixed.

I performed a manual upgrade last night without problems. I started with an image from Sunday the 13th, and upgraded to yesterday (17th) and it worked.

Automatic upgrade still seem to have issues, but the manual ones are fine.
Need help fast? Commercial Support!

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

Do not PM for help!