403 Forbidden

I am using an raspberry pi 4 to run beta 6.0 but if i try to vist pi.hole it says 403 Forbidden.
(my log: https://tricorder.pi-hole.net/D2SqaJn5/)

The correct address is http://pi.hole:8080/admin.

Notes:

  • the protocol can be http or https.
  • the default port is 8080. You can change it on the config.

True; yet http://pi.hole/ or http://pi.hole:8080/ resulting in an error is not good.

@ysflkc

I just noticed you are using a mix of v5 and v6 branches:

*** [ DIAGNOSING ]: Core version
(...)
[i] Branch: master

*** [ DIAGNOSING ]: Web version
(...)
[i] Branch: development-v6

*** [ DIAGNOSING ]: FTL version
(...)
[i] Branch: master

This won't work!

You need to use the branch development-v6 for all 3 components.

2 Likes

how can i change all to v6?

As noted in our release announcement, run the following commands in this order:

echo "development-v6" | sudo tee /etc/pihole/ftlbranch 
pihole checkout core development-v6
pihole checkout web development-v6

ohhhhhh i just did copy and paste the whole ting and didn't split it up :sweat_smile:

wait, i did get an error:

  [✗] Unsupported OS detected: Raspbian 12
      If you are seeing this message and you do have a supported OS, please contact support.

      https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems

      If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:

      e.g: If you are seeing this message on a fresh install, you can run:
             curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash

           If you are seeing this message after having run pihole -up:
             sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
           (In this case, your previous run of pihole -up will have already updated the local repository)

      It is possible that the installation will still fail at this stage due to an unsupported configuration.
      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/

   Error: Unable to complete update, please contact support

As of now, Raspbian 12 (just released today or yesterday) is not supported. You can bypass the unsupported OS problem as noted.

I think (haven't confirmed, since I am running dev 6.0 on a supported OS), that if you pipe the last two commands to the unsupported bypass, it will work.

Again, I haven't tested this. Run it and see if it works for you.

pihole checkout core development-v6 | sudo PIHOLE_SKIP_OS_CHECK=true bash

etc.

where can i find Raspbian 11? It isn't in the imager.

See the legacy section here:

thanks, that was it

where can i change it?

In /etc/pihole/pihole.toml file, under section [webserver], option port:

  port = "80,[::]:80,443s,[::]:443s"

thanks