Comments (13)
having the same issue here.
also getting the following log entry everytime the cronjob should run:
/bin/ash: /var/www/html/scripts/speedtestRunner.py: Permission denied
from docker-speedtest-analyser.
Yeah the chmod change fixed stuff.
from docker-speedtest-analyser.
Been doing some testing, and coming to the same conclusion as @tuckshoprn - seems to be a permissions issue. Running the latest
docker tag, and then doing chmod 755 speedtestRunner.py
seems to partially fix it - I get speedtest results in the console when I click the 'start manual speedtest' button, with them being written to the .csv successfully.
Going to send a PR shortly :) but anyone else with the issue in the meantime, changing script to executable seems to fix it.
Note:
If you had any speedtests done and saved to your csv between what looks like #53 and #54, then no new results will appear on your graph, even though they are being recorded.
You will either need to remove the bad results from your csv (the timestamp is 1000x smaller than the others, easy to spot), or create a new file.
from docker-speedtest-analyser.
Echoing this issue. I pulled the image with the "develop" tag and it still works. Seem to be a lot of projects that are encountering issues with LauJIT.
from docker-speedtest-analyser.
Also having this issue was originally getting the /bin/ash: /var/www/html/scripts/speedtestRunner.py: Permission denied
error. Tried removing and recreating the container and started getting the LuaJIT errors. While using the "develop" tag may work it should be noted that according to the Docker Hub that version was last updated 2 years ago.
from docker-speedtest-analyser.
I'm also having this issue.
Container log is:
Starting run.sh,
Starting Cronjob,
Starting nginx,
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html),
nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found:,
no field package.preload['resty.core'],
no file './resty/core.lua',
no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua',
no file '/usr/local/share/lua/5.1/resty/core.lua',
no file '/usr/local/share/lua/5.1/resty/core/init.lua',
no file '/usr/share/lua/5.1/resty/core.lua',
no file '/usr/share/lua/5.1/resty/core/init.lua',
no file '/usr/share/lua/common/resty/core.lua',
no file '/usr/share/lua/common/resty/core/init.lua',
no file './resty/core.so',
no file '/usr/local/lib/lua/5.1/resty/core.so',
no file '/usr/lib/lua/5.1/resty/core.so',
no file '/usr/local/lib/lua/5.1/loadall.so',
no file './resty.so',
no file '/usr/local/lib/lua/5.1/resty.so',
no file '/usr/lib/lua/5.1/resty.so',
no file '/usr/local/lib/lua/5.1/loadall.so')
After this I attached to the container and manually added the OpenResty repository for alpine and installed it following the instructions https://openresty.org/en/linux-packages.html
I then got
/bin/ash: /var/www/html/scripts/speedtestRunner.py: Permission denied
appearing in the log
I checked the permissions on this file and it is not execute enabled.
I ran chmod +x on it and now it works.
EDIT:
It seems adding the OpenResty repository is not required, as even after I add and install, I still get the same log when starting nginx in the container.
The Permission Denied message comes when a test is attempted.
I rebuilt the Dockerfile adding 'RUN chmod +x /var/www/html/scripts/speedtestRunner.py' at the end, and now it works. I still get the OpenResty messages when the container starts - regardless of whether I build it with or without "apk add openresty apk add openresty-resty"
from docker-speedtest-analyser.
thanks for doing the PR @fudge01010 - lets wait for it to get merged.
note: if you add "fixes #55" to the PR description it should link PR and issue and allow both to be closed
from docker-speedtest-analyser.
Ok I thought this was me and my results.csv was damaged or something.
Thanks guys.
from docker-speedtest-analyser.
Did this get wrapped up? I'm curious if I can update yet.
from docker-speedtest-analyser.
not yet, still waiting for @roest01 to merge PR #57
from docker-speedtest-analyser.
Hello,
I have the same problems :(
Synology DS918+ / DSM 6.2.3
from docker-speedtest-analyser.
The latest release fixed this for me. You may need to reset the csv file if previous versions have entered incorrectly formatted data.
from docker-speedtest-analyser.
Thank you for the answer.
It works now, but the error is still present on launch.
from docker-speedtest-analyser.
Related Issues (20)
- Download speed is under the 1Mbit/s
- Malformed speedtest.net configuration HOT 1
- DNS Caching
- Openresty Issues With Latest Build HOT 2
- Slow results HOT 9
- Cronjob intervals customization with CRONTAB_OFFSET
- Has this broken in the last 12 hours? Graph is empty today. HOT 2
- Speedtest not working when mounting a volume HOT 2
- Speedtest server (id) not in the log anymore HOT 2
- Does HTTPS work?
- SPEEDTEST_PARAMS not worling
- offset to (temporally) distribute load on speedtest servers
- Intervall every 6 hours only HOT 4
- Speedtest suddenly stopt working (only manual test works) HOT 37
- speedtest is not working anymore in latest version HOT 20
- Results no longer displaying HOT 41
- No WebUI behind traefik
- Customizing layout HOT 2
- Invalid date HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-speedtest-analyser.