Replies: 5 comments 9 replies
-
Spaces matter in yaml. It should be my-docker:
socket: /var/run/docker.sock
swarm: false |
Beta Was this translation helpful? Give feedback.
-
Further steps to diagnose (and failed):
I still get:
I still have to compare the Ansible code to set these up and verify it is the same on both servers. Will report back after doing that. |
Beta Was this translation helpful? Give feedback.
-
Ansible code looks good. I just did the following and still failed:
|
Beta Was this translation helpful? Give feedback.
-
The above corrected docker.yaml works fine for me in both versions, so I really don't know what's going on here, but you can try stripping out services etc and see if theres something else causing it. |
Beta Was this translation helpful? Give feedback.
-
I'm just finally getting back to this.
I'm convinced we're looking at the wrong spot. Still hoping for an answer to the question: What JSON file is involved here? Is the error message message misrepresenting the YAML file as JSON? YAML and JSON are different data formats, so what JSON file is involved here? (There are non in my config directory.) Here's another kicker: The docker.yaml IS being read and used. My services.yaml is configured to display system stats from a glances container and homepage shows the info correctly with the docker container info. See below:
I haven't had time to get back to this until now. I know it's not a simple or usual issue and that's exactly why it's worth diagnosing until conclusion. Possibly there's a bug in the error reporting or it specific error message could be massaged to give more pertinent info. :-) What else can the error |
Beta Was this translation helpful? Give feedback.
-
Description
Weird problem.
I get the below error using homepage v0.9.6 (805f119, Aug 11, 2024) on one server using the docker.yaml below. I do not get the error on a 2nd server using homepage v0.9.2 (af16956, Jun 5, 2024). The docker.yaml is identical bit for bit. Obviously non of my containers and info are showing in homepage because of this on the box running v.0.9.6.
Passively waiting for a new point release. :-) This problem started with v0.9.5 or earlier.
Bug?
homepage version
s/a
Installation method
Docker
Configuration
Container Logs
No response
Browser Logs
No response
Troubleshooting
Beta Was this translation helpful? Give feedback.
All reactions