CaptivePortal Issue

Started by fcastrot, July 17, 2020, 10:45:06 AM

Previous topic - Next topic
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.