v0.20.0 (BREAKING CHANGES, ACTION REQUIRED) #1470
Replies: 10 comments 23 replies
-
Does this mean that every change of speedtest servers and schedule must be done in the environment variables (including container restart)? What is the reason for this huge step back? The general settings page was absolutely perfect! |
Beta Was this translation helpful? Give feedback.
-
Where do we set these new environment variables? The docker-compose-yml file? This is a little over my head to be honest. |
Beta Was this translation helpful? Give feedback.
-
Hello alexjustesen, I have updated the environment variables, as per your instructions above; all is working except for when I run a speedtest, it completes fine but no email is sent. The strange thing is that when I test the email channel I receive the test, but I do not receive the actual speedtest result, this was working fine before updating to the newest version, is there anything I might need to check please? |
Beta Was this translation helpful? Give feedback.
-
I'm only a newb but for what it's worth I was able to get my preferred server ID from previous tests in the Results tab. |
Beta Was this translation helpful? Give feedback.
-
FWIW, for the list it might be easier to use https://www.speedtest.net/api/js/servers as it returns the 10 closest servers. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the info and your work. I managed to update my portainer stack and retain all my past data in stt. My grafana dashboard also seems to work ok after the changes. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the effort, I can see you make steady progress! I had missed a few vital ENV-settings for v0.20.0, but it's now corrected. Perhaps make sure that the example-code is complete for each new feature added? The 'PRUNE_RESULTS_OLDER_THAN' was missing here at the time of writing this. Yes, this is not a show-stopper, but it helps to have a complete set as a reference, especially now when the config-GUI is castrated... ;-) Since you argued for cutting back on the GUI-settings, perhaps adding a view of what actually has been configured could remedy the loss? This way, we would know that the various ENV-settings are properly digested by the server. Sample docker-compose file:
|
Beta Was this translation helpful? Give feedback.
-
Love the app but this seems like a step backward. |
Beta Was this translation helpful? Give feedback.
-
I understand that having the configuration done in the UI adds complexity, but I don't fully agree with the move towards env vars. The advantage of a config file is that you're not limited to simple Would love for a next version to copy those env-vars into a config file (if the file doesn't already exist) and use that onwards. |
Beta Was this translation helpful? Give feedback.
-
This project was nice "setup and forget" with easy setting via GUI, but now every time I want to change schedule or servers I have to reconfigure container... If all my container were to use only env vars for config I would spend whole week to change settings in them. For me this is huge step back in usability. Another great project goes down the drain, from "Must have in your homelab" to "Must avoid at all cost"... sigh |
Beta Was this translation helpful? Give feedback.
-
Warning
This release requires you to change your container's image and make changes to your environment variables for Speedtest Tracker to continue to function and receive updates.
Important
If you have an problem which resulted from this release please open an issue with as much detail as possible, if you have a question or need clarification use the linked discussion topic.
Action Items
With the switch to using environment variables for the application's general settings action is required to update your environment. Below are all the changes that you might need to make.
🐋 Docker image
To get this update and future updates you will need to switch to using LSIO's images, as of
v0.20.0
I am no longer building mine. Details on how to switch can be found here #1117.🔑 Application key
The app key is no longer generated when you start the container and should always be set in your environment variables. You can generate a key here: https://speedtest-tracker.dev.
⏰ Timezone
I think I finally have a better solution for handling timezones, especially for those of you that like to watch the world burn and your database isn't set to UTC.
My database is set to my local timezone
Set
APP_TIMEZONE
ANDDISPLAY_TIMEZONE
to your local timezone, this ensures the application writes the correct timestamp to the database and then displays it.This was tested with both MySQL and Postgres with the container's
TZ
set to the same timezone.My database is set to UTC / I don't know or use SQLite
Set
DISPLAY_TIMEZONE
to your local timezone, this ensures the application will display timestamps correctly.🐇 Speedtests
Speedtest settings have also been moved to environment variables,
SPEEDTEST_SCHEDULE
,SPEEDTEST_SERVERS
and optionallyPRUNE_RESULTS_OLDER_THAN
should be added to your configuration.How do I find a list of servers now?
There is a new CLI command in the container that you can run which will return a list of the "best" speedtest servers based on your location. To get the list follow the steps below:
cd app/www
php artisan app:ookla-list-servers
or provide a search term as the first argumentphp artisan app:ookla-list-servers "frontier"
SPEEDTEST_SERVERS
environment variableI am working on a centralized, searchable and community driven list of servers which will be available later this summer.
What's New
What's Changed
Full Changelog: v0.19.0...v0.20.0
Beta Was this translation helpful? Give feedback.
All reactions