When I try to either whitelist or blacklist any site I get an error if I include https:// in the URL, i get an error which is fine I assume it's a syntax thing.
However when I don't have https:// I get a success message but the list doesn't get updated even with a refresh or checking via ssh.
to add sites I always have to add via ssh.
Am i doing something wrong? i tried installing pihole a few times with no luck.
When you add a domain to the list, you should only add the domain, not the URL or protocol (http, https). If it's still not adding them when you are only adding the domain (example.com) then run pihole -d for a debug token.
so I did what you suggested. I also noticed a couple of duplicates which I got rid of... but I still have the same problem can't add to whitelist through the web interface.
could it be that I am using a Pi 2?
I just used TeamViewer to access a PC at my parent's house where I set up a pi-hole on a Pi 3 and tried whitelisting and it worked fine.
pi@raspberrypi:~ $ sudo cat /etc/sudoers.d/pihole
# Pi-hole: A black hole for Internet advertisements
# (c) 2015, 2016 by Jacob Salmela
# Network-wide ad blocking via your Raspberry Pi
# http://pi-hole.net
# Allows the WebUI to use Pi-hole commands
#
# Pi-hole is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
Moderator edit: Introduced code delimiters for better formating
By any chance, do you still have the installation log so we could have a look if there was an error message during install? It is located in /etc/pihole/install.log. You can either post it here or send it via PM to me.