Update error (GUI and CLI)

Status
Not open for further replies.

Rhino5

Cadet
Joined
Aug 29, 2014
Messages
9
I've had no luck for the last few days getting the updates. My GUI will run but fail at the end leaving the updates in the queue. If I use the freenas-update update command it results in the following. I opened Issue #6856 in the Bug Tracker for this.

Code:
Welcome to FreeNAS
[root@freenas] ~# freenas-update update
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/FreeNAS-9.3-BETA/LATEST)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/FreeNAS-9.3-BETA/LATEST):  Read 4307 bytes total
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'VGr8wzljOFkUkVOB8m+4aszCGul+n1oMBuCYa298VWQFEeA7uW3/KwufC8MmOZOkUJEhG62Nox91uVyBUrGwHPjR4pUt/asLiCl9ipd/ewUHiZhvs8O39Po0n4P/ilsCCB72VeAj7AgJXFPZHDEN5x8XTLNDPI0+giKI/D1iE+exivXlTb5oQdpB2COjt1oLPFmX8yr3F5zFkklYLIXqzJ9dRJbf1o8E0duz7tQnAWK5dQP1e+jfIMEFhWJNMAxTcmAR8sz81tcdh20B/jqfqWnSjjEB0pNE0TEmC2u7/yX6qLfVcG756KzZHFP5ZNClqTPY4dY8uDMD8faDpCcOPg==', '-R', '/tmp/tmpozbw45.pem']
Signature check succeeded
DownloadUpdate:  Will upgrade package base-os
DownloadUpdate:  Will upgrade package FreeNASUI
DownloadUpdate:  Will upgrade package freenas-pkg-tools
Searching for base-os-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Searching for base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz):  Read 1048576 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz):  Read 2097152 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz):  Read 3145728 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz):  Read 4194304 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz):  Read 4611478 bytes total
Searching for FreeNASUI-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Searching for FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz):  Read 42163 bytes total
Searching for freenas-pkg-tools-9.3-BETA-c10fbb0.tgz
Searching for freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz):  Read 22977 bytes total
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'VGr8wzljOFkUkVOB8m+4aszCGul+n1oMBuCYa298VWQFEeA7uW3/KwufC8MmOZOkUJEhG62Nox91uVyBUrGwHPjR4pUt/asLiCl9ipd/ewUHiZhvs8O39Po0n4P/ilsCCB72VeAj7AgJXFPZHDEN5x8XTLNDPI0+giKI/D1iE+exivXlTb5oQdpB2COjt1oLPFmX8yr3F5zFkklYLIXqzJ9dRJbf1o8E0duz7tQnAWK5dQP1e+jfIMEFhWJNMAxTcmAR8sz81tcdh20B/jqfqWnSjjEB0pNE0TEmC2u7/yX6qLfVcG756KzZHFP5ZNClqTPY4dY8uDMD8faDpCcOPg==', '-R', '/tmp/tmpoPoacg.pem']
Signature check succeeded
Error message= TypeError: section.rendition[x] is undefined
URL= chrome://firessh/content/js/etc/cli.js
Line Number= 795
Error message= TypeError: section.rendition[x] is undefined
URL= chrome://firessh/content/js/etc/cli.js
Line Number= 795
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'VGr8wzljOFkUkVOB8m+4aszCGul+n1oMBuCYa298VWQFEeA7uW3/KwufC8MmOZOkUJEhG62Nox91uVyBUrGwHPjR4pUt/asLiCl9ipd/ewUHiZhvs8O39Po0n4P/ilsCCB72VeAj7AgJXFPZHDEN5x8XTLNDPI0+giKI/D1iE+exivXlTb5oQdpB2COjt1oLPFmX8yr3F5zFkklYLIXqzJ9dRJbf1o8E0duz7tQnAWK5dQP1e+jfIMEFhWJNMAxTcmAR8sz81tcdh20B/jqfqWnSjjEB0pNE0TEmC2u7/yX6qLfVcG756KzZHFP5ZNClqTPY4dY8uDMD8faDpCcOPg==', '-R', '/tmp/tmpUdnY1d.pem']
Signature check succeeded
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'VGr8wzljOFkUkVOB8m+4aszCGul+n1oMBuCYa298VWQFEeA7uW3/KwufC8MmOZOkUJEhG62Nox91uVyBUrGwHPjR4pUt/asLiCl9ipd/ewUHiZhvs8O39Po0n4P/ilsCCB72VeAj7AgJXFPZHDEN5x8XTLNDPI0+giKI/D1iE+exivXlTb5oQdpB2COjt1oLPFmX8yr3F5zFkklYLIXqzJ9dRJbf1o8E0duz7tQnAWK5dQP1e+jfIMEFhWJNMAxTcmAR8sz81tcdh20B/jqfqWnSjjEB0pNE0TEmC2u7/yX6qLfVcG756KzZHFP5ZNClqTPY4dY8uDMD8faDpCcOPg==', '-R', '/tmp/tmpWpkJXi.pem']
Signature check succeeded
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'VGr8wzljOFkUkVOB8m+4aszCGul+n1oMBuCYa298VWQFEeA7uW3/KwufC8MmOZOkUJEhG62Nox91uVyBUrGwHPjR4pUt/asLiCl9ipd/ewUHiZhvs8O39Po0n4P/ilsCCB72VeAj7AgJXFPZHDEN5x8XTLNDPI0+giKI/D1iE+exivXlTb5oQdpB2COjt1oLPFmX8yr3F5zFkklYLIXqzJ9dRJbf1o8E0duz7tQnAWK5dQP1e+jfIMEFhWJNMAxTcmAR8sz81tcdh20B/jqfqWnSjjEB0pNE0TEmC2u7/yX6qLfVcG756KzZHFP5ZNClqTPY4dY8uDMD8faDpCcOPg==', '-R', '/tmp/tmpj_DSOC.pem']
Signature check succeeded
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'VGr8wzljOFkUkVOB8m+4aszCGul+n1oMBuCYa298VWQFEeA7uW3/KwufC8MmOZOkUJEhG62Nox91uVyBUrGwHPjR4pUt/asLiCl9ipd/ewUHiZhvs8O39Po0n4P/ilsCCB72VeAj7AgJXFPZHDEN5x8XTLNDPI0+giKI/D1iE+exivXlTb5oQdpB2COjt1oLPFmX8yr3F5zFkklYLIXqzJ9dRJbf1o8E0duz7tQnAWK5dQP1e+jfIMEFhWJNMAxTcmAR8sz81tcdh20B/jqfqWnSjjEB0pNE0TEmC2u7/yX6qLfVcG756KzZHFP5ZNClqTPY4dY8uDMD8faDpCcOPg==', '-R', '/tmp/tmp0ZqhHD.pem']
Signature check succeeded
Upgrade package base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5 to base-os-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5
Upgrade package FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5 to FreeNASUI-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5
Upgrade package freenas-pkg-tools-9.3-BETA-4ab9cce to freenas-pkg-tools-9.3-BETA-c10fbb0
RunCommand(/usr/local/sbin/beadm, ['create', u'FreeNAS-9.3-BETA-1417210479'])
cannot create 'freenas-boot/ROOT/FreeNAS-9.3-BETA-1417210479': dataset already exists
Failed to create BE FreeNAS-9.3-BETA-1417210479
RunCommand(/usr/local/sbin/beadm, ['mount', u'FreeNAS-9.3-BETA-1417210479', '/tmp/tmp22CXTv'])
Mounted successfully on '/tmp/tmp22CXTv'
RunCommand(/sbin/mount, ['-t', 'nullfs', '/boot/grub', '/tmp/tmp22CXTv/boot/grub'])
Searching for base-os-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Searching for base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Found package file /var/db/system/UpdateUpdate-9v48nZ/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Searching for FreeNASUI-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Searching for FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Found package file /var/db/system/UpdateUpdate-9v48nZ/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz
Searching for freenas-pkg-tools-9.3-BETA-c10fbb0.tgz
Searching for freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz
Found package file /var/db/system/UpdateUpdate-9v48nZ/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz
Installer got packages [{u'base-os': <open file u'/var/db/system/UpdateUpdate-9v48nZ/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz', mode 'r' at 0x8061eb420>}, {u'FreeNASUI': <open file u'/var/db/system/UpdateUpdate-9v48nZ/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz', mode 'r' at 0x8061eb780>}, {u'freenas-pkg-tools': <open file u'/var/db/system/UpdateUpdate-9v48nZ/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz', mode 'r' at 0x8061eb6f0>}]
Installing package {u'base-os': <open file u'/var/db/system/UpdateUpdate-9v48nZ/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5.tgz', mode 'r' at 0x8061eb420>}
base-os-9.3-BETA-c10fbb0-a0f03fc-f5ca2c5
upgrade_aware = True
Delta package 9.3-BETA-bc4f97a-a0f03fc-f5ca2c5->9.3-BETA-c10fbb0-a0f03fc-f5ca2c5 cannot upgrade current version 9.3-BETA-c10fbb0-a0f03fc-f5ca2c5
Unable to install package base-os
Unable to install packages
Update got exception during update: Unable to install packages
RunCommand(umount, ['-f', '/tmp/tmp22CXTv/boot/grub'])
RunCommand(/usr/local/sbin/beadm, ['unmount', '-f', u'FreeNAS-9.3-BETA-1417210479'])
Unmounted successfully
RunCommand(/usr/local/sbin/beadm, ['destroy', '-F', u'FreeNAS-9.3-BETA-1417210479'])
ERROR: Cannot destroy active boot environment
Traceback (most recent call last):
  File "/usr/local/bin/freenas-update", line 166, in <module>
    sys.exit(main())
  File "/usr/local/bin/freenas-update", line 153, in main
    rv = Update.ApplyUpdate(download_dir)
  File "/usr/local/lib/freenasOS/Update.py", line 702, in ApplyUpdate
    raise e
