Coder Social home page Coder Social logo

5.1 Update about pihole-speedtest HOT 4 CLOSED

arevindh avatar arevindh commented on September 17, 2024
5.1 Update

from pihole-speedtest.

Comments (4)

arevindh avatar arevindh commented on September 17, 2024 1

@ChrisWNY @flipptx working on that .

from pihole-speedtest.

ChrisWNY avatar ChrisWNY commented on September 17, 2024

Seeing the same issue...looks like the pihole-speedtest web UI hasn't updated to 5.1 quite yet.

from pihole-speedtest.

ChrisWNY avatar ChrisWNY commented on September 17, 2024

Newest update worked - had to run the following commands:

cd /var/www/html/
mv admin org_admin # remove old org_admin folder if exists
git clone https://github.com/arevindh/AdminLTE admin
sudo pihole updatechecker local

Web UI reports version 5.1 as expected.

Pi-hole version is v5.1.1 (Latest: v5.1.1)
AdminLTE version is v5.1 (Latest: v5.1)
FTL version is v5.1 (Latest: v5.1)

**** There is a minor bug...in Pi-hole > Settings > API/Web Interface, when setting the Interface Appearance to "Dark", it does flip to Dark and checks the box off for the pi-hole midnight dark theme, but that setting is NOT saved, so going back to the default page switches back to the light theme. I noticed that there is no variable being saved to /etc/pihole/setupVars.conf for the dark theme, which I believe is the problem.

I worked around it by renaming /var/www/html/admin/style/themes/default-light.css to default-dark.css, simply to force the dark theme to load (otherwise the light theme is the default). It's not a great workaround but until that variable is saved from the Settings page it was the quickest and dirtiest way to get the dark theme to load as the default (I'm also not sure of the variable name used for themes). Not sure if this is a Pi-hole 5.1 bug or a bug within the Speedtest Admin UI.

from pihole-speedtest.

arevindh avatar arevindh commented on September 17, 2024

Newest update worked - had to run the following commands:

cd /var/www/html/ mv admin org_admin # remove old org_admin folder if exists git clone https://github.com/arevindh/AdminLTE admin sudo pihole updatechecker local

Web UI reports version 5.1 as expected.

Pi-hole version is v5.1.1 (Latest: v5.1.1) AdminLTE version is v5.1 (Latest: v5.1) FTL version is v5.1 (Latest: v5.1)

**** There is a minor bug...in Pi-hole > Settings > API/Web Interface, when setting the Interface Appearance to "Dark", it does flip to Dark and checks the box off for the pi-hole midnight dark theme, but that setting is NOT saved, so going back to the default page switches back to the light theme. I noticed that there is no variable being saved to /etc/pihole/setupVars.conf for the dark theme, which I believe is the problem.

I worked around it by renaming /var/www/html/admin/style/themes/default-light.css to default-dark.css, simply to force the dark theme to load (otherwise the light theme is the default). It's not a great workaround but until that variable is saved from the Settings page it was the quickest and dirtiest way to get the dark theme to load as the default (I'm also not sure of the variable name used for themes). Not sure if this is a Pi-hole 5.1 bug or a bug within the Speedtest Admin UI.

Seems you missed few steps Use the manual method https://github.com/arevindh/pihole-speedtest/wiki/Updating--Speedtest-Mod

from pihole-speedtest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.