I did a fresh install with Rancher 2.5.5 in a docker container. I have not added any clusters yet. I am seeing the following errors in the logs.
Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
pod_container_deletor.go:77] Container "5464175e68e77e3a4d91aa1aa0a672aefa7c9c116edeb8be8573dacd9db504aa" not found in pod's containers
Path "/var/lib/kubelet/pods/dc9e1424-d523-40b0-83c1-d27db06cf5e9/volumes" does not exist
Warning: Failed to clear quota on /var/lib/kubelet/pods/dc9e1424-d523-40b0-83c1-d27db06cf5e9/volumes/kubernetes.io~configmap/user-kubeconfig: ClearQuota called, but quotas disabled
this is my install command:
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged -v /rch2:/var/lib/rancher -v /efs/data/production/certs/vetpro.us/fullchain.pem:/etc/rancher/ssl/cert.pem -v /efs/data/lproduction/certs/vetpro.us/privkey.pem:/etc/rancher/ssl/key.pem rancher/rancher:v2.5.5 --no-cacerts
This is installed on an EC2 ubuntu 18 instance. with Docker 19.0.3. The /rch2 folder is a mounted ebs volume. The folder and all sub folders are owned by root user.
How can I rectify this problem?