-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTL out of date message after updating to 2.9 #86
Comments
Please provide further details like
|
Thanks for the report, it looks to be a small issue with the version reporting. You do have the latest version, but it's not reporting as such. We'll get a fix out, but we use Travis to build the binaries and there has been a backlog with that service so it may take a day to get that fix out. |
FTL is not up to date. It is bug and I found the cause.
And the result was
And update.sh is comparing these two values. FTL is updated everytime they are different. |
Thanks for the very productive comments. |
Hello, I was working on my Chronometer2 project earlier today, and found that the version that is being reported by FTL is missing the "v" before the version number:
Pulling the latest version of FTL includes the "v":
If it's any help, the version number reported when connecting to FTL via telnet is 2.9 (without a "v"):
I've had relatively decent luck finding my way around the scripts that are used for Pi-hole core and web admin, but haven't found where the version information is stored in FTL. |
Hey @jpmck, and thanks for your efforts on Chronometer2! As I understand it, I believe the expected behavior is to have "v" before the version number, as is consistent with |
That's right, and it looks like updater grabs the latest compiled version of FTL from Github:
Then it installs the new version of FTL:
As you mentioned, the baked in version is listed without the "v".
Perhaps the version checker should strip out letters prior to the version comparison like so? |
Okay interesting! 2.8 showed the v beforehand and 2.9 does not. Going to need input from @DL6ER on that one, because it affects both the upcoming updates of It's only fair to give a heads up that the output of
I would recommend using something along the lines of this code to retrieve and parse the version output from a single call to |
What you are seeing is not a FTL bug, but rather a bug in the continuous integration systems we use for building the binaries which was behaving screwy over the last couple of days. So, again this was neither expected nor intended and should be readjusted automatically when we release the next version (which I wanted to do already yesterday, but let's wait until we can be sure that the CI is playing nicely along). |
|
In raising this issue, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your issue:
How familiar are you with the codebase?:
1
[BUG | ISSUE] Expected Behaviour:
no message after a succesful update to FTL 2.9
[BUG | ISSUE] Actual Behaviour:
FTL out of date message appears after succesful FTL update to 2.9
[BUG | ISSUE] Steps to reproduce:
pihole -up
Log file output [if available]
output
Device specifics
Hardware Type: rPi, VPS, etc
OS:
This template was created based on the work of
udemy-dl
.The text was updated successfully, but these errors were encountered: