Project

General

Profile

Bug #67942

Error after upgrading to 11.1-U6.3

Added by Maciej Pietrzak over 2 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Hi,

I've made upgrade to 11.1-U6.3 by Web GUI. After that, system is showing error:

Environment:

Software Version: FreeNAS-11.1-U6.3 (35cbff5a1)
Request Method: GET
Request URL: http://kasprzaka16.local/system/

Traceback:
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py" in execute
64. return self.cursor.execute(sql, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in execute
412. execute = self.locked_retry(Database.Cursor.execute, query, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in locked_retry
389. rv = method(self, *args, **kwargs)
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 "./freenasUI/freeadmin/middleware.py" in process_view
162. return login_required(view_func)(request, *view_args, **view_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 "./freenasUI/system/views.py" in home
685. tabs = appPool.hook_app_tabs('system', request)
File "./freenasUI/freeadmin/apppool.py" in hook_app_tabs
61. return self._get_array('hook_app_tabs', name, request)
File "./freenasUI/freeadmin/apppool.py" in _get_array
27. method(arr, func(*args, **kwargs))
File "./freenasUI/system/hook.py" in hook_app_tabs_system
71. obj = model.objects.order_by('-id')[0]
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in getitem
295. return list(qs)[0]
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in iter
256. self._fetch_all()
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in _fetch_all
1087. self._result_cache = list(self.iterator())
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in iter
54. results = compiler.execute_sql()
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py" in execute_sql
835. cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py" in execute
64. return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/utils.py" in exit
94. six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python3.6/site-packages/django/utils/six.py" in reraise
685. raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py" in execute
64. return self.cursor.execute(sql, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in execute
412. execute = self.locked_retry(Database.Cursor.execute, query, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in locked_retry
389. rv = method(self, *args, **kwargs)

Exception Type: OperationalError at /system/
Exception Value: no such column: system_advanced.adv_consolescreensaver

This error is showing on every configuration page (Jail Config, System page etc.)

Capture.PNG (177 KB) Capture.PNG Maciej Pietrzak, 01/06/2019 11:04 AM
47730

Related issues

Copied to FreeNAS - Bug #69823: Prevent invalid train changes in middleware update pluginDone

History

#1 Updated by Dru Lavigne over 2 years ago

  • Category changed from GUI (new) to Middleware
  • Assignee changed from Release Council to William Grzybowski

#2 Updated by William Grzybowski over 2 years ago

  • Status changed from Unscreened to Blocked
  • Reason for Blocked set to Waiting for feedback

From which version did you upgrade from?

Do you have a /data/update.failed file? If so please attach it.

Also the output of "beadm list"

#3 Updated by Maciej Pietrzak over 2 years ago

Sorry, I forgot to add this. I've updated from "FreeNAS-11.2-RELEASE-U1" - that's the name of ISO file what I've downloaded from your website. I've received email with notification about new version. Now I see, that "updated" version is lower than previously installed by me (but why system allowed me to install older version?) Also, there's no /data/update.failed file.

beadm list output:

[root@Kasprzaka16 ~]# beadm list
BE Active Mountpoint Space Created Nickname
default - - 12.8M 2019-01-02 18:12 default
Initial-Install - - 12.2M 2019-01-02 18:15 Initial-Install
11.1-U6.3 NR / 2.1G 2019-01-06 19:40 11.1-U6.3

#4 Updated by William Grzybowski over 2 years ago

Did you upgrade using new UI?

To get back to 11.2 do this:

beadm activate default

then reboot

#5 Updated by Maciej Pietrzak over 2 years ago

Yup, it helped. Thanks!

#6 Updated by William Grzybowski over 2 years ago

  • Status changed from Blocked to Unscreened
  • Assignee changed from William Grzybowski to Vladimir Vinogradenko
  • Target version changed from Backlog to 11.2-U3
  • Seen in changed from 11.1-U6.3 to 11.2-RELEASE-U1
  • Reason for Blocked deleted (Waiting for feedback)

#8 Updated by Bug Clerk over 2 years ago

  • Status changed from Unscreened to In Progress

#9 Updated by Bug Clerk over 2 years ago

  • Status changed from In Progress to Ready for Testing

#10 Updated by Bug Clerk over 2 years ago

  • Target version changed from 11.2-U3 to 11.3

#11 Updated by Bug Clerk over 2 years ago

  • Copied to Bug #69823: Prevent invalid train changes in middleware update plugin added

#12 Updated by Dru Lavigne over 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF