# Ubuntu bare metal scratch install of beta v6?

**URL:** <https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646>\
**Category:** Beta 6.0\
**Created:** [December 20, 2024, 5:26pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646 "2024-12-20T17:26:25Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bjarne\_Dein](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bjarne_dein/32/44634_2.png) [@Bjarne\_Dein](https://discourse.pi-hole.net/u/Bjarne_Dein)\
**Post date:** [December 20, 2024, 5:26pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/1 "2024-12-20T17:26:25Z")

</div>

Hello you awesome Guys,

I’ve been fooling around trying to install v6 reading from various sources on, what I thought was straight ahead install, but unfortunately not - yet😊  
So now I hope I’m at the source of truth 😊👍

Can someone please tell me how make a clean install of v6 beta on “bare metal” (Ubuntu 24.04 on a Proxmox container)?

Many thanks in advance 😊

---

<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:** [December 20, 2024, 6:54pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/2 "2024-12-20T18:54:05Z")

</div>

Since v6 is not yet released, a bare metal installation will require 2 steps:

- install Pi-hole v5;
- execute `pihole checkout dev`

> [@Difficulty with V6 Beta install](https://discourse.pi-hole.net/t/difficulty-with-v6-beta-install/73398/2):
>
> That post is outdated. You need to follow the most recent announcements: [https://discourse.pi-hole.net/t/thank-you-for-being-part-of-the-v6-beta/72113](https://discourse.pi-hole.net/t/thank-you-for-being-part-of-the-v6-beta/72113)[https://discourse.pi-hole.net/t/preparing-for-the-v6-release/71809](https://discourse.pi-hole.net/t/preparing-for-the-v6-release/71809) Basically, now you need to install Pi-hole: curl -sSL https://install.pi-hole.net | bash and change to the development branches using: pihole checkout dev Or simply try the docker image with :development tag: docker pull pihole/pihole:development

---

<div class="post-metadata">

**Author:** ![Bjarne\_Dein](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bjarne_dein/32/44634_2.png) [@Bjarne\_Dein](https://discourse.pi-hole.net/u/Bjarne_Dein)\
**Post date:** [December 20, 2024, 7:35pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/3 "2024-12-20T19:35:33Z")

</div>

You, that’s the procedure I’ve done more than once now, and they all end up the web error 402 ☹

So what to do from here?

---

<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:** [December 20, 2024, 8:15pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/4 "2024-12-20T20:15:37Z")

</div>

> [@Bjarne\_Dein](#):
>
> I’ve done more than once now, and they all end up the web error 402

I'm confused.  
You marked my answer as "Solution", but you are saying the issue is not solved.

Where are you seeing the `402` error message? Please post the full error.

---

<div class="post-metadata">

**Author:** ![Bjarne\_Dein](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bjarne_dein/32/44634_2.png) [@Bjarne\_Dein](https://discourse.pi-hole.net/u/Bjarne_Dein)\
**Post date:** [December 20, 2024, 8:30pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/7 "2024-12-20T20:30:08Z")

</div>

I don’t know choose it as a Solution - i saw it, and was confused, as to me it was not a solution, and I frankly don’t know who set it as solution - I didn’t

---

<div class="post-metadata">

**Author:** ![Bui\_Luan](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bui_luan/32/44242_2.png) [@Bui\_Luan](https://discourse.pi-hole.net/u/Bui_Luan)\
**Post date:** [December 21, 2024, 3:24am UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/9 "2024-12-21T03:24:38Z")

</div>

this is my way:

```auto
sudo git clone https://github.com/pi-hole/pi-hole /etc/.pihole

sudo git clone https://github.com/pi-hole/web /var/www/html/admin

cd /var/www/html/admin

git checkout development

cd /etc/.pihole

git checkout development

mkdir /etc/pihole

cd /etc/pihole

touch ftlbranch

echo "development" > ftlbranch

bash /etc/.pihole/automated\ install/basic-install.sh

```

---

<div class="post-metadata">

**Author:** ![Bjarne\_Dein](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bjarne_dein/32/44634_2.png) [@Bjarne\_Dein](https://discourse.pi-hole.net/u/Bjarne_Dein)\
**Post date:** [December 21, 2024, 8:41am UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/10 "2024-12-21T08:41:29Z")

</div>

Never seen this way, looks interesting- I will give it a try- thanks so far

---

<div class="post-metadata">

**Author:** ![Bjarne\_Dein](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bjarne_dein/32/44634_2.png) [@Bjarne\_Dein](https://discourse.pi-hole.net/u/Bjarne_Dein)\
**Post date:** [December 21, 2024, 9:52pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/11 "2024-12-21T21:52:40Z")

</div>

Hi Bui\_Luan,

I just tried your way, which is very fast and convenient, but nevertheless - I still get the annoying: 403 Forbidden when trying to access the gui.

Do you happen to know why this becomes an issue in v6 beta and not in v5?

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [December 21, 2024, 10:04pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/12 "2024-12-21T22:04:28Z")

</div>

Please upload a debug log and post **just the token URL** that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

```auto
pihole -d

```

---

<div class="post-metadata">

**Author:** ![Bjarne\_Dein](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bjarne_dein/32/44634_2.png) [@Bjarne\_Dein](https://discourse.pi-hole.net/u/Bjarne_Dein)\
**Post date:** [December 21, 2024, 10:27pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/13 "2024-12-21T22:27:40Z")

</div>

Hi all and THANKS!

I finally just figured it out - it was the **lighttpd** service running ☹  
That is stopped now, and it's running 🙂 👍

---

<div class="post-metadata">

**Author:** ![nero355](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/nero355/32/54774_2.png) [@nero355](https://discourse.pi-hole.net/u/nero355)\
**Post date:** [January 18, 2025, 7:17pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/15 "2025-01-18T19:17:43Z")

</div>

You mention /var/www/html/admin and I believe that's the current LigHTTPd directory used for the Pi-Hole webGUI but the 6.0 version of Pi-Hole doesn't use LiGHTTPd and PHP anymore so the questions that come up for me are :

- Is these any way to avoid having to install LigHTTPd and PHP first ?
- If there is not : Does the upgrade from 5.x to 6.x "nicely and cleanly" remove all leftovers that 5.x might leave behind during the upgrade ?!

I did not follow the developments of Pi-Hole 6.x as much as I would have wanted to so if I mention something silly then please let me know 😉

(The reason I am asking is that I might need to do a Clean Install of my Raspberry Pi 3B running Pi-Hole + Unbound because of the 5+ years age of the microSDXC card and to be able to do further RaspBian/Raspberry Pi OS upgrades in the future with a bigger /boot that I currently do not have.

And then there is also some other stuff that's affected too like not being able to run MongoDB unless I upgrade to 64-bit ARM OS instead of the current 32-bit 🙂 )

_#StillMyFavoriteProject&DevelopersAfterAllTheseYears!!!_ 😜 🥰 🤣

---

<div class="post-metadata">

**Author:** ![CallMeCurious](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/c/c4cdca/32.png) [@CallMeCurious](https://discourse.pi-hole.net/u/CallMeCurious)\
**Post date:** [January 18, 2025, 7:23pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/16 "2025-01-18T19:23:54Z")

</div>

> [@nero355](#):
>
> Is these any way to avoid having to install LigHTTPd and PHP first ?

During the V5 install process it will ask you if you want to install the web interface. Just choose no and when the install is done do step 2

> [@rdwebdesign](#):
>
> execute `pihole checkout dev`

I did this on a test pi that I'm running V6 on ( raspian ) and it worked just fine.

---

<div class="post-metadata">

**Author:** ![nero355](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/nero355/32/54774_2.png) [@nero355](https://discourse.pi-hole.net/u/nero355)\
**Post date:** [January 19, 2025, 5:20pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/17 "2025-01-19T17:20:47Z")

</div>

> [@CallMeCurious](#):
>
> During the V5 install process it will ask you if you want to install the web interface. Just choose no and when the install is done do step 2

I totally forgot about that! 🙈 Thnx! 👍🏻

My last installation of Pi-Hole was about 5 years ago so you forget things... LOL! 😆 😅

---

<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:** [February 7, 2025, 7:31pm UTC](https://discourse.pi-hole.net/t/ubuntu-bare-metal-scratch-install-of-beta-v6/74646/18 "2025-02-07T19:31:11Z")

</div>

A post was split to a new topic: [I can't reach the Pi-hole v6 web interface](https://discourse.pi-hole.net/t/i-cant-reach-the-pi-hole-v6-web-interface/75639)
