Can't download updates 9.10?

Status
Not open for further replies.

kspare

Guru
Joined
Feb 19, 2015
Messages
507
I can get out to the internet, ping www.cnn.com etc but updates are failing? i get errors saying it can't resolve a hostname?
 

kspare

Guru
Joined
Feb 19, 2015
Messages
507
upload_2016-3-30_21-42-24.png
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Try:

# freenas-update update

Let me know if that works. If it doesn't, post the output.
 

QuillOmega0

Dabbler
Joined
Nov 23, 2014
Messages
11
Here's what I got cyberjock:
Code:
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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmpzbqWKS.pem']
Signature check succeeded
Could not open sequence file in cache directory /var/db/system/update: [Errno 2] No such file or directory: '/var/db/system/update/SEQUENCE'
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.10-STABLE/LATEST'])
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.10-STABLE/LATEST']):  Read 5104 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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmp52cBie.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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmp_pToJG.pem']
Signature check succeeded
Could not open sequence file in cache directory /var/db/system/update: [Errno 2] No such file or directory: '/var/db/system/update/SEQUENCE'
Incomplete cache directory, will try continuing
Going to try checking cached manifest /var/db/system/update/MANIFEST
Going to try loading manifest file now
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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmpeuHoQw.pem']
Signature check succeeded
Loaded manifest file
Cached manifest file has sequence 8863f903d550e9d8a1e9f8c73ae9b4f0, latest_manfest has sequence 8863f903d550e9d8a1e9f8c73ae9b4f0
DownloadUpdate:  diffs = {'Packages': [(<freenasOS.Package.Package object at 0x808da44d0>, 'upgrade', <freenasOS.Package.Package object at 0x808da4a10>), (<freenasOS.Package.Package object at 0x808da4590>, 'upgrade', <freenasOS.Package.Package object at 0x808da4b50>), (<freenasOS.Package.Package object at 0x808da4cd0>, 'upgrade', <freenasOS.Package.Package object at 0x808da4850>), (<freenasOS.Package.Package object at 0x808da4c90>, 'upgrade', <freenasOS.Package.Package object at 0x808da4ad0>), (<freenasOS.Package.Package object at 0x808da4d50>, 'upgrade', <freenasOS.Package.Package object at 0x808da4a50>)], 'Reboot': True, 'Sequence': (u'd1851bb004ead848f18f828f8fd48bae', u'8863f903d550e9d8a1e9f8c73ae9b4f0')}
DownloadUpdate:  Will upgrade package base-os
DownloadUpdate:  Will upgrade package docs
DownloadUpdate:  Will upgrade package freebsd-pkgdb
DownloadUpdate:  Will upgrade package freenas-pkg-tools
DownloadUpdate:  Will upgrade package FreeNASUI
Update does seem to require a reboot
Searching for base-os-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz
Searching for base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz
TryGetNetworkFile([u'http://update.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz', u'http://update-master.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz'])
Got http error HTTP Error 404: Not Found
Got http error HTTP Error 404: Not Found
Unable to load [u'http://update.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz', u'http://update-master.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz']: HTTP Error 404: Not Found
HTTP Error 404: Not Found
Received exception during download phase, cannot update
 

kspare

Guru
Joined
Feb 19, 2015
Messages
507
Here is what I got.

This is my new server, brand new install downloaded 9.10 last night.

