Speedtest-Tracker icon indicating copy to clipboard operation
Speedtest-Tracker copied to clipboard

[BUG] Test doesn't run after install in Synology Docker

Open weedenbc opened this issue 3 years ago • 9 comments

Installed the latest version of Speedtest Tracker (1.12) on my Synology in a Docker container using the process outlined here: https://mariushosting.com/how-to-install-speedtest-tracker-on-your-synology-nas/

After a few minutes, the container fires up and I can access the speedtest page. However, any attempt to run the speedtest results in the a complete failure: image

Only changes I made were to set my PUID/PGID/TZ like normal.

weedenbc avatar Nov 29 '21 15:11 weedenbc

Yes - the same for me. The Log says: sh: /config/www/app/Bin/speedtest: not found

christoph-pieper avatar Dec 04 '21 15:12 christoph-pieper

Seems it's the same issue as https://github.com/henrywhitaker3/Speedtest-Tracker/issues/421, which appears to be closed without resolution.

jak0lantash avatar Dec 06 '21 15:12 jak0lantash

also having this issue

this worked for me:https://github.com/henrywhitaker3/Speedtest-Tracker/issues/421#issuecomment-989923605

chriswiduta avatar Dec 09 '21 14:12 chriswiduta

For me, the container runs without any problems on my Synology (ds918+) 🤔

djonasdev avatar Dec 20 '21 08:12 djonasdev

Issue started for me after upgrading to the latest image. it used to be working fine on DSM.

Not sure what the issue is. Will share logs in the future.

redtripleAAA avatar Dec 25 '21 20:12 redtripleAAA

Have the same error while running in Docker env. on Synology.

Log says the following: image

I have set OOKLA_EULA_GDPR to true and tried advice from the coment above: #421 (comment)

tinovator avatar Dec 29 '21 00:12 tinovator

