Project

General

Profile

Bug #45761

Fix traceback when reading plugins database

Added by William Grzybowski almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Seen in:
Severity:
Low Medium
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

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 122, in main_worker
    res = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 82, in _run
    return await self._call(f'{service_name}.{method}', serviceobj, methodobj, params=args, job=job)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 75, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 75, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 397, in list_resource
    plugin[1], index_json, iocroot)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 784, in get_local_plugin_version
    primary_pkg)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 805, in read_plugin_pkg_db
    f'SELECT * FROM packages WHERE origin="{pkg}" OR name="{pkg}"'
sqlite3.OperationalError: no such table: packages

I dont remember if a ticket about this was created already, I couldnt find. If there is please just close as duplicated.

https://sentry.ixsystems.com/ixsystems/freenas-middleware/issues/14385/


Related issues

Has duplicate FreeNAS - Bug #44757: no such table: packagesClosed

History

#1 Updated by William Grzybowski almost 2 years ago

  • Has duplicate Bug #44757: no such table: packages added

#2 Updated by Brandon Schneider almost 2 years ago

  • Status changed from Unscreened to Not Started

#3 Updated by Bug Clerk almost 2 years ago

  • Status changed from Not Started to In Progress

#4 Updated by Brandon Schneider almost 2 years ago

#5 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Traceback on reading plugin database to Fix traceback when reading plugins database
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#8 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF