OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • CaptivePortal Issue
« previous next »
  • Print
Pages: [1]

Author Topic: CaptivePortal Issue  (Read 1622 times)

fcastrot

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
CaptivePortal Issue
« on: July 17, 2020, 10:45:06 am »
Hello,

Since the last update I have been presented with the following error in the captive portal:
I have the last versión of OPNsense.

captiveportal: Traceback (most recent call last): File "/usr/local/opnsense/scripts/OPNsense/CaptivePortal/cp-background-process.py", line 207, in main bgprocess.db.cleanup_sessions() File "/usr/local/opnsense/scripts/OPNsense/CaptivePortal/lib/db.py", line 385, in cleanup_sessions """) sqlite3.DatabaseError: database disk image is malformed

I already tried to delete the captive portal and delete the database manually and reconfigure everything, but after some time it happens again.

I checked to see if it was hard drive space but the space is fine.

One thing that happens is that every so often the DB gets corrupted and I have to restore a good copy for the captive portal to work properly. Has this happened to anyone? Do you have any suggestions on how to solve it?
Thank you.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • CaptivePortal Issue
 

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