Code:
[root@kspsan04] ~# freenas-update update
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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmpTFnAnx.pem']
Signature check succeeded
Could not open sequence file in cache directory /var/db/system/update: [Errno 2] No such file or directory: '/var/db/system/update/SEQUENCE'
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.10-STABLE/LATEST'])
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.10-STABLE/LATEST']):  Read 5104 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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmpIDbj3L.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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmpMQmktW.pem']
Signature check succeeded
Could not open sequence file in cache directory /var/db/system/update: [Errno 2] No such file or directory: '/var/db/system/update/SEQUENCE'
Incomplete cache directory, will try continuing
Going to try checking cached manifest /var/db/system/update/MANIFEST
Going to try loading manifest file now
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'hHOyXI6+eR2ScLzFG8PmsNheMGqYSQzsfZLgn6iz1IPeJz8MggCY84S2k72qPhWJ2799Co5L6CTopQc244mbdJc5/awBVAF4FPFtHg8w8C1ha1uFJwr2qV+hD8GJHeAj+vl6XHufUlr7dtIbiPHOVQfyzMda0/jbfj5VFebkVGI=', '-R', '/tmp/tmpm2shqX.pem']
Signature check succeeded
Loaded manifest file
Cached manifest file has sequence 8863f903d550e9d8a1e9f8c73ae9b4f0, latest_manfest has sequence 8863f903d550e9d8a1e9f8c73ae9b4f0
DownloadUpdate:  diffs = {'Packages': [(<freenasOS.Package.Package object at 0x808da9490>, 'upgrade', <freenasOS.Package.Package object at 0x808da99d0>), (<freenasOS.Package.Package object at 0x808da9550>, 'upgrade', <freenasOS.Package.Package object at 0x808da9b10>), (<freenasOS.Package.Package object at 0x808da9c90>, 'upgrade', <freenasOS.Package.Package object at 0x808da9810>), (<freenasOS.Package.Package object at 0x808da9c50>, 'upgrade', <freenasOS.Package.Package object at 0x808da9a90>), (<freenasOS.Package.Package object at 0x808da9d10>, 'upgrade', <freenasOS.Package.Package object at 0x808da9a10>)], 'Reboot': True, 'Sequence': (u'd1851bb004ead848f18f828f8fd48bae', u'8863f903d550e9d8a1e9f8c73ae9b4f0')}
DownloadUpdate:  Will upgrade package base-os
DownloadUpdate:  Will upgrade package docs
DownloadUpdate:  Will upgrade package freebsd-pkgdb
DownloadUpdate:  Will upgrade package freenas-pkg-tools
DownloadUpdate:  Will upgrade package FreeNASUI
Update does seem to require a reboot
Searching for base-os-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz
Searching for base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz
TryGetNetworkFile([u'http://update.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz', u'http://update-master.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz'])
Got http error HTTP Error 404: Not Found
Got http error HTTP Error 404: Not Found
Unable to load [u'http://update.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz', u'http://update-master.freenas.org/FreeNAS/Packages/base-os-9.10-RELEASE-d1851bb004ead848f18f828f8fd48bae-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz']: HTTP Error 404: Not Found
HTTP Error 404: Not Found
Received exception during download phase, cannot update
 

Asimov1973

Dabbler
Joined
Nov 23, 2013
Messages
49
UPDATE from GUI say ERROR TIMEOUT when trying to download:

FreeNASUI-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0
 

Asimov1973

Dabbler
Joined
Nov 23, 2013
Messages
49
Update from CLI say that 9.3 is the latest even if I changed to 9.10 TRAIN STABLE in the GUI:

Code:
[root@FREENAS] ~# freenas-update update
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.3-STABLE/LATEST'])
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.3-STABLE/LATEST']):  Read 8326 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'WRtnEymiBqTEeFcCnRTAp09/ABWEdrmGPaZR5ezYXaY8bowS9ioN9pKYGNX71e+PKlZ050uRLG5ctEA4JiNddt/pkUxAkPp8Zbj6vr38vKQwH0th25n8LVGEYMvZ8Ne64pbBN5ZUFVxSlIAvnwdSMr4O5xMZ5Pz7m+I+UJS1fx0q+MKzP76t5szYUblC33aRszvWI1vlppMKxRtjKgjmKlk8ACjxIZVw+iyWJInJc04Mcn8xT0Rwuw3RU8Bj9PjlBEPgLrSv8mLapwzJFFI8FuRInQBgNGICUIgbEPkiltO3NWousddRjwb4GaxmWYi6uZS1aYxhBRVIiSYfuohaew==', '-R', '/tmp/tmphQCdL1.pem']
Signature check succeeded
Going to try checking cached manifest /var/db/system/UpdateUpdate-Hphupv/MANIFEST
Got this exception: [Errno 2] No such file or directory: '/var/db/system/UpdateUpdate-Hphupv/MANIFEST'
Unable to create directory /var/db/system/UpdateUpdate-Hphupv: [Errno 17] File exists: '/var/db/system/UpdateUpdate-Hphupv'
Hopefully the current cache is okay
DownloadUpdate:  No update available
[root@FREENAS] ~# freenas-update update
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.3-STABLE/LATEST'])
TryGetNetworkFile([u'http://update-master.freenas.org/FreeNAS/FreeNAS-9.3-STABLE/LATEST']):  Read 8326 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'WRtnEymiBqTEeFcCnRTAp09/ABWEdrmGPaZR5ezYXaY8bowS9ioN9pKYGNX71e+PKlZ050uRLG5ctEA4JiNddt/pkUxAkPp8Zbj6vr38vKQwH0th25n8LVGEYMvZ8Ne64pbBN5ZUFVxSlIAvnwdSMr4O5xMZ5Pz7m+I+UJS1fx0q+MKzP76t5szYUblC33aRszvWI1vlppMKxRtjKgjmKlk8ACjxIZVw+iyWJInJc04Mcn8xT0Rwuw3RU8Bj9PjlBEPgLrSv8mLapwzJFFI8FuRInQBgNGICUIgbEPkiltO3NWousddRjwb4GaxmWYi6uZS1aYxhBRVIiSYfuohaew==', '-R', '/tmp/tmpXfWUb1.pem']
Signature check succeeded
Going to try checking cached manifest /var/db/system/UpdateUpdate-ZI9L0O/MANIFEST
Got this exception: [Errno 2] No such file or directory: '/var/db/system/UpdateUpdate-ZI9L0O/MANIFEST'
Unable to create directory /var/db/system/UpdateUpdate-ZI9L0O: [Errno 17] File exists: '/var/db/system/UpdateUpdate-ZI9L0O'
Hopefully the current cache is okay
DownloadUpdate:  No update available
[root@FREENAS] ~# 
 

