Project

General

Profile

Bug #26502

Updating 11.1 Beta failing

Added by Haggis Haggis almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Expected
Assignee:
Vaibhav Chauhan
Category:
OS
Target version:
Seen in:
Severity:
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I have tried to update 11.1 Beta using the train FreeNAS-11.1-PRERELEASE and am failing:
With the automatic update I get:

Software Version: FreeNAS-11.1-BETA1 (476ef43ed)
Request Method: POST
Request URL: http://freenas.fritz.box/system/update/check/?uuid=ff395b8e83e8430d902fc34e96d8e3c9

Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
42. response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)

Exception Type: MiddlewareError at /system/update/check/
Exception Value: [MiddlewareError: Unable to mount boot-environment 11.1-RC1]

With the manual update, I get error:
nvironment: Software Version: FreeNAS-11.1-BETA1 (476ef43ed) Request Method: POST Request URL: http://freenas.fritz.box/system/manualupdate/?X-Progress-ID=c8b53565-17f8-40ce-8941-85f6b4b9df07 Traceback: File "/usr/local/lib/python3.6/subprocess.py" in check_output 336. **kwargs).stdout File "/usr/local/lib/python3.6/subprocess.py" in run 418. output=stdout, stderr=stderr) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 42. response = get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response 249. response = self._get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 178. response = middleware_method(request, callback, callback_args, callback_kwargs) File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view 68. return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in dispatch 237. response = super(WizardView, self).dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch 88. return handler(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in post 300. return self.render_done(form, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in render_done 357. **kwargs) Exception Type: MiddlewareError at /system/manualupdate/ Exception Value: [MiddlewareError: Failed to apply update Command '['/usr/local/bin/freenas-update', '-C', '/var/tmp/firmware', 'update']' returned non-zero exit status 1.: b'']

When I update via ISO, it is even worse and I get an error about a missing structure.

update.jpg (173 KB) update.jpg Haggis Haggis, 11/03/2017 11:32 PM
12916

History

#1 Updated by Sean Fagan almost 3 years ago

The update error is known; if you run "freenas-update --reboot update.tar" it'll work.

The error via ISO is unknown, though.

#2 Updated by Haggis Haggis almost 3 years ago

Tried with the command line. It also failed:

Extracting ./base-os-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Done extracting ./base-os-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Extracting ./docs-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Done extracting ./docs-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Extracting ./freebsd-pkgdb-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Done extracting ./freebsd-pkgdb-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Extracting ./freenas-pkg-tools-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Done extracting ./freenas-pkg-tools-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Extracting ./FreeNASUI-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Done extracting ./FreeNASUI-11.1-RC1-5ed955e732e3ffe1bcfb3fb97edd57a8.tgz
Extracting ./ValidateUpdate
Done extracting ./ValidateUpdate
Extracting ./ReleaseNotes
Done extracting ./ReleaseNotes
Extracting ./ChangeLog
Done extracting ./ChangeLog
Extracting ./ChangeLog.txt
Done extracting ./ChangeLog.txt
Extracting ./MANIFEST
Done extracting ./MANIFEST
[freenasOS.Configuration:692] TryGetNetworkFile(['http://update-master.ixsystems.com/updates/ix_crl.pem'])
[freenasOS.Configuration:84] CheckFreeSpace(path=/tmp/tmp_2rsuhim.pem, pool=None, required=1028)
[freenasOS.Configuration:822] TryGetNetworkFile(['http://update-master.ixsystems.com/updates/ix_crl.pem']): Read 1028 bytes total
[freenasOS.Update:1599] Could not load cached manifest file: Signature verification failed
[freenasOS.Update:1133]
[freenas-update:247] Unable to update:

#3 Updated by Dru Lavigne almost 3 years ago

  • Assignee changed from Release Council to Sean Fagan

#4 Updated by Sean Fagan almost 3 years ago

Oh, that's neat, that means the file got corrupted somehow.

#5 Updated by Sean Fagan almost 3 years ago

  • Assignee changed from Sean Fagan to Vaibhav Chauhan
  • Priority changed from No priority to Expected

Over to VB: I've confirmed that the signature check is failing, with the tar file I grabbed myself. This most likely means an issue during the build process, or in creating the manual update file.

For now, one can work around it by simply removing the 'Signature' line in the MANIFEST file, but obviously that shouldn't happen.

#6 Updated by Vaibhav Chauhan almost 3 years ago

  • Status changed from Unscreened to Screened

#7 Updated by Dru Lavigne almost 3 years ago

  • Target version set to 11.1

#8 Avatar?id=14398&size=24x24 Updated by Kris Moore almost 3 years ago

  • Status changed from Screened to Closed: Not Applicable
  • Target version changed from 11.1 to N/A

#9 Updated by Dru Lavigne almost 3 years ago

  • File deleted (debug-freenas-20171104162757.tgz)

#10 Avatar?id=14398&size=24x24 Updated by Kris Moore over 2 years ago

  • Status changed from Closed: Not Applicable to Closed

Also available in: Atom PDF