https://rancher.com/ logo
Title
i

incalculable-carpenter-21031

05/05/2022, 1:47 PM
I created a cluster using
docker run -d --restart=unless-stopped -p 443:443 --privileged rancher/rancher
and it is running fine .
$docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                  NAMES
10247a667a0d        rancher/rancher     "entrypoint.sh"     12 months ago       Up 26 minutes       0.0.0.0:443->443/tcp   clever_fermi
I created a cluster but the dashboard is not accessible from the browser now. What could have gone wrong and how could i troubleshoot ? any pointers is highly appreciated. optionally i don't mind setting up another docker container to import the existing cluster , if possible.
a

agreeable-oil-87482

05/05/2022, 3:14 PM
rancher/rancher creates the rancher management server, not a cluster. Did you provision another cluster from this instance?
i

incalculable-carpenter-21031

05/05/2022, 3:19 PM
Thanks David. Yes, I created a cluster using the Rancher management but the rancher management server (RMS) is not accessible now but the cluster is up and running. I have lost the ability to login to the rancher management server rancher/rancher. Now how will get access to / manage the RMS created cluster?
Yes, it was not a good idea to have a single docker container rancher/rancher to setup and manage my cluster. but now this is where i am and have learnt my lesson. but now I need to recover rancher/rancher 😞
The error message inside the rancher/rancher is :
2022/05/05 13:17:32 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6443/version?timeout=15m0s>": x509: certificate has expired or is not yet valid: current time 2022-05-05T13:17:32Z is after 2022-05-04T20:33:29Z
is there a way to change / update the certificate?