Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for sqlite3 program [Feature Request] #9

Open
kiloforce opened this issue Jan 13, 2024 · 2 comments
Open

Add check for sqlite3 program [Feature Request] #9

kiloforce opened this issue Jan 13, 2024 · 2 comments

Comments

@kiloforce
Copy link

Was running the script, but it wasn't updating the adlist. Starting debugging the logs/script and realized it was calling sqlite3 program, which is not installed on the system. Maybe add a check near the beginning for sqlite3 and error out if it is missing? It's not required to run Pi-hole.

@JavanXD
Copy link
Owner

JavanXD commented Apr 28, 2024

Oh, in my installation which is default PiHole on Raspi it was sqlite3, what do you have as dbms?

@kiloforce
Copy link
Author

My instance of PiHole is running on Ubuntu 22. I see php-sqlite3 installed, just not the CLI sqlite3 version installed. I installed it so I could use your script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants