One day when I tried to use the console section of portainer I got the error “Unable to retrieve image details”. After looking online I saw that I needed to update portainer so I started looking for the compose file and couldn’t find it. Well that was a bit annoying so I ran “docker run –rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose …” which worked as expected. I then pulled the latest image and trimed the compose file. When I removed and restarted the container I was annoyed to see it still wasn’t working.
I came back to the issue today and got back to reading. I only then found out that the latest tag was not the latest version. So I edited the compose file to use the “sts” tag. When portainer came backup I could get to the conect button but couldn’t get past connecting. After some more reasurching I found out it was my nginx proxy. The solution recomended was to add “proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;” to the custom configoration section. This didn’t work the next solution was to enable web socket support which just caused it to say it was offline. I decided to remove the configeration but leave on the web sockets and this finally worked.