× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Upgrading Portainer to version 2.x on ReadyNas OS 6.10.5

andy_vdg
Guide

Upgrading Portainer to version 2.x on ReadyNas OS 6.10.5

I started with the Portainer app from Mhynlo installed. To upgrade to version 2.x of Portainer we will have to first upgrade to version 1.24.2 as recommended by Portainer to avoid DB corruption.

 

Log in to your ReadyNas via SSH.

Remove current portainer

sudo docker container ls
#note the container id
sudo docker container stop portainermgmt
sudo docker container rm CONTAINERID
sudo docker image ls
#note the image id
sudo docker image rm IMAGEID

Install version 1.24.2

sudo docker volume ls
#note the volume id
sudo docker run -d --name=portainermgmt --hostname=portainer --network=bridge --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v VOLUMEID:/data -p 9001:9000 -e TZ=‘Europe/Berlin' portainer/portainer-ce:linux-amd64
#change the timezone to yours

This will pull the new image and install version 1.24.2

Go to the Apps page of your ReadyNas and start Mhynlos Portainer app. 

Launch the Portainer page and check everything is working

 

We'll now rinse and repeat with version 2.x

 

Remove version 1.24.2

sudo docker container ls
#note the container id
sudo docker container stop portainermgmt
sudo docker container rm CONTAINERID
sudo docker image ls
#note the image id
sudo docker image rm IMAGEID

Install version 2.x

sudo docker run -d --name=portainermgmt --hostname=portainer --network=bridge --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v VOLUMEID:/data -p 9001:9000 -e TZ=‘Europe/Berlin' portainer/portainer-ce:linux-amd64

This will pull the new image and install version 2.x

Go to the Apps page of your ReadyNas and start Mhynlos Portainer app. 

Launch the Portainer page and check everything is working

Model: ReadyNAS-OS6|
Message 1 of 1
Top Contributors
Discussion stats
  • 0 replies
  • 1327 views
  • 0 kudos
  • 1 in conversation
Announcements