OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 23.1 Legacy Series »
  • System Update failure: SQLiute error
« previous next »
  • Print
Pages: [1]

Author Topic: System Update failure: SQLiute error  (Read 579 times)

gatortech12

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
System Update failure: SQLiute error
« on: February 23, 2023, 12:01:19 am »
I went to update opnsense and this is what I was met with. Any guidance  would be appreciated
Code: [Select]
Number of packages to be upgraded: 15
pkg-static: sqlite error while executing SELECT lua_script, type  FROM lua_script    JOIN pkg_lua_script USING(lua_script_id)  WHERE package_id = 22 in file pkgdb_iterator.c:689: database disk image is malformed
Starting web GUI...done.
Generating RRD graphs...done.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17748
  • Karma: 1620
    • View Profile
Re: System Update failure: SQLiute error
« Reply #1 on: February 23, 2023, 12:36:31 pm »
use opnsense-bootstrap when the package data base is malformed:

# opnsense-bootstrap

(all your settings will be retained, plugins must be resynced to work again but no big deal)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 23.1 Legacy Series »
  • System Update failure: SQLiute error
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2