OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: fcastrot on July 17, 2020, 10:45:06 AM

Title: CaptivePortal Issue
Post by: fcastrot 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.