Ubuntu bare metal scratch install of beta v6?

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 :blush::+1:

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 :blush:

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

  • install Pi-hole v5;
  • execute pihole checkout dev
1 Like

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

So what to do from here?

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.

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

1 Like

this is my way:

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
1 Like

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

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?

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:

pihole -d

Hi all and THANKS!

I finally just figured it out - it was the lighttpd service running :frowning:
That is stopped now, and it's running :slight_smile: :+1:

1 Like

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 :wink:

(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 :slight_smile: )

#StillMyFavoriteProject&DevelopersAfterAllTheseYears!!! :stuck_out_tongue_winking_eye: :smiling_face_with_three_hearts: :rofl:

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 did this on a test pi that I'm running V6 on ( raspian ) and it worked just fine.

1 Like

I totally forgot about that! :see_no_evil: Thnx! :+1:t2:

My last installation of Pi-Hole was about 5 years ago so you forget things... LOL! :laughing: :sweat_smile:

A post was split to a new topic: I can't reach the Pi-hole v6 web interface