Ubuntu latest build - The version should show at the bottom of the page. It didn't show when I upgraded my v5 install, so I built a new VM from scratch. It originally appeared on there, but has since disappeared.
Per our help template, please provide a debug token.
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
or if you run your Pi-hole as a Docker container:
docker exec -it <pihole-container-name-or-id> pihole -d
where you substitute <pihole-container-name-or-id>
as required.
Also, please provide details of the OS and browser you are using to view the admin web GUI.
https://tricorder.pi-hole.net/H1M9Ohz4/
Windows 11 w/Edge
I don't see anything unusual in your debug log.
Please post some screen captures of what you are seeing on the screen.
Do you see any errors in the dev console for the browser?
Are you running any extensions that might block content?
Have you cleared the browser cache, restarted the browser and reloaded the web GUI?
This is what I'm seeing:
I have no extensions running that would interfere with this. In the same browser, I can access my guest network PiHole and it is working fine.
It was an upgrade as well, but this one is working in the same browser. The one that's not working is now a clean install. I'm not sure why one works and the other doesn't. They are setup almost identically, again, besides the one being an upgrade and one a clean install. Blocklists are the same. Networks are different. The one that is not showing the version is running DHCP. The other is not. The bad one also has local DNS records and the other does not.
That's very odd - I can't think of anything that is intended to hide the version footer...
Just for funsies, can you share a screenshot of the whole web interface?
Edit: Also, maybe share a debug log from each and indicate clearly which one is from the "working" one, and which is from the "not working" one
Good guest network:
Bad local network:
The bad logs are at https://tricorder.pi-hole.net/H1M9Ohz4/
The good logs are at https://tricorder.pi-hole.net/vDFS3fmM/
One difference I just noticed: The bad server has 8.8.8.8 in the resolv.conf file. The good server has the router IP, which is not running DNS but is running DHCP. I could not upload the debug log file until I changed that to 8.8.8.8.
@Developers - before I go looking - is there anything in the web interface that would not display the versions in the footer in the case of the versions file containing null values? OP's hint of being unable to upload debug token until they changed nameserver to google makes me wonder this...
As far as I remember, the whole versions block is created in footer.js
. The versions block is completely empty (like the image) in footer.lp
Just reading the issue (without looking at the code), I think the issue could be the null
value is causing a javascript error in the function used in the footer.
Can you please check the browser Console (developer tools, console tab) and look for any error messages?
Well, if they are all null
, all strings (v.name, v.local, v.remote, v.branch) will be empty, resulting in the empty footer.
Thanks.
The issue is:
When the version (v.remote
in this case) is null
, the versionCompare()
function fails, breaking the page.
Is there anything I can do to fix it? Is it a bug?
Two separate things:
-
There is a small bug in the function (as I posted above) when the versions are
null
, but this shouldn't happen in normal circumstances. -
I wasn't following the issue here, but we need to find out why your local versions are returning as null.
Bad log (H1M9Ohz4) shows:
CORE_VERSION=v6.0.4
CORE_BRANCH=master
CORE_HASH=567bb724
GITHUB_CORE_VERSION=null
GITHUB_CORE_HASH=567bb724
WEB_VERSION=v6.0.1
WEB_BRANCH=master
WEB_HASH=42e7279a
GITHUB_WEB_VERSION=null
GITHUB_WEB_HASH=42e7279a
FTL_VERSION=v6.0.2
FTL_BRANCH=master
FTL_HASH=ac500d5f
GITHUB_FTL_VERSION=null
GITHUB_FTL_HASH=ac500d5f
Normal log (vDFS3fmM) shows
CORE_VERSION=v6.0.4
CORE_BRANCH=master
CORE_HASH=567bb724
GITHUB_CORE_VERSION=
GITHUB_CORE_HASH=
WEB_VERSION=v6.0.1
WEB_BRANCH=master
WEB_HASH=42e7279a
GITHUB_WEB_VERSION=
GITHUB_WEB_HASH=
FTL_VERSION=v6.0.2
FTL_BRANCH=master
FTL_HASH=ac500d5f
GITHUB_FTL_VERSION=
GITHUB_FTL_HASH=
It shows empty variables instead of null
.
Quite odd. The broken version is a totally clean install. The working one is an old install that was cloned and had the OS upgraded as well as PiHole. You would think the clean install would work best...
Anything I can do to help resolve this?
We identified what is causing the footer error (your versions are null
and the script is not expecting this value).
On the other hand, I don't know how your versions ended up as null
. Try to run
docker exec -it <pihole-container-name-or-id> pihole updatechecker
And after that check the versions again.
I ran pihole updatechecker as this is not a Docker install. It came back with the same error and they are still missing.