So I found how to upgrade N8N without losing the flow and variables. You need to run the line below in your CLI.
docker pull n8nio/n8n:latest
However, this breaks my subdomain connection when I go to n8n.example.com, which is mapped using reverse proxy Reverse Proxy Traffic to Docker Container on CyberPanel. Meaning n8n gives me a connection lost error when I use the subdomain. This isn’t the case when I go to http://127.0.0.1:5678 per example.
I tried, restarting litespeed, docker and rebooting the VPS. This didn’t fix the issue
Any ideas on how to fix it?