Installed on Docker, can't connect to db on localhost #232
Replies: 3 comments 4 replies
-
|
I know you aren't using CouchDB, but these docs are a bit more up to date and explain why with docker, localhost doesn't point to "the real localhost". https://solarthing.readthedocs.io/en/latest/quickstart/config/database/couchdb.html You should be able to set it to |
Beta Was this translation helpful? Give feedback.
-
|
Woot woot! Now it is working. Localhost resolves to the container, not the host machine? I suspected it was something like that but I thought the "external" tag in base.json might redirect outside the container. Base.json in earlier versions didn't have that. |
Beta Was this translation helpful? Give feedback.
-
|
By the way I noticed in the logs that "chargingStateName" : "Deactivated", or MPPT, Float, Boost. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I could use some help here. Running Solarthing on Docker, on Raspberry Pi 3B. InfluxDB 1.6.7 is installed natively and is running on 8086.
`pi@raspberrypi:~ $ curl -sL -I localhost:8086/ping
HTTP/1.1 204 No Content
Content-Type: application/json
Request-Id: 81f76030-6b7c-11f0-83cc-000000000000
X-Influxdb-Build: OSS
X-Influxdb-Version: 1.6.7~rc0
X-Request-Id: 81f76030-6b7c-11f0-83cc-000000000000
Date: Mon, 28 Jul 2025 06:31:34 GMT
`
Solarthing gets the data over serial just fine, but it seems to fail to connect to localhost:8086, not sure why. I have attached my base.json, influxdb2.json, and the log file. Thanks for helping.
base.json
influxdb2.json
log_debug.log
Beta Was this translation helpful? Give feedback.
All reactions