Exception: Unable to install packages
 
S

sef

Guest
I've had no luck for the last few days getting the updates. My GUI will run but fail at the end leaving the updates in the queue. If I use the freenas-update update command it results in the following. I opened Issue #6856 in the Bug Tracker for this.

Can you try running the CLI version a) via ssh, b) as "freenas-update -C /tmp/cache check && freenas-update -C /tmp/cache update"?
 

Rhino5

Cadet
Joined
Aug 29, 2014
Messages
9
I really need to get better at some of these commands. That worked.
For posterity, here is the output.
Code:
Welcome to FreeNAS
[root@freenas] ~# freenas-update -C /tmp/cache check && freenas-update -C /tmp/cache update
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/FreeNAS-9.3-BETA/LATEST)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/FreeNAS-9.3-BETA/LATEST):  Read 4304 bytes total
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'O64OcppTVyUv6LWcp2ferRXQfoQK5jSvqbJvFI4psFWnOmry0xExM2iSg1OcBbJddFxoqnx2gFgg5uddaONiyMPNmDmrzdhkkWGbzIUt0MBF29aT+8I5+LSWDltGQOwW9TylAVJTW5r5tVFFFcyzc6gDI0PYBSWhfRI8YKoIWE70iLza2D3Dncre4aqG7FP2XTkhf4JbnBJpy1+ZgBfL0dWweAsa2XfQl95+R44tKrv0sUwy/NrZrinlf3Ny8K8bJBbk+t9BMAxPBv1bPvE9kCkmXRDrDcIydZq//5fxdNcv5w4RbIEuRpmJSNEldAgTMf7OftrUxPXcyd4ny8U+ug==', '-R', '/tmp/tmpjaSIZJ.pem']
Signature check succeeded
DownloadUpdate:  Will upgrade package base-os
DownloadUpdate:  Will upgrade package FreeNASUI
DownloadUpdate:  Will upgrade package freenas-pkg-tools
Searching for base-os-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Searching for base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz):  Read 1048576 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz):  Read 2097152 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz):  Read 3145728 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz):  Read 4194304 bytes
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz):  Read 4612200 bytes total
Searching for FreeNASUI-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Searching for FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz):  Read 45021 bytes total
Searching for freenas-pkg-tools-9.3-BETA-c10fbb0.tgz
Searching for freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz)
TryGetNetworkFile(http://beta-update.freenas.org/FreeNAS/Packages/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz):  Read 22977 bytes total
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'O64OcppTVyUv6LWcp2ferRXQfoQK5jSvqbJvFI4psFWnOmry0xExM2iSg1OcBbJddFxoqnx2gFgg5uddaONiyMPNmDmrzdhkkWGbzIUt0MBF29aT+8I5+LSWDltGQOwW9TylAVJTW5r5tVFFFcyzc6gDI0PYBSWhfRI8YKoIWE70iLza2D3Dncre4aqG7FP2XTkhf4JbnBJpy1+ZgBfL0dWweAsa2XfQl95+R44tKrv0sUwy/NrZrinlf3Ny8K8bJBbk+t9BMAxPBv1bPvE9kCkmXRDrDcIydZq//5fxdNcv5w4RbIEuRpmJSNEldAgTMf7OftrUxPXcyd4ny8U+ug==', '-R', '/tmp/tmp7s4WSw.pem']
Signature check succeeded
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'O64OcppTVyUv6LWcp2ferRXQfoQK5jSvqbJvFI4psFWnOmry0xExM2iSg1OcBbJddFxoqnx2gFgg5uddaONiyMPNmDmrzdhkkWGbzIUt0MBF29aT+8I5+LSWDltGQOwW9TylAVJTW5r5tVFFFcyzc6gDI0PYBSWhfRI8YKoIWE70iLza2D3Dncre4aqG7FP2XTkhf4JbnBJpy1+ZgBfL0dWweAsa2XfQl95+R44tKrv0sUwy/NrZrinlf3Ny8K8bJBbk+t9BMAxPBv1bPvE9kCkmXRDrDcIydZq//5fxdNcv5w4RbIEuRpmJSNEldAgTMf7OftrUxPXcyd4ny8U+ug==', '-R', '/tmp/tmpDVTeMI.pem']
Signature check succeeded
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'O64OcppTVyUv6LWcp2ferRXQfoQK5jSvqbJvFI4psFWnOmry0xExM2iSg1OcBbJddFxoqnx2gFgg5uddaONiyMPNmDmrzdhkkWGbzIUt0MBF29aT+8I5+LSWDltGQOwW9TylAVJTW5r5tVFFFcyzc6gDI0PYBSWhfRI8YKoIWE70iLza2D3Dncre4aqG7FP2XTkhf4JbnBJpy1+ZgBfL0dWweAsa2XfQl95+R44tKrv0sUwy/NrZrinlf3Ny8K8bJBbk+t9BMAxPBv1bPvE9kCkmXRDrDcIydZq//5fxdNcv5w4RbIEuRpmJSNEldAgTMf7OftrUxPXcyd4ny8U+ug==', '-R', '/tmp/tmpXweQg4.pem']
Signature check succeeded
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'O64OcppTVyUv6LWcp2ferRXQfoQK5jSvqbJvFI4psFWnOmry0xExM2iSg1OcBbJddFxoqnx2gFgg5uddaONiyMPNmDmrzdhkkWGbzIUt0MBF29aT+8I5+LSWDltGQOwW9TylAVJTW5r5tVFFFcyzc6gDI0PYBSWhfRI8YKoIWE70iLza2D3Dncre4aqG7FP2XTkhf4JbnBJpy1+ZgBfL0dWweAsa2XfQl95+R44tKrv0sUwy/NrZrinlf3Ny8K8bJBbk+t9BMAxPBv1bPvE9kCkmXRDrDcIydZq//5fxdNcv5w4RbIEuRpmJSNEldAgTMf7OftrUxPXcyd4ny8U+ug==', '-R', '/tmp/tmpZTIzpd.pem']
Signature check succeeded
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem)
TryGetNetworkFile(https://web.ixsystems.com/updates/ix_crl.pem):  Read 1028 bytes total
Verify command = ['/usr/local/libexec/verify_signature', '-K', '/usr/local/share/certs/freenas-update.pem', '-C', '/usr/local/share/certs/iX-CA.pem', '-S', u'O64OcppTVyUv6LWcp2ferRXQfoQK5jSvqbJvFI4psFWnOmry0xExM2iSg1OcBbJddFxoqnx2gFgg5uddaONiyMPNmDmrzdhkkWGbzIUt0MBF29aT+8I5+LSWDltGQOwW9TylAVJTW5r5tVFFFcyzc6gDI0PYBSWhfRI8YKoIWE70iLza2D3Dncre4aqG7FP2XTkhf4JbnBJpy1+ZgBfL0dWweAsa2XfQl95+R44tKrv0sUwy/NrZrinlf3Ny8K8bJBbk+t9BMAxPBv1bPvE9kCkmXRDrDcIydZq//5fxdNcv5w4RbIEuRpmJSNEldAgTMf7OftrUxPXcyd4ny8U+ug==', '-R', '/tmp/tmpISqj4a.pem']
Signature check succeeded
Upgrade package base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5 to base-os-9.3-BETA-3f455d0-a0f03fc-f5ca2c5
Upgrade package FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5 to FreeNASUI-9.3-BETA-3f455d0-a0f03fc-f5ca2c5
Upgrade package freenas-pkg-tools-9.3-BETA-4ab9cce to freenas-pkg-tools-9.3-BETA-c10fbb0
RunCommand(/usr/local/sbin/beadm, ['create', u'FreeNAS-9.3-BETA-1417305865'])
GRUB configuration updated successfully
Created successfully
RunCommand(/sbin/zfs, ['snapshot', u'freenas-boot/grub@Pre-Upgrade-FreeNAS-9.3-BETA-1417305865'])
RunCommand(/usr/local/sbin/beadm, ['mount', u'FreeNAS-9.3-BETA-1417305865', '/tmp/tmpwxK7xv'])
Mounted successfully on '/tmp/tmpwxK7xv'
RunCommand(/sbin/mount, ['-t', 'nullfs', '/boot/grub', '/tmp/tmpwxK7xv/boot/grub'])
Searching for base-os-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Searching for base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Found package file /tmp/cache/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Searching for FreeNASUI-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Searching for FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Found package file /tmp/cache/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz
Searching for freenas-pkg-tools-9.3-BETA-c10fbb0.tgz
Searching for freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz
Found package file /tmp/cache/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz
Installer got packages [{u'base-os': <open file u'/tmp/cache/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz', mode 'r' at 0x8061ec5d0>}, {u'FreeNASUI': <open file u'/tmp/cache/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz', mode 'r' at 0x8061ec420>}, {u'freenas-pkg-tools': <open file u'/tmp/cache/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz', mode 'r' at 0x8061ec540>}]
Installing package {u'base-os': <open file u'/tmp/cache/base-os-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz', mode 'r' at 0x8061ec5d0>}
base-os-9.3-BETA-3f455d0-a0f03fc-f5ca2c5
upgrade_aware = True
Updated package base-os from 9.3-BETA-bc4f97a-a0f03fc-f5ca2c5 to 9.3-BETA-3f455d0-a0f03fc-f5ca2c5 in database
script (chroot to /tmp/tmpwxK7xv):  ['sh', '-x', '/88838-post-upgrade']
-----------
/usr/bin/touch /boot/kernel/linker.hints
/usr/bin/touch /boot/modules/linker.hints
/usr/bin/touch /data/cd-upgrade
/usr/bin/touch /data/need-update
--------------
+ /usr/bin/touch /boot/kernel/linker.hints
+ /usr/bin/touch /boot/modules/linker.hints
+ /usr/bin/touch /data/cd-upgrade
+ /usr/bin/touch /data/need-update
Installing package {u'FreeNASUI': <open file u'/tmp/cache/FreeNASUI-9.3-BETA-bc4f97a-a0f03fc-f5ca2c5-9.3-BETA-3f455d0-a0f03fc-f5ca2c5.tgz', mode 'r' at 0x8061ec420>}
FreeNASUI-9.3-BETA-3f455d0-a0f03fc-f5ca2c5
upgrade_aware = True
Updated package FreeNASUI from 9.3-BETA-bc4f97a-a0f03fc-f5ca2c5 to 9.3-BETA-3f455d0-a0f03fc-f5ca2c5 in database
script (chroot to /tmp/tmpwxK7xv):  ['sh', '-x', '/88838-post-upgrade']
-----------
/usr/bin/touch /data/cd-upgrade
/usr/bin/touch /data/need-update
--------------
+ /usr/bin/touch /data/cd-upgrade
+ /usr/bin/touch /data/need-update
Installing package {u'freenas-pkg-tools': <open file u'/tmp/cache/freenas-pkg-tools-9.3-BETA-4ab9cce-9.3-BETA-c10fbb0.tgz', mode 'r' at 0x8061ec540>}
freenas-pkg-tools-9.3-BETA-c10fbb0
upgrade_aware = False
Updated package freenas-pkg-tools from 9.3-BETA-4ab9cce to 9.3-BETA-c10fbb0 in database
RunCommand(umount, ['-f', '/tmp/tmpwxK7xv/boot/grub'])
RunCommand(/usr/local/sbin/beadm, ['unmount', '-f', u'FreeNAS-9.3-BETA-1417305865'])
Unmounted successfully
RunCommand(/usr/local/sbin/beadm, ['activate', u'FreeNAS-9.3-BETA-1417305865'])
GRUB configuration updated successfully
Activated successfully
RunCommand(/sbin/zpool, ['scrub', 'freenas-boot'])
 
J

jkh

Guest
Hmmm. Now I'm left wondering what the difference between that and the default argument behavior was. o_O
 
S

sef

Guest
I was mostly trying to ensure that the terminal window didn't get an error. I don't know how it got into the state that it tried to install a delta package with the wrong version. Running the CLI just gets me the information without going through the UI, usually.
 

Tony Fontane

Dabbler
Joined
Jul 1, 2014
Messages
13
This happened to me also. I ran the command SEF gave and it did not work for me. However, I did notice this error.
upload_2014-11-30_22-4-50.png
 
S

sef

Guest
Check /var/log/debug.log for some more information.

The signature check can fail due to:
  1. No signature in the downloaded manifest.
  2. Signature not matching the expected value.
  3. It was able to download the CRL but the certificate was revoked.
  4. Possibly: the cached manifest file is zero-bytes? Check /var/db/system/update
You can, if desired, edit /usr/local/lib/freenasOS/Manifest.py, and add
"-vvvvvvvv",​
after the line with
"-C", IX_ROOT_CA_FILE,​

However... you didn't say what happened when you ran the freenas-update command line version, just that it did not work -- and the log message is from the UI, not CLI.
 

Tony Fontane

Dabbler
Joined
Jul 1, 2014
Messages
13
Here is the debug log. Also, here is a screenshot of what might be an issue.
upload_2014-11-30_22-23-27.png
 

Attachments

  • debug.log.txt
    692.7 KB · Views: 465
S

sef

Guest
You are, I think, updating from a fairly old version? (Okay, several weeks old, at least.) The bug causing you to not be able to update was fixed a while ago.

I believe a manual upgrade will work for you, but you may need an ISO isntall/upgrade. If you do the manual update, there may be some issues until the next update you do, essentially due to a shortcoming in the code propagating out for the first update. (The manifest code drops unknown keys in the older version.)
 
J

jkh

Guest
I think you're coming from a build where the updater was broken. Try an ISO upgrade.
 
J

jkh

Guest
Does it hang forever, or just for a "really long time"? That seems like an odd place to hang. Never seen that one before.
 
J

jkh

Guest
Does it hang forever, or just for a "really long time"? That seems like an odd place to hang. Never seen that one before.
 

Tony Fontane

Dabbler
Joined
Jul 1, 2014
Messages
13
When I reboot it goes through sometimes. It's a hit or miss at the moment. Also, I'm sure this is purely a cosmetic bug but the Plex plugin shows the service offline but it is actually working.
upload_2014-12-1_0-6-52.png


upload_2014-12-1_0-7-28.png
 
S

sef

Guest
The timecounter message comes just before USB is probed. I suspect something about that is hanging.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
What hardware are you using?
 

Tony Fontane

Dabbler
Joined
Jul 1, 2014
Messages
13
I'm using a VM with 8GB RAM, 20GB system disk, and an 2TB external usb for the volumes. This has been solid for almost two years under 9.1 - 9.2 train.
 
Status
Not open for further replies.
Top