Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Upgrading Portainer to version 2.x on ReadyNas OS 6.10.5
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-07-08
04:19 PM
2021-07-08
04:19 PM
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