The link I looked at is:
It says to use pihole -a -p which is no longer supported, and you have to use pihole -password
pihole -a -p
pihole -password