Coder Social home page Coder Social logo

Comments (16)

ipitio avatar ipitio commented on June 30, 2024

Did you uninstall the mod first?

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Uninstalling via the checbox in speedtest settings did not seem to work. It said scheduled to uninstall but did nothing. I eventually uninstalled using your pipe to bash script.

Here are the versions now after uninstall and pihole -r. Uninstall alone did not fix it.

Pi-hole [v5.15.5]
FTL [v5.21]
Web Interface [v5.18.4]

Installed mod again via pipe to bash script. Same issue.

I noticed while it was installing there was a message like "You are in 'detached HEAD' state. You can look around, make experimental changes.... "

Is the mod pulling from the right release repo?

from pihole-speedtest.

ipitio avatar ipitio commented on June 30, 2024

Hmm, is there anything in the log file?

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Which log would that be? Happy to share.

from pihole-speedtest.

ipitio avatar ipitio commented on June 30, 2024

/var/log/pimod.log

When updating/uninstalling with the buttons, the progress is written to that file.

You can also view an update/uninstall in progress with sudo tmux attach-session -t pimod.

It's basically the output of that command that's saved to the log.

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Got it.

Thanks for using Speedtest Mod!
Script by @ipitio

Sun 19 Mar 2023 11:04:37 PM SAST - Verifying Dependencies...
Reading package lists...
Building dependency tree...
Reading state information...
jq is already the newest version (1.5+dfsg-2+b1).
php7.3-sqlite3 is already the newest version (7.3.31-1~deb10u3).
sqlite3 is already the newest version (3.27.2-3+deb10u2).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Sun 19 Mar 2023 11:04:50 PM SAST - Downloading Latest Speedtest Mod...
Cloning into 'new_admin'...
Note: checking out 'v5.18.4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 6afa4d90 Merge pull request #75 from arevindh/v5.18.4-dev
Cloning into 'new_pihole'...
Note: checking out 'v5.15.5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 52329796 removed CPUQuota=20%
Sun 19 Mar 2023 11:06:26 PM SAST - Restoring Pi-hole...
Cloning into 'org_pihole'...
Cloning into 'org_admin'...
Sun 19 Mar 2023 11:07:54 PM SAST - Uninstalling Current Speedtest Mod...
Sun 19 Mar 2023 11:07:54 PM SAST - Uninstall Complete
Sun 19 Mar 2023 11:07:54 PM SAST - Installing Speedtest Mod...
Sun 19 Mar 2023 11:08:13 PM SAST - Install Complete

from pihole-speedtest.

ipitio avatar ipitio commented on June 30, 2024

Yeah those HEAD messages are expected because the mod had commits pushed after pihole's last release, and those additional commits aren't under a release.

Could you try uninstalling the mod again with the button, and check if it's working by seeing if the log updated

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Ok, uninstalling via UI worked now, but no new entries in pimod.log since last install. Nothing. Pihole web version still remains "broken".

from pihole-speedtest.

ipitio avatar ipitio commented on June 30, 2024

You're sure the dates are the same? The log is supposed to be overwritten every time.

What happens if you now run pihole restartdns

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Yes, triple checked. Last log entry even after uninstall completed was the 11:08 timestamp from above.

Repeated bash install and uninstall from UI to be sure - uninstall is not written to log. Last entry is install completed.

Pihole restartdns still leaves the web version "broken".

from pihole-speedtest.

ipitio avatar ipitio commented on June 30, 2024

Ok the uninstall doesn't write to the log file on my end too, that's strange! I can't replicate the broken UI though :(

While I don't think there's any significant differences between arevindh's branch and mine, does the issue persist with the script here: https://github.com/ipitio/pihole-speedtest/raw/ipitio/mod.sh

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Uninstalled mod.
Repaired pihole.
Installed mod with pipe to bash using above URL, now got this:

Pi-hole [v5.15.5](https://github.com/pi-hole/pi-hole/releases/v5.15.5)
FTL [v5.21](https://github.com/pi-hole/FTL/releases/v5.21)
Web Interface [6afa4d90](https://github.com/arevindh/AdminLTE/releases/6afa4d90)

And log:

Thanks for using Speedtest Mod!
Script by @ipitio


Mon 20 Mar 2023 12:27:18 AM SAST - Verifying Dependencies...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'speedtest-cli' is not installed, so not removed
jq is already the newest version (1.5+dfsg-2+b1).
php7.3-sqlite3 is already the newest version (7.3.31-1~deb10u3).
sqlite3 is already the newest version (3.27.2-3+deb10u2).
speedtest is already the newest version (1.2.0.84-1.ea6b6773cf).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Mon 20 Mar 2023 12:27:32 AM SAST - Downloading Latest Speedtest Mod...
Cloning into 'new_admin'...
Cloning into 'new_pihole'...
Mon 20 Mar 2023 12:29:06 AM SAST - Restoring Pi-hole...
Cloning into 'org_pihole'...
Cloning into 'org_admin'...
Mon 20 Mar 2023 12:30:33 AM SAST - Uninstalling Current Speedtest Mod...
Mon 20 Mar 2023 12:30:34 AM SAST - Uninstall Complete
Mon 20 Mar 2023 12:30:34 AM SAST - Installing Speedtest Mod...
Mon 20 Mar 2023 12:30:55 AM SAST - Install Complete

from pihole-speedtest.

ipitio avatar ipitio commented on June 30, 2024

And it's still broken?

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Yes indeed. Those versions should not be tampered with or it looks like they break the pihole updater. Here's the result now:

pi@J-Pi:~ $ sudo pihole -up
  [✓] Update local cache of available packages
  [i] Existing PHP installation detected : PHP version 7.3.31-1~deb10u3
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for dialog
  [✓] Checking for ca-certificates

  [i] Checking for updates...
  [i] Pi-hole Core:     up to date
fatal: No tags can describe '6afa4d9063f4d82a33fc2ff248b0d2012797a24a'.
Try --always, or create some tags.
fatal: No tags can describe '6afa4d9063f4d82a33fc2ff248b0d2012797a24a'.
Try --always, or create some tags.

  Error: Local revision could not be obtained, please contact Pi-hole Support
  Additional debugging output:
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

from pihole-speedtest.

ipitio avatar ipitio commented on June 30, 2024

I'm not sure why the UI is broken for you, maybe arevindh might have an idea?

Those modified versions you see are the modded files from my/arevindh's repos, and for now they aren't tagged as per arevindh (I should look into that --always)

from pihole-speedtest.

j-broo avatar j-broo commented on June 30, 2024

Perhaps this will help:

root@J-Pi:/etc/pihole# cat versions
CORE_BRANCH=master
WEB_BRANCH=master
FTL_BRANCH=master
CORE_VERSION=v5.15.5
WEB_VERSION=6afa4d90
FTL_VERSION=v5.21
GITHUB_CORE_VERSION=v5.15.5
GITHUB_WEB_VERSION=v5.18.4
GITHUB_FTL_VERSION=v5.21
CORE_HASH=d86b325d
GITHUB_CORE_HASH=d86b325d
WEB_HASH=6afa4d90
GITHUB_WEB_HASH=b29a423b
FTL_HASH=f380afda
GITHUB_FTL_HASH=f380afda

Correcting the version above does not fix it either.

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.