dhermanns / rpi-nightscout

CGM Remote Monitor aka Nightscout for the Raspberry Pi 1/2.
35 stars 49 forks source link

cannot connect to server #18

Closed DrCR77 closed 3 years ago

DrCR77 commented 3 years ago

Hi!

thanks for this work! I followed the instructions but get stuck when I try to connect to the server http://x.x.x.x:1337. It simply doesn't exist.

edit: I realize that it might be connected to the browser, replacing http always with https. Whitelisting it doesn't help. Is there a workaround?

this is what docker ps shows:

HypriotOS/armv7: pirate@black-pearl in ~/rpi-nightscout $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2604de9cc995 dhermanns/rpi-nightscout:latest "docker-entrypoint.s…" 15 minutes ago Up 15 minutes 0.0.0.0:1337->1337/tcp rpinightscout_nightscout_1 a180f24bbb7d dhermanns/rpi-mongo:2.6.4 "/opt/mongodb/bin/mo…" 15 minutes ago Up 15 minutes 27017/tcp rpinightscout_mongo_1 d6899398fc3d hypriot/rpi-busybox-httpd "/bin/busybox httpd …" 33 minutes ago Up 33 minutes 0.0.0.0:80->80/tcp distracted_wilson

ThorstenS-linux commented 3 years ago

The solution is to add INSECURE_USE_HTTP: "true" in docker-compose.yml, when you do not provide le-certs. hth /thorsten

JoebartOOn commented 3 years ago

Hello, How to update nightscout from 13.0.1 to 14.0.6? It's possible? Thanks for your feedback.

dhermanns commented 3 years ago

Yes - should be just a version number change. But I currently have no pi in place to generate a new image. But I will update it (after some time).

JoebartOOn notifications@github.com schrieb am So. 1. Nov. 2020 um 16:28:

Hello, How to update nightscout from 13.0.1 to 14.0.6? It's possible? Thanks for your feedback.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dhermanns/rpi-nightscout/issues/18#issuecomment-720105994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYPBFOFCREGZSCYZN64U3TSNV5DTANCNFSM4SJAYAOA .

JoebartOOn commented 3 years ago

Can you explain to me how to do it please?

Le dim. 1 nov. 2020 à 17:01, dhermanns notifications@github.com a écrit :

Yes - should be just a version number change. But I currently have no pi in place to generate a new image. But I will update it (after some time).

JoebartOOn notifications@github.com schrieb am So. 1. Nov. 2020 um 16:28:

Hello, How to update nightscout from 13.0.1 to 14.0.6? It's possible? Thanks for your feedback.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/dhermanns/rpi-nightscout/issues/18#issuecomment-720105994 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAYPBFOFCREGZSCYZN64U3TSNV5DTANCNFSM4SJAYAOA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dhermanns/rpi-nightscout/issues/18#issuecomment-720110767, or unsubscribe https://github.com/notifications/unsubscribe-auth/APP2P7QKZUWF5KIYWVQMUW3SNWA7JANCNFSM4SJAYAOA .

dhermanns commented 3 years ago

I pushed a new version. With a little bit of luck, that should do. Right now my current raspi didn't seem to have enough memory to build with node12. But maybe you have a raspi with more than 1GB of memory.

JoebartOOn commented 3 years ago

Hi, I just did all the manipulation, and it's not good. Thanks for your feedback.

dhermanns commented 3 years ago

I bought a new RPI4 with 4GB of RAM and created the new image. You can now simply pull it from the HUB again: https://hub.docker.com/r/dhermanns/rpi-nightscout

Works fine for me.