So after installing normally via the auto install script, i try doing pihole checkout dev and here is the output:
Please note that changing branches severely alters your Pi-hole subsystems
Features that work on the master branch, may not on a development branch
This feature is NOT supported unless a Pi-hole developer explicitly asks!
Have you read and understood this? [y/N] y
[i] Shortcut "dev" detected - checking out development / devel branches...
[i] Pi-hole Core
[✓] Switching to branch: 'development' from 'refs/heads/master'
[i] Already up to date.
[i] Web interface
fatal: couldn't find remote ref refs/heads/devel
[✗] Unable to pull Web development branch ------------ this is were i can`t pass
How can i set V6 up?
Ah, of course. We renamed the devel
branch to development
to align the branch names across the repos, but of course the master
release knows the branch as devel
I have recreated the devel
branch on the web repo and now the pihole checkout dev
command will work. HOWEVER, this branch will not be updated along with the development
branch, so to keep up to date, just run pihole checkout dev
again once it has successfully completed the first time
1 Like
THANKS!!! ill keep an eye out for when the branch changes, im planning to use V6 till it`s out on master. I love the new things you guys added. Is there a way to update the script so it gets the right branch instead of recreating the old one?
Did you try to update Pi-hole after the last PromoFaux comment?
Try pihole checkout dev
. This should work now and will install the missing branch.
Then run pihole checkout dev
again to finally install Pi-hole v6 (development
branch).
1 Like
Yes yes, everything working after doing the update.
Now it gets the correct name of the branch
[i] Pi-hole Core
[✓] Switching to branch: 'development' from 'refs/heads/development'
[i] Already up to date.
[i] Web interface
[✓] Switching to branch: 'development' from 'refs/heads/devel'
[i] Already up to date.
[i] Running installer to upgrade your installation