This check can be skipped by setting the environment variable PIHOLE_SKIP_OS_CHECK to true
e.g: export PIHOLE_SKIP_OS_CHECK=true
By setting this variable to true you acknowledge there may be issues with Pi-hole during or after the install
If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/
Unable to complete update, please contact Pi-hole Support
I added “export PIHOLE_SKIP_OS_CHECK=true” to .bash_profile, .bashrc, .profile, /etc/environment.
I did a source .bash_profile, source .bashrc, source .profile. I even restarted my machine.
I always get this error: [✗] Unsupported OS detected
Although OSMC is Debian-based, it doesn’t have the “correct” values in /etc/os-release, which is where Pi-hole looks. As to why using export PIHOLE_SKIP_OS_CHECK=true doesn’t work, perhaps you’ll have more success on the Pi-hole forum.