This message was deleted.
# k3s
a
This message was deleted.
c
How did you try to upgrade the rancher server from v2.5.7 to v2.6.8?
c
First try upgrading to v2.6.3.
r
I did I get the same results no matter what version I upgrade too
c
r
Thank you for the suggestion. I have also tried this. Rancher comes up but kubectl still doesnt work and I get connection refused in the logs. The logs I posted earlier did not have the grub edits. I will post logs from after this grub update
2022/10/08 19:42:24 [INFO] Rancher version v2.6.8 (f650ce839) is starting
2022/10/08 19:42:24 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2022/10/08 19:42:24 [INFO] Listening on /tmp/log.sock
2022/10/08 19:42:24 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused2022/10/08 19:46:01 [INFO] Running in single server mode, will not peer connections
2022/10/08 19:46:08 [INFO] Applying CRD <http://features.management.cattle.io|features.management.cattle.io>
2022/10/08 19:46:59 [FATAL] k3s exited with: exit status 1
this was my docker run command, for reference
docker run -d --volumes-from rancher-data --restart=unless-stopped -p 9090:80 -p 9091:443 --privileged -v /opt/rancher:/var/lib/rancher --name=rancher_docker_server rancher/rancher:v2.6.8
c
Following issue seems same. Try upgrading to 2.7.0-rc3. If it doesn't work, not sure how this issue can be solved. https://github.com/rancher/rancher/issues/36238
r
Thank you for advice I tried 2.7- head yesterday after seeing this github issue. However got lots of etcd errors. I will try this version thank you for your suggestions
c
Try with rc3 version
v2.7-head is not stable
r
Should I upgrade view versions or straight from 2.5.7?
c
Straight from 2.5.7
👍 1
r
Hi V2.7-rc3 also did not work, however I managed to get v2.5.7 working by deleting the
Copy code
dynamic-cert.json
and adding
GRUB_CMDLINE_LINUX="cgroup_memory=1 cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0"
however its not stable
c
Okay
r
i will pastebin logs maybe you will see something else that might help further
thank you for your help so far