Code Monkey home page Code Monkey logo

Comments (12)

bmorris591 avatar bmorris591 commented on September 14, 2024

I too have this issue - same error.

from speedtest-for-influxdb-and-grafana.

bmorris591 avatar bmorris591 commented on September 14, 2024

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.

barrycarey avatar barrycarey commented on September 14, 2024

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.

atribe avatar atribe commented on September 14, 2024

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.

bmorris591 avatar bmorris591 commented on September 14, 2024

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.

barrycarey avatar barrycarey commented on September 14, 2024

@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.

barrycarey avatar barrycarey commented on September 14, 2024

@bmorris591 I merged the changes back into master. If everything is good to go please close this issue.

from speedtest-for-influxdb-and-grafana.

atribe avatar atribe commented on September 14, 2024

I'll merge that into my branch so a new image is created.

from speedtest-for-influxdb-and-grafana.

kubax avatar kubax commented on September 14, 2024

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.

atribe avatar atribe commented on September 14, 2024

I think the problem is that configparser is not in the requirements.txt

from speedtest-for-influxdb-and-grafana.

kubax avatar kubax commented on September 14, 2024

@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.

bmorris591 avatar bmorris591 commented on September 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.