Fatal: couldn't find remote ref refs/heads/devel When trying to update Pihole V6

I'm encountering this error: "fatal: couldn't find remote ref refs/heads/devel" when trying to update Pihole V6 this morning. Any idea what's causing this issue?!?

devel was the branch name used by Pi-hole v5.

If you are seeing this message, it means your Pi-hole is still using v5 commands.

Try to run pihole -r to fix your installation.

Yeah that was the very first thing I tried, that ran successfully, but the error persists. Also, FTL was updated several times without issue previous to this error. Seems like it was newly introduced.

Nevermind: "pihole checkout dev" resolved the issue.

You are on V6, but on the development branch, not the master branch.

If you want to get to the stable (i.e. non-development branch), use the following:

sudo pihole checkout master

1 Like

Ahhhh, that explains it!! Thank you for that, I had no idea there were 2 different branches. I posted before updating and asked what would be the best route for updating from V6 and I was given that "Dev" branch command. Thanks for the clarification. Ran that and should be on the Master branch from here on out. :+1:t3:

1 Like

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