Please follow the below template, it will help us to help you!
Expected Behaviour:
That the data should be store in the database and that it should not be resetting back to 0 when i reboot the service or the VM.
Actual Behaviour:
When i reboot the computer or Pihole all the statistic data get deleted and it starting back on 0 again.
Debug Token:
https://tricorder.pi-hole.net/oKXF9lG1/
I have try to pihole -r but that don't seems to be helping.
Seeing this errors in the error log
2023-09-23 09:20:08: (mod_fastcgi.c.451) FastCGI-stderr:PHP Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
2023-09-23 09:20:13: (mod_fastcgi.c.451) FastCGI-stderr:PHP Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
2023-09-23 09:25:29: (mod_fastcgi.c.451) FastCGI-stderr:PHP Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
2023-09-23 09:25:32: (mod_fastcgi.c.451) FastCGI-stderr:PHP Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
2023-09-23 09:25:34: (mod_fastcgi.c.451) FastCGI-stderr:PHP Warning: SQLite3::prepare(): Unable to prepare statement: 1, no such table: query_storage in /var/www/html/admin/api_db.php on line 94
2023-09-23 09:25:34: (mod_fastcgi.c.451) FastCGI-stderr:PHP Fatal error: Uncaught Error: Call to a member function bindValue() on bool in /var/www/html/admin/api_db.php:95
2023-09-23 09:25:34: (mod_fastcgi.c.451) FastCGI-stderr:Stack trace:
2023-09-23 09:25:34: (mod_fastcgi.c.451) FastCGI-stderr:#0 {main}
2023-09-23 09:25:34: (mod_fastcgi.c.451) FastCGI-stderr: thrown in /var/www/html/admin/api_db.php on line 95
2023-09-23 09:25:37: (mod_fastcgi.c.451) FastCGI-stderr:PHP Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: message in /var/www/html/admin/api_db.php on line 385
Can that be related?