Upgrade from 2.0-RC1 -> 2.0.1 says complete but version still shows 2.0-RC1



  • Hi all,

    version=amd64

    I tried first via web -> system -> firmware -> manaul update, the web page eventuly timed out, I monitord the console for a reboot and nothing happened
    I then upgraded from the console from file, it went through the motions, said upgrade complete, this happened in about 2 sec, ,rebooted, but version still shows 2.0-RC1.

    listing the /conf/upgrade_log.txt the line says "Firmware upgrade is complete. Rebooting in 10 seconds"

    I checked further up in the upgrade_log.txt file and found this:
    tar: Unrecognized archive format
    tar: Error exit delayed from previous errors

    looks like a tar extraction error

    any help would be much appreciated


  • Rebel Alliance Developer Netgate

    Need a lot more info here… Full install? NanoBSD? Which file did you try to upload?



  • Hi, downloaded full install "pfsense-full-update-2.0.1-release-amd64.tgz"

    i have FTP'ed it to the pf server into /root/update

    I then upgrade from file..

    cheers



  • extract of upgrade_log

    pfSenseupgrade upgrade starting

    Tue Jan 24 18:11:33 SAST 2012

    total 4
    dr-xr-xr-x  5 root  wheel        512B Jan 24 18:08 .
    drwxr-xr-x  19 root  wheel        512B Jun 13  2011 ..
    crw-r–---  1 root  operator    0,  82 Jan 24 18:08 acd0
    crw-r-----  1 root  operator    0,  83 Jan 24 18:08 acd1
    crw-r--r--  1 root  wheel      0,  35 Jan 24 18:08 acpi
    crw-------  1 root  operator    0,  34 Jan 24 18:08 ata
    crw-------  1 root  wheel      0,  39 Jan 24 18:08 atkbd0
    crw-------  1 root  kmem        0,  24 Jan 24 18:08 audit
    crw-------  1 root  wheel      0,  6 Jan 24 18:08 bpf
    lrwxr-xr-x  1 root  wheel          3B Jan 24 18:08 bpf0 -> bpf
    crw-rw-rw-  1 root  wheel      0,  42 Jan 24 18:08 bpsm0
    crw-------  1 root  wheel      0,  5 Jan 24 18:08 console
    crw-------  1 root  wheel      0,  74 Jan 24 18:08 consolectl
    crw-rw-rw-  1 root  wheel      0,  75 Jan 24 18:08 crypto
    crw-rw-rw-  1 root  wheel      0,  32 Jan 24 18:08 ctty
    crw-rw----  1 uucp  dialer      0,  49 Jan 24 18:08 cuau0
    crw-rw----  1 uucp  dialer      0,  50 Jan 24 18:08 cuau0.init
    crw-rw----  1 uucp  dialer      0,  51 Jan 24 18:08 cuau0.lock
    crw-rw----  1 uucp  dialer      0,  55 Jan 24 18:08 cuau1
    crw-rw----  1 uucp  dialer      0,  56 Jan 24 18:08 cuau1.init
    crw-rw----  1 uucp  dialer      0,  57 Jan 24 18:08 cuau1.lock
    crw-r-----  1 root  operator    0,  85 Jan 24 18:08 da0
    crw-r-----  1 root  operator    0,  86 Jan 24 18:08 da0s1
    crw-r-----  1 root  operator    0,  87 Jan 24 18:08 da0s1a
    crw-r-----  1 root  operator    0,  88 Jan 24 18:08 da0s1b
    crw-------  1 root  wheel      0,  22 Jan 24 18:08 dcons
    crw-------  1 root  wheel      0,  3 Jan 24 18:08 devctl
    cr--------  1 root  wheel      0,  80 Jan 24 18:08 devstat
    crw-------  1 root  wheel      0,  23 Jan 24 18:08 dgdb
    lrwxr-xr-x  1 root  wheel          11B Jan 24 18:08 dumpdev -> /dev/da0s1b
    dr-xr-xr-x  2 root  wheel        512B Jan 24 18:08 fd
    crw-r-----  1 root  operator    0,  81 Jan 24 18:08 fd0
    crw-------  1 root  wheel      0,  8 Jan 24 18:08 fido
    crw-r-----  1 root  operator    0,  4 Jan 24 18:08 geom.ctl
    crw-------  1 root  wheel      0,  31 Jan 24 18:08 io
    lrwxr-xr-x  1 root  wheel          6B Jan 24 18:08 kbd0 -> atkbd0
    lrwxr-xr-x  1 root  wheel          7B Jan 24 18:08 kbd1 -> kbdmux0
    crw-------  1 root  wheel      0,  9 Jan 24 18:08 kbdmux0
    crw-------  1 root  wheel      0,  28 Jan 24 18:08 klog
    crw-r-----  1 root  kmem        0,  12 Jan 24 18:08 kmem
    dr-xr-xr-x  2 root  wheel        512B Jan 24 18:08 led
    crw-------  1 root  wheel      0,  43 Jan 24 18:08 lpt0
    crw-------  1 root  wheel      0,  44 Jan 24 18:08 lpt0.ctl
    crw-r-----  1 root  operator    0,  94 Jan 24 18:08 md0
    crw-------  1 root  wheel      0,  79 Jan 24 18:08 mdctl
    crw-r-----  1 root  kmem        0,  11 Jan 24 18:08 mem
    crw-r-----  1 root  operator    0,  36 Jan 24 18:08 mpt0
    crw-------  1 root  kmem        0,  19 Jan 24 18:08 nfslock
    crw-rw-rw-  1 root  wheel      0,  20 Jan 24 18:11 null
    crw-------  1 root  operator    0,  84 Jan 24 18:08 pass0
    crw-r--r--  1 root  wheel      0,  25 Jan 24 18:08 pci
    crw-rw----  1 root  proxy      0,  76 Jan 24 18:08 pf
    crw-------  1 root  wheel      0,  45 Jan 24 18:08 ppi0
    crw-rw-rw-  1 root  wheel      0,  41 Jan 24 18:08 psm0
    crw-rw-rw-  1 root  wheel      0,  30 Jan 24 18:08 ptmx
    crw-rw-rw-  1 root  wheel      0,  26 Jan 24 18:08 random
    crw-------  1 root  wheel      0,  33 Jan 24 18:08 speaker
    lrwxr-xr-x  1 root  wheel          4B Jan 24 18:08 stderr -> fd/2
    lrwxr-xr-x  1 root  wheel          4B Jan 24 18:08 stdin -> fd/0
    lrwxr-xr-x  1 root  wheel          4B Jan 24 18:08 stdout -> fd/1
    crw-------  1 root  wheel      0,  29 Jan 24 18:08 sysmouse
    crw-------  1 root  wheel      0,  46 Jan 24 18:08 ttyu0
    crw-------  1 root  wheel      0,  47 Jan 24 18:08 ttyu0.init
    crw-------  1 root  wheel      0,  48 Jan 24 18:08 ttyu0.lock
    crw-------  1 root  wheel      0,  52 Jan 24 18:08 ttyu1
    crw-------  1 root  wheel      0,  53 Jan 24 18:08 ttyu1.init
    crw-------  1 root  wheel      0,  54 Jan 24 18:08 ttyu1.lock
    crw-------  1 root  tty        0,  58 Jan 24 18:11 ttyv0
    crw-------  1 root  wheel      0,  59 Jan 24 18:08 ttyv1
    crw-------  1 root  wheel      0,  60 Jan 24 18:08 ttyv2
    crw-------  1 root  wheel      0,  61 Jan 24 18:08 ttyv3
    crw-------  1 root  wheel      0,  62 Jan 24 18:08 ttyv4
    crw-------  1 root  wheel      0,  63 Jan 24 18:08 ttyv5
    crw-------  1 root  wheel      0,  64 Jan 24 18:08 ttyv6
    crw-------  1 root  wheel      0,  65 Jan 24 18:08 ttyv7
    crw-------  1 root  wheel      0,  66 Jan 24 18:08 ttyv8
    crw-------  1 root  wheel      0,  67 Jan 24 18:08 ttyv9
    crw-------  1 root  wheel      0,  68 Jan 24 18:08 ttyva
    crw-------  1 root  wheel      0,  69 Jan 24 18:08 ttyvb
    crw-------  1 root  wheel      0,  70 Jan 24 18:08 ttyvc
    crw-------  1 root  wheel      0,  71 Jan 24 18:08 ttyvd
    crw-------  1 root  wheel      0,  72 Jan 24 18:08 ttyve
    crw-------  1 root  wheel      0,  73 Jan 24 18:08 ttyvf
    dr-xr-xr-x  2 root  wheel        512B Jan 24 18:08 ufsid
    lrwxr-xr-x  1 root  wheel          6B Jan 24 18:08 urandom -> random
    crw-r--r--  1 root  operator    0,  77 Jan 24 18:08 usbctl
    crw-------  1 root  operator    0,  78 Jan 24 18:08 xpt0
    crw-rw-rw-  1 root  wheel      0,  21 Jan 24 18:08 zero

    total 102824
    drwxr-xr-x  2 root  wheel  512B Jan 24 17:59 .
    drwxr-xr-x  24 root  wheel  1.0K Jan 24 17:59 ..
    -rw-r--r--  1 root  wheel  798B Dec 13 01:37 .cshrc
    -rw-r--r--  1 root  wheel  265B Dec 13 01:37 .profile
    -rw-r--r--  1 root  wheel  100M Jan 24 09:23 pfSense-Full-Update-2.0.1-RELEASE-amd64.tgz

    MD5 (/root/update) = b128cde274a899322893454b0d0b21ee

    /dev/da0s1a on / (ufs, local)
    devfs on /dev (devfs, local, multilabel)
    /dev/md0 on /var/run (ufs, local)
    devfs on /var/dhcpd/dev (devfs, local, multilabel)

    last pid: 60978;  load averages:  0.07,  0.18,  0.09  up 0+00:03:46    18:11:33
    32 processes:  1 running, 31 sleeping

    Mem: 51M Active, 11M Inact, 38M Wired, 444K Cache, 19M Buf, 376M Free
    Swap: 1024M Total, 1024M Free

    PID USERNAME  THR PRI NICE  SIZE    RES STATE    TIME  WCPU COMMAND
    24578 root        1  76    0 96120K 25884K accept  0:00  0.00% php
    56296 root        1  44    0 98168K 21364K nanslp  0:00  0.00% php
    21584 root        1  76    0 92024K 11964K wait    0:00  0.00% php
    22886 root        1  76    0 92024K 11984K wait    0:00  0.00% php
    20611 root        1  44    0 23716K  4444K kqread  0:00  0.00% lighttpd
    41786 root        1  76  20  8292K  1704K wait    0:00  0.00% sh
    23259 root        1  44    0  8292K  1612K wait    0:00  0.00% sh
    9799 root        1  44    0  6996K  1564K select  0:00  0.00% syslogd
    61218 root        1  76    0 19492K  1776K wait    0:00  0.00% login
    10856 root        1  44    0 11768K  2552K bpf      0:00  0.00% tcpdump
    14219 root        2  76    0  7084K  1256K nanslp  0:00  0.00% sshlockout_pf
    58634 root        1  76    0  8292K  1892K wait    0:00  0.00% sh
    62497 root        1  72    0  8292K  1692K wait    0:00  0.00% sh
    61442 root        1  76    0  8292K  1688K wait    0:00  0.00% sh
    10871 root        1  44    0  5832K  1016K piperd  0:00  0.00% logger
    60978 root        1  96    0  9364K  2052K RUN      0:00  0.00% top
    13698 root        1  44    0  9036K  1584K select  0:00  0.00% inetd
      248 root        1  64  20  6960K  1220K kqread  0:00  0.00% check_reload_st

    Firmware upgrade in progress...
    Installing /root/update.
    /root/update
    tar: Unrecognized archive format
    tar: Error exit delayed from previous errors.
    Image installed /root/update.
    [ changed
    permissions expected 0555 found 0755 modified
    cat changed
    permissions expected 0555 found 0755 modified

    etc..


  • Rebel Alliance Developer Netgate

    What browser did you use to download the file? Are you sure it didn't decompress the image first?

    I'd try a console update by URL and pass it the complete URL to the update image on one of our mirrors



  • browser = IE

    I  did a tar tzvf of the update and it lists it , so it is not corrupt


  • Rebel Alliance Developer Netgate

    So is the file "/root/update" or "/root/update/pfsense-full-update-2.0.1-release-amd64.tgz"?

    Because when you run the upgrade, you need to give it the full path including the filename, it looks from the output like it was just reading /root/update which if it's just a directory, wouldn't work



  • What would I have done without you  :)
    it worked….

    much appreciated..

    still dont know why using the web manual update hangs..

    have a good day


Locked