# Getting 403 Forbidden in brand new fresh install

**URL:** <https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928>\
**Category:** Community Help\
**Created:** [May 1, 2026, 2:47pm UTC](https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928 "2026-05-01T14:47:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KZKGGaara](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/kzkggaara/32/55389_2.png) [@KZKGGaara](https://discourse.pi-hole.net/u/KZKGGaara)\
**Post date:** [May 1, 2026, 2:47pm UTC](https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928/1 "2026-05-01T14:47:42Z")

</div>

I have a small Thin Client with Alpine Linux (v3.23.4), already install Pi-Hole using [yvelon](https://gitlab.com/yvelon/pi-hole) script in Git.

> cat /etc/pihole/versions  
> CORE\_VERSION=0c6b70f  
> CORE\_BRANCH=master  
> CORE\_HASH=0c6b70fa  
> GITHUB\_CORE\_VERSION=v6.4.2  
> GITHUB\_CORE\_HASH=3413768c  
> WEB\_VERSION=v6.5  
> WEB\_BRANCH=master  
> WEB\_HASH=7a17e01c  
> GITHUB\_WEB\_VERSION=v6.5  
> GITHUB\_WEB\_HASH=7a17e01c  
> FTL\_VERSION=5.25.1  
> FTL\_BRANCH=  
> FTL\_HASH=  
> GITHUB\_FTL\_VERSION=v6.6.1  
> GITHUB\_FTL\_HASH=

As far as I can see, Pi-Hole is using lighttpd as web server, but only for port 80:

> netstat -punta | grep LISTEN  
> tcp 0 0 127.0.0.1:4711 0.0.0.0:\* LISTEN 3350/pihole-FTL  
> tcp 0 0 0.0.0.0:80 0.0.0.0:\* LISTEN 4049/lighttpd  
> tcp 0 0 0.0.0.0:53 0.0.0.0:\* LISTEN 3350/pihole-FTL  
> tcp 0 0 0.0.0.0:22 0.0.0.0:\* LISTEN 2436/sshd [listener  
> tcp 0 0 ::1:4711 :::\* LISTEN 3350/pihole-FTL  
> tcp 0 0 :::53 :::\* LISTEN 3350/pihole-FTL  
> tcp 0 0 :::22 :::\* LISTEN 2436/sshd [listener

## Actual Behaviour:

I'm getting 403 Forbidden from lighthttpd when I access to `http://{SERVER_IP}/admin/` ... here is the webserver log:

> ==\> /var/log/lighttpd/access-pihole.log \<==  
> 1777613001|{MY\_IP}|{SERVER\_IP}|GET /admin/ HTTP/1.1|403|158

## Debug Token:

Also I have a debug code or token for more information: `hmQfB7CB`

Some help over here please?

---

<div class="post-metadata">

**Author:** ![darkexplosiveqwx](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/darkexplosiveqwx/32/45118_2.png) [@darkexplosiveqwx](https://discourse.pi-hole.net/u/darkexplosiveqwx)\
**Post date:** [May 1, 2026, 3:04pm UTC](https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928/2 "2026-05-01T15:04:30Z")

</div>

The GitLab you linked has last been updated in 2024 and is running a very old version of Pi-hole (probably v5).  
I’d suggest uninstalling that version and installing the latest version of v6 from official sources instead. Pi-hole has had Alpine support for some months now.

Note that v6 doesnt use lighttpd and instead uses an embedded web server.

---

<div class="post-metadata">

**Author:** ![rdwebdesign](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/rdwebdesign/32/51363_2.png) [@rdwebdesign](https://discourse.pi-hole.net/u/rdwebdesign)\
**Post date:** [May 1, 2026, 5:34pm UTC](https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928/3 "2026-05-01T17:34:22Z")

</div>

> [@KZKGGaara](#):
>
> already install Pi-Hole using [yvelon](https://gitlab.com/yvelon/pi-hole) script in Git.

This is a third party script, created for an older Pi-hole version.

As far as I know, the script installs Pi-hole v5. Also, apparently you tried to update Pi-hole, resulting in a mix of v5 and v6 files.

* * *

Your debug log shows you are using:

A third party version of Core (_`gitlab.com/yvelon`_ - probably base on v5):

```auto
*** [DIAGNOSING]: Core version
[✓] Version: 
[i] Remotes: origin	https://gitlab.com/yvelon/pi-hole.git (fetch)
             origin	https://gitlab.com/yvelon/pi-hole.git (push)
[i] Branch: master
[i] Commit: 0c6b70f

```

The web interface files are v6 (and their permissions were completely changed):

```auto
*** [DIAGNOSING]: Web version
[✓] Version: v6.5
[i] Remotes: origin	https://github.com/pi-hole/web.git (fetch)
             origin	https://github.com/pi-hole/web.git (push)
[i] Branch: master
[i] Commit: v6.5-0-g7a17e01-dirty

```

And finally, FTL version is v5:

```auto
*** [DIAGNOSING]: FTL version
[✓] Version: 5.25.1
[i] Branch: 
[i] Commit: 

```

The v6 web interface needs core and FTL v6.

This is a complete mess and it will never work. I don't even know how to suggest a fix.

* * *

If you want to keep using the third party script, you will need to ask for help on their repository.

My suggestion is to completely uninstall your current Pi-hole and try to install again using the official installation.

---

<div class="post-metadata">

**Author:** ![KZKGGaara](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/kzkggaara/32/55389_2.png) [@KZKGGaara](https://discourse.pi-hole.net/u/KZKGGaara)\
**Post date:** [May 1, 2026, 7:55pm UTC](https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928/4 "2026-05-01T19:55:32Z")

</div>

What a disaster, total chaos! hahaha ... ok ok, thanks to both of you for the replies.  
I'm going to do a clean reinstall and clearly without using that script.

---

<div class="post-metadata">

**Author:** ![rdwebdesign](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/rdwebdesign/32/51363_2.png) [@rdwebdesign](https://discourse.pi-hole.net/u/rdwebdesign)\
**Post date:** [May 1, 2026, 8:34pm UTC](https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928/5 "2026-05-01T20:34:24Z")

</div>

The Pi-hole v6 installer should work on Alpine.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [May 22, 2026, 8:35pm UTC](https://discourse.pi-hole.net/t/getting-403-forbidden-in-brand-new-fresh-install/85928/6 "2026-05-22T20:35:15Z")

</div>

Closed on May 22, 2026, 8:35pm UTC

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