Migrated:  2020_04_08_120837_create_speedtests_table (224.80ms)
Migrating: 2020_04_08_125647_create_jobs_table
Migrated:  2020_04_08_125647_create_jobs_table (433.08ms)
Migrating: 2020_05_18_211812_create_settings_table
Migrated:  2020_05_18_211812_create_settings_table (884.06ms)
Migrating: 2020_06_20_164502_update_speedtests_table
Migrated:  2020_06_20_164502_update_speedtests_table (791.35ms)
Migrating: 2020_06_21_171849_add_notifications_settings
Migrated:  2020_06_21_171849_add_notifications_settings (641.52ms)
Migrating: 2020_06_28_235331_update_speedtests_add_manual_column
Migrated:  2020_06_28_235331_update_speedtests_add_manual_column (183.20ms)
Migrating: 2020_07_03_095049_update_speedtest_add_failed_column
Migrated:  2020_07_03_095049_update_speedtest_add_failed_column (207.96ms)
Migrating: 2020_07_06_105930_add_graph_settings
Migrated:  2020_07_06_105930_add_graph_settings (1,632.95ms)
Migrating: 2020_07_07_215412_add_notification_agent_settings
Migrated:  2020_07_07_215412_add_notification_agent_settings (816.55ms)
Migrating: 2020_08_12_123941_add_healthchecks_settings
Migrated:  2020_08_12_123941_add_healthchecks_settings (399.94ms)
Migrating: 2020_08_21_133343_add_authentication_settings
Migrated:  2020_08_21_133343_add_authentication_settings (381.44ms)
Migrating: 2020_08_21_204656_add_conditional_notifications_settings
Migrated:  2020_08_21_204656_add_conditional_notifications_settings (1,449.80ms)
Migrating: 2020_08_28_192136_add_show_failed_tests_setting
Migrated:  2020_08_28_192136_add_show_failed_tests_setting (283.29ms)
Migrating: 2020_09_10_231121_add_widget_card_settings
Migrated:  2020_09_10_231121_add_widget_card_settings (891.47ms)
Migrating: 2020_12_19_211232_add_schedule_enabled_setting
Migrated:  2020_12_19_211232_add_schedule_enabled_setting (208.20ms)
Migrating: 2020_12_19_234248_add_app_name_setting
Migrated:  2020_12_19_234248_add_app_name_setting (216.57ms)
Migrating: 2020_12_20_001345_add_custom_healthchecks_setting
Migrated:  2020_12_20_001345_add_custom_healthchecks_setting (199.89ms)
Migrating: 2021_03_07_101259_add_speedtest_provider_setting
Migrated:  2021_03_07_101259_add_speedtest_provider_setting (0.77ms)
Migrating: 2021_03_07_121716_update_speedtest_server_settings_text
Migrated:  2021_03_07_121716_update_speedtest_server_settings_text (174.40ms)
Migrating: 2021_04_10_082758_add_visible_columns_setting
Migrated:  2021_04_10_082758_add_visible_columns_setting (258.24ms)
Migrating: 2021_04_10_102320_add_hidden_columns_setting
Migrated:  2021_04_10_102320_add_hidden_columns_setting (266.54ms)
Migrating: 2021_04_10_182503_add_influx_db_settings
Migrated:  2021_04_10_182503_add_influx_db_settings (1,466.44ms)
Generating app key
Application key set successfully.
Generating JWT secret
jwt-auth secret [xxxxxxxxxxxxxxxxxxxxxxxxxxxxx] set successfully.
Slack webhook is unset
Telegram chat id and bot token unset
Base path is unset
AUTH variable set. Enabling authentication
Enabling authentication
Clearing old jobs from queue
[cont-init.d] 50-speedtest: exited 0.
[cont-init.d] 99-custom-files: executing... 
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
run-parts: /etc/periodic/weekly/libmaxminddb: exit status 1
No MaxMind license key found; exiting. Please enter your license key into /etc/conf.d/libmaxminddb
error: error setting owner of /config/log/nginx/access.log to uid 0 and gid 0: Operation not permitted
error: error setting owner of /config/log/php/error.log to uid 0 and gid 0: Operation not permitted
[2021-12-20 18:00:05.892] [error] Configuration - Cannot retrieve configuration document (503)
[2021-12-20 18:00:05.915] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
{"type":"log","timestamp":"2021-12-20T17:00:05Z","message":"Configuration - Could not retrieve or read configuration (ConfigurationError)","level":"error"}
[2021-12-22 19:00:03.052] [error] Configuration - Cannot retrieve configuration document (503)
[2021-12-22 19:00:03.074] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
{"type":"log","timestamp":"2021-12-22T18:00:03Z","message":"Configuration - Could not retrieve or read configuration (ConfigurationError)","level":"error"}
[2021-12-24 00:00:06.393] [error] Trying to get interface information on non-initialized socket.
[2021-12-24 00:00:11.908] [error] Configuration - Couldn't resolve host name (HostNotFoundException)
[2021-12-24 00:00:11.908] [error] Configuration - Cannot retrieve configuration document (0)
[2021-12-24 00:00:11.908] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2021-12-24 00:00:11.927] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
{"type":"log","timestamp":"2021-12-23T23:00:11Z","message":"Configuration - Could not retrieve or read configuration (ConfigurationError)","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read from socket: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
{"type":"log","timestamp":"2021-12-24T02:00:32Z","message":"Error: [11] Cannot read: Resource temporarily unavailable","level":"error"}
No MaxMind license key found; exiting. Please enter your license key into /etc/conf.d/libmaxminddb
run-parts: /etc/periodic/weekly/libmaxminddb: exit status 1
error: error setting owner of /config/log/nginx/error.log to uid 0 and gid 0: Operation not permitted
No MaxMind license key found; exiting. Please enter your license key into /etc/conf.d/libmaxminddb
run-parts: /etc/periodic/weekly/libmaxminddb: exit status 1
wget: bad address 'geolite.maxmind.com'
wget: bad address 'geolite.maxmind.com'
wget: bad address 'geolite.maxmind.com'
wget: bad address 'geolite.maxmind.com'
wget: bad address 'geolite.maxmind.com'
wget: bad address 'geolite.maxmind.com'
run-parts: /etc/periodic/monthly/geoip: exit status 1
No MaxMind license key found; exiting. Please enter your license key into /etc/conf.d/libmaxminddb
run-parts: /etc/periodic/weekly/libmaxminddb: exit status 1

So since 20.12.2021 my instance is also not working anymore..

djonasdev avatar Jan 11 '22 14:01 djonasdev

what does MaxMind do? And where get it this key? No MaxMind license key found; exiting. Please enter your license key into /etc/conf.d/libmaxminddb

fxhuhn avatar Feb 05 '22 09:02 fxhuhn

what does MaxMind do? And where get it this key? No MaxMind license key found; exiting. Please enter your license key into /etc/conf.d/libmaxminddb

It's a geolocation database by IP. You can get a key or a DB here: https://dev.maxmind.com/geoip/geolite2-free-geolocation-data

I believe you can ignore this if you don't plan on collecting location data from your users.

filcuk avatar Feb 09 '22 11:02 filcuk