You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup the PMM client/agent with docker for the first time. Setting up the server with docker was pretty straightforward, but I feel like the client setup documentation is quite confusing.
Run the container to start PMM Agent in setup mode.
[...]
You can now add services with pmm-admin by prefixing commands with docker exec pmm-client.
Isn't there missing something in between? How do I run the container without the setup mode? If I just restart the container, it complains that the associated node name is already registered. If I remove all environment vars from the call, it fails after complaining that you should run a setup. I tried setting PMM_AGENT_SETUP from 1 to 0, but that didn't help either.
Furthermore, the next section after the Install -> Docker one is once again Register. That doesn't make sense, does it? Shouldn't the latter affect only the non-docker ways of installing?
Maybe I'm just missing something obvious. Support for clarification is appreciated very much!
The text was updated successfully, but these errors were encountered:
@Johnson145 I'm facing the same issue as you, I agree that the documentation is lacking some steps.
I also noticed that many folder are owned by root, but the container runs as user 1002 pmm-agent. So inside the container I encounter a lot of permission denied.
When we say: PMM_AGENT_CONFIG_FILE=config/pmm-agent.yaml to where this relative path point to? In my logs I saw this:
I'm trying to setup the PMM client/agent with docker for the first time. Setting up the server with docker was pretty straightforward, but I feel like the client setup documentation is quite confusing.
In the last part of the relevant section the following is given:
Isn't there missing something in between? How do I run the container without the setup mode? If I just restart the container, it complains that the associated node name is already registered. If I remove all environment vars from the call, it fails after complaining that you should run a setup. I tried setting
PMM_AGENT_SETUP
from1
to0
, but that didn't help either.Furthermore, the next section after the
Install -> Docker
one is once againRegister
. That doesn't make sense, does it? Shouldn't the latter affect only the non-docker ways of installing?Maybe I'm just missing something obvious. Support for clarification is appreciated very much!
The text was updated successfully, but these errors were encountered: