Mint 20: Cannot upgrade 5.0 to 5.1

I know Mint/Ubuntu is not officially supported, but...

I had no trouble installing pihole on Mint 18 and upgrading to 5.0 on Mint 18. Then I upgraded to Mint 20. pihole 5.0 works fine but when I try to upgrade to 5.1 I get the OS_UNSUPPORTED error and setting the environment variable doesn't help. Attached is my debug log (upload/token didn't work).

pihole-debug-log.txt (69.8 KB)

I'm running the OS on a VM in ESXi 6.7

What I have changed since installing Pi-hole:

  1. The upgrade to 5.0 overwrote the static IP and port assigned to lighttpd, which I restored by editing lighttpd.conf.

Mint is not an officially supported OS. Since v5.1 this is pointed out to the user more directly.
Try

export PIHOLE_SKIP_OS_CHECK=true pihole -up

I mentioned "setting the environment variable doesn't help". I should have been more explicit. The result of doing so has no effect -- it still tells me that OS not supported.

Someone was successful using

sudo export PIHOLE_SKIP_OS_CHECK=true pihole -up

Thank you! It worked!

Note: It's not
sudo export PIHOLE_SKIP_OS_CHECK=true pihole -up

but

sudo PIHOLE_SKIP_OS_CHECK=true pihole -up

1 Like