Unable to update

Status
Not open for further replies.

cezarq

Dabbler
Joined
Feb 6, 2015
Messages
32
Olá! I am trying to update the FreeNas 9.3, but i get time out all the time!
Code:
TryGetNetworkFile(http://update.freenas.org/FreeNAS/Packages/base-os-9.3-STABLE-d58c0c8-4663c83-3dbc203-9.3-STABLE-8c6b112-9fd48ae-2e9addd.tgz):  Read 73400320 bytes
Got exception timed out
Traceback (most recent call last):
  File "/usr/local/bin/freenas-update", line 168, in <module>
    sys.exit(main())
  File "/usr/local/bin/freenas-update", line 132, in main
    rv = Update.DownloadUpdate(train, download_dir)
  File "/usr/local/lib/freenasOS/Update.py", line 553, in DownloadUpdate
    pkg_file = conf.FindPackageFile(pkg, save_dir = directory, handler = get_handler)
  File "/usr/local/lib/freenasOS/Configuration.py", line 1034, in FindPackageFile
    reason = "DownloadPackageFile",
  File "/usr/local/lib/freenasOS/Configuration.py", line 550, in TryGetNetworkFile
    raise e
socket.timeout: timed out

What can I do to fix it?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You can try doing the update from the CLI...

# freenas-update check
# freenas-update update
# shutdown -r now
 

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
I'm always gettin
Code:
Searching for base-os-9.3-STABLE-5f45c6f-c9242cc-2e9addd-9.3-STABLE-b2b14ab-01034a4-d191868.tgz
Found package file /var/db/system/UpdateUpdate-TROusV/base-os-9.3-STABLE-5f45c6f-c9242cc-2e9addd-9.3-STABLE-b2b14ab-01034a4-d191868.tgz
Searching for FreeNASUI-9.3-STABLE-b2b14ab-01034a4-d191868.tgz
Searching for FreeNASUI-9.3-STABLE-5f45c6f-c9242cc-2e9addd-9.3-STABLE-b2b14ab-01034a4-d191868.tgz
Found package file /var/db/system/UpdateUpdate-TROusV/FreeNASUI-9.3-STABLE-5f45c6f-c9242cc-2e9addd-9.3-STABLE-b2b14ab-01034a4-d191868.tgz
Searching for freenas-pkg-tools-9.3-STABLE-e9293b2.tgz
Searching for freenas-pkg-tools-9.3-STABLE-91b31a2-9.3-STABLE-e9293b2.tgz
Found package file /var/db/system/UpdateUpdate-TROusV/freenas-pkg-tools-9.3-STABLE-91b31a2-9.3-STABLE-e9293b2.tgz
Installer got packages [{u'base-os': <open file u'/var/db/system/UpdateUpdate-TROusV/base-os-9.3-STABLE-5f45c6f-c9242cc-2e9addd-9.3-STABLE-b2b14ab-01034a4-d191868.tgz', mode 'r' at 0x8061f09c0>}, {u'FreeNASUI': <open file u'/var/db/system/UpdateUpdate-TROusV/FreeNASUI-9.3-STABLE-5f45c6f-c9242cc-2e9addd-9.3-STABLE-b2b14ab-01034a4-d191868.tgz', mode 'r' at 0x806c99c90>}, {u'freenas-pkg-tools': <open file u'/var/db/system/UpdateUpdate-TROusV/freenas-pkg-tools-9.3-STABLE-91b31a2-9.3-STABLE-e9293b2.tgz', mode 'r' at 0x806c99db0>}]
Installing package {u'base-os': <open file u'/var/db/system/UpdateUpdate-TROusV/base-os-9.3-STABLE-5f45c6f-c9242cc-2e9addd-9.3-STABLE-b2b14ab-01034a4-d191868.tgz', mode 'r' at 0x8061f09c0>}
base-os-9.3-STABLE-b2b14ab-01034a4-d191868
upgrade_aware = True
Delta package 9.3-STABLE-5f45c6f-c9242cc-2e9addd->9.3-STABLE-b2b14ab-01034a4-d191868 cannot upgrade current version 9.3-STABLE-b2b14ab-01034a4-d191868
Unable to install package base-os
Unable to install packages
Update got exception during update: Unable to install packages
RunCommand(/sbin/umount, ['-f', '/tmp/tmps0Jzjv/boot/grub'])
RunCommand(/sbin/mount, ['/boot/grub'])
RunCommand(/sbin/umount, ['-f', '/tmp/tmps0Jzjv/dev'])
RunCommand(/sbin/umount, ['-f', '/tmp/tmps0Jzjv/var/tmp'])
RunCommand(/usr/local/sbin/beadm, ['unmount', '-f', u'FreeNAS-9.3-STABLE-201503200528'])
Unmounted successfully
RunCommand(/usr/local/sbin/beadm, ['destroy', '-F', u'FreeNAS-9.3-STABLE-201503200528'])
ERROR: Cannot destroy active boot environment
Traceback (most recent call last):
  File "/usr/local/bin/freenas-update", line 168, 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 746, in ApplyUpdate
    raise e
Exception: Unable to install packages


What can i do?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
What's the specs on your system?
 

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
Oh, after rebooting it tells me "no Updates available". Seems to be ok now.
 
Status
Not open for further replies.
Top