Asimov1973

Dabbler
Joined
Nov 23, 2013
Messages
49
using freenas-update -T FreeNAS-9.10-STABLE check gives:

Code:
Unable to load http://update.freenas.org/FreeNAS/Packages/FreeNASUI-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz: timed out
Unable to load http://update-master.freenas.org/FreeNAS/Packages/FreeNASUI-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz: timed out
Unable to load [u'http://update.freenas.org/FreeNAS/Packages/FreeNASUI-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz', u'http://update-master.freenas.org/FreeNAS/Packages/FreeNASUI-9.10-STABLE-201603252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz']: timed out
Traceback (most recent call last):
  File "/usr/local/bin/freenas-update", line 210, in <module>
    sys.exit(main())
  File "/usr/local/bin/freenas-update", line 138, in main
    rv = Update.DownloadUpdate(train, download_dir, pkg_type = pkg_type)
  File "/usr/local/lib/freenasOS/Update.py", line 924, in DownloadUpdate
    pkg_file = conf.FindPackageFile(pkg, save_dir = directory, handler = get_handler, pkg_type = pkg_type)
  File "/usr/local/lib/freenasOS/Configuration.py", line 1101, in FindPackageFile
    intr_ok = True
  File "/usr/local/lib/freenasOS/Configuration.py", line 630, in TryGetNetworkFile
    raise url_exc
socket.timeout: timed out




Basically, the OS and the documentation are downloading fine but the UI cannot be downloaded because of a timeout.
 

Asimov1973

Dabbler
Joined
Nov 23, 2013
Messages
49
Ehmmm....ok it's my fault: my self-built SOPHOS appliance is scanning the FreenasUI-9.10 tgz file for viruses and in doing so it take around 1 minute causing the timeout....

dc3d5s.jpg
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
That's why I don't do virus scanning from things like SOPHOS appliances. :P
 

kspare

Guru
Joined
Feb 19, 2015
Messages
507
I'm not going through a sophos....any idea on a fix? or are they working on something in the background?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Just add an AV exception for update-master.freenas.org

Just like FreeNAS, you need to fine tune your Sophos box.

I manage a Sophos UTM that protects 100+ users. I have added a number of exceptions over the years, but now days it's probably less than one a week.


Sent from my iPhone using Tapatalk
 

kspare

Guru
Joined
Feb 19, 2015
Messages
507
What about the people who have direct connections to the internet. There is still an issue here.
 

kspare

Guru
Joined
Feb 19, 2015
Messages
507

kspare

Guru
Joined
Feb 19, 2015
Messages
507
I have these errors in my log:
Mar 31 10:30:30 kspsan04 kernel: <118>Mar 31 11:30:30 kspsan04 manage.py: [freenasOS.Update:988] Cache directory /var/db/system/update does not have a sequence file
Mar 31 10:30:33 kspsan04 alert.py: [freenasOS.Update:1373] Could not open sequence file in cache directory /var/db/system/update: [Errno 2] No such file or directory: '/var/db/system/update/SEQUENCE'
Mar 31 10:30:33 kspsan04 alert.py: [freenasOS.Update:988] Cache directory /var/db/system/update does not have a sequence file
Mar 31 10:30:33 kspsan04 kernel: <118>Mar 31 10:30:33 kspsan04 alert.py: [freenasOS.Update:1373] Could not open sequence file in cache directory /var/db/system/update: [Errno 2] No such file or directory: '/var/db/system/update/SEQUENCE'
Mar 31 10:30:33 kspsan04 kernel: <118>Mar 31 10:30:33 kspsan04 alert.py: [freenasOS.Update:988] Cache directory /var/db/system/update does not have a sequence file

The file it's trying to download doesn't exist on the freenas servers.

http://update-master.freenas.org/Fr...03252134-8863f903d550e9d8a1e9f8c73ae9b4f0.tgz

I'd like to get this server into production, is there an eta on when this will be fixed?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I don't know when a fix is coming. I would put in a bug ticket :/
 

kspare

Guru
Joined
Feb 19, 2015
Messages
507
Done.
 

kspare

Guru
Joined
Feb 19, 2015
Messages
507
Yeah thats what I was doing too. Fresh 9.10 image downloaded and trying to upload. I've got a bug ticket opened for it.
 
Status
Not open for further replies.
Top