librespeed/speedtest-go

No Test Results ID being display

fitchtravis opened this issue · 4 comments

Description

Missing share results and test_id after a speedtest run

After a speedtest run the older versions used to display something like

Share results
Test ID: 01FG7XB4PS50W16J7N5F12BAGY

And a reference back to the test result
http://xxx.xxx.xxx.xxx:8080/results/?id=01FG7XB4PS50W16J7N5F12BAGY

With the latest version, this is no longer the behaviour

What's the database type you've configured in the settings.toml?

From settings.toml

# database type for statistics data, currently supports: none, memory, bolt, mysql, postgresql
# if none is specified, no telemetry/stats will be recorded, and no result PNG will be generated
database_type="bolt"
database_hostname=""
database_name=""
database_username=""
database_password=""

# if you use bolt as database, set database_file to database file location
database_file="speedtest.db"

The data store logic for bolt type hasn't been changed in the last few commits. Can you confirm if there's any error being printed in the backend program or frontend console?

EDIT: A quick local test with the same database configuration works just fine:

image

Also check the frontend to see if it actually has the PNG output section.

Getting back to this, after a very busy period IRL ... I forgot to mention that I'm running this under docker

From the screenshot below, I dont see the Test Result ID being display
image

And there is nothing in the container logs to indicate any issues

image