Comments (12)
I too have this issue - same error.
from speedtest-for-influxdb-and-grafana.
It looks to me like the Dockerfile
hasn't been updated in line with the refactoring and that means that none of the code refactored out into separate files is present in the container.
from speedtest-for-influxdb-and-grafana.
Try this branch and see if it works: https://github.com/barrycarey/Speedtest-for-InfluxDB-and-Grafana/tree/Issue-17
I have no experience with Docker. Someone had previously submitted PR to add support for it.
from speedtest-for-influxdb-and-grafana.
That would be me. But you are more than welcome to take over it. All you need to do is get an account on hub.docker.com. Create a repository that is linked to this one and the image will auto create.
But as far as the current issue, it does appear that the correct files are getting into the image. I can roll back my fork to the previous commit to get the previous working image and then fix it later when I have more time. Or @barrycarey you can take over that completely.
from speedtest-for-influxdb-and-grafana.
It seems that config.ini
needs a LOGGING
section - this isn't yet documented.
Otherwise, works fine - thanks for the speedy response @barrycarey
from speedtest-for-influxdb-and-grafana.
@bmorris591 That section was added in the update. It's in the default config that comes with the repo
@atribe I updated the Docker file to match the new project structure and it seems to work now. I'll look into setting it up on Docker Hub. I've managed to never use Docker. Probably time to change that.
from speedtest-for-influxdb-and-grafana.
@bmorris591 I merged the changes back into master. If everything is good to go please close this issue.
from speedtest-for-influxdb-and-grafana.
I'll merge that into my branch so a new image is created.
from speedtest-for-influxdb-and-grafana.
i keep getting this error when trying to build the new docker...
ERROR: for speedtest Cannot start service speedtest: b'OCI runtime create failed: container_linux.go:337: starting container process caused "process_linux.go:403: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/srv/docker/Speedtest-for-InfluxDB-and-Grafana/config.ini\\\\\\" to rootfs \\\\\\"/var/lib/docker/btrfs/subvolumes/ad1618499fd03c5d524733b226f12d83931e57fbac89197007416f5824d67777\\\\\\" at \\\\\\"/var/lib/docker/btrfs/subvolumes/ad1618499fd03c5d524733b226f12d83931e57fbac89197007416f5824d67777/src/config.ini\\\\\\" caused \\\\\\"not a directory\\\\\\"\\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type'
ERROR: Encountered errors while bringing up the project.
EDIT: with docker-compose and docker run
EDIT2: Nevermind... seems like docker images got confused... hat to remove all docker images manually, and rebuild it completely.. now it started with the updated version...
from speedtest-for-influxdb-and-grafana.
I think the problem is that configparser is not in the requirements.txt
from speedtest-for-influxdb-and-grafana.
@atribe
see my edit above.. seems like it was more of a user problem on my side :)
EDIT: ok, it didn't mount the config file oO
EDIT2: oh boy... i have to learn many things about docker -.- thought when i run docker run -ti IMAGE bash it would also mount the file, but it didn't... seems like everything is working in the container image... at least i got entries in graphana with the updated docker image
from speedtest-for-influxdb-and-grafana.
@barrycarey not sure I can close this issue - don't think I have the permissions.
I'm happy it's resolved though!
from speedtest-for-influxdb-and-grafana.
Related Issues (20)
- Ping 30 minutes HOT 1
- Failing on startup HOT 2
- Devel branch to match speedtest-cli upstream
- Latest Docker Image fails immediately on start HOT 26
- change to more performant cli HOT 6
- without docker? HOT 1
- Unable to start container HOT 1
- How to loop it forever HOT 1
- Unable to use certain server
- Results much lower than actuals HOT 2
- SSL Config Option isn't included in documentation.
- Running Docker periodically crashing on "CRITICAL: Failed to get speedtest.net configuration. Aborting" HOT 1
- python3.4 issues
- Add additional fields/tags to write to InfluxDB
- Invalid URL HOT 1
- Licencing HOT 1
- Python error if password contains ceratain characters
- Docker container crashes due to unhandled error HOT 1
- ValueError: invalid literal for int() with base 10: '' HOT 16
- Grafana login - password
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 speedtest-for-influxdb-and-grafana.