Comments (10)
It seems i'm having the same issue -
working through speedtest.sh, SPEED_RESULT has the correct JSON output, but TMP doesnt have any value at all, something seems to be going wrong with the jq command.
my log.json exists, and is writable and i'm using ubuntu 16.04. jq is version jq-1.5-1-a5b5cbe
from isp-speedtest-logger.
You'll have to initialize the json structure in the log file first. Otherwise the command won't work when running it against an empty file:
echo '{"log": []}' > log.json
from isp-speedtest-logger.
Nor does mine!
Running
Ubuntu 16.10
the jq install here is: jq-1.5-1-a5b5cbe
from isp-speedtest-logger.
what do you mean with 'doesnt put out'? the json output seems to work, is it the writing to a file that doesnt work?
if thats the case, make sure to have permission to write to the file and the file exists in the location you specified in the bash script
from isp-speedtest-logger.
same here, seems like the jq parsing line has some problem. (on osx)
from isp-speedtest-logger.
please let me know if @claym instructions could help you out.
from isp-speedtest-logger.
closed as no reply for three weeks
from isp-speedtest-logger.
FYI:
I think I'm having this issue too.
Log file is present, and I initialized it. At the top of the log.json appears: "'{"log": []}' "
speedtest.sh is just not writing to it.
from isp-speedtest-logger.
hm. thats weird, have you checked if speedtest.sh outputs anything? we're trying to pipe it's output into the log file. so if it doesnt output anything, it wont write to the file
from isp-speedtest-logger.
@kitsunekyo - yes, it outputs just fine, just doesn't write it to the log.json.
from isp-speedtest-logger.
Related Issues (20)
- demo page down HOT 1
- Switch to using speedtest-net HOT 1
- Remove http-server requirement and self host HOT 2
- Publish to NPM HOT 1
- error: Segmentation fault HOT 1
- License? HOT 1
- MongoDb sometimes not persisting data on windows HOT 1
- Add proper loading and error data loading handlers on dashboard HOT 1
- allow speedtest scheduling via node-cron (and ui)
- Pagination for Test Results
- add unit tests HOT 1
- provide server events to get realtime progress on speedtest HOT 1
- breaks when updating speedtest schedule HOT 1
- dockerized api not working HOT 1
- api call getting stuck
- [Enhancement] Reduce bundle size by importing only used lodash functions
- Wrong alias in docker-compose.yml HOT 1
- Risk: potentially fails when run for the first time due to license accept option in cli HOT 3
- Keep app stateless and move config into mongodb HOT 1
- demo page not working HOT 1
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 isp-speedtest-logger.