{"id":473,"date":"2025-02-13T18:18:20","date_gmt":"2025-02-14T00:18:20","guid":{"rendered":"https:\/\/bblaze.xyz\/?p=473"},"modified":"2025-12-08T16:06:46","modified_gmt":"2025-12-08T22:06:46","slug":"upgrading-portainer","status":"publish","type":"post","link":"https:\/\/jb03.com\/index.php\/2025\/02\/13\/upgrading-portainer\/","title":{"rendered":"Upgrading Portainer"},"content":{"rendered":"\n<p>Real quick. I was getting ready to write the next post about building a Matrix\/Synapse &amp; Element server and I realized I had a server where Portainer was out of date.<\/p>\n\n\n\n<p>This happens. I want to show you how easy it is to upgrade when necessary.<\/p>\n\n\n\n<p>This is how you know an upgrade is available:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"757\" src=\"https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-one.png\" alt=\"\" class=\"wp-image-474\" srcset=\"https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-one.png 493w, https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-one-195x300.png 195w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><\/figure>\n<\/div>\n\n\n<p>Worry not! The process to take care of this is super easy.<\/p>\n\n\n\n<p>First \u2013 login to the server as root (or as a user with sudo rights.)<\/p>\n\n\n\n<p>Next \u2013 navigate to the directory where you have the Portainer docker compose file.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you&#8217;re following with the Ubuntu server I created at Digital Ocean that will be the \/home\/portuser directory.<\/li>\n\n\n\n<li>On this particular server it happens to be the \/home\/admin.2 directory.<\/li>\n<\/ul>\n\n\n\n<p>Run the following three commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker compose down\ndocker compose pull\ndocker compose up -d<\/code><\/pre>\n\n\n\n<p>That&#8217;s it. Seriously.<\/p>\n\n\n\n<p>In this particular server it looks like this:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"597\" src=\"https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-two-1024x597.png\" alt=\"\" class=\"wp-image-475\" srcset=\"https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-two-1024x597.png 1024w, https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-two-300x175.png 300w, https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-two-768x448.png 768w, https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-two.png 1237w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>If you reload the Portainer page you will see it has been updated to the most recent version.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"355\" height=\"751\" src=\"https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-three.png\" alt=\"\" class=\"wp-image-476\" srcset=\"https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-three.png 355w, https:\/\/jb03.com\/wp-content\/uploads\/2025\/02\/upgrade-three-142x300.png 142w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/figure>\n<\/div>\n\n\n<p>That&#8217;s it. Nice work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Real quick. I was getting ready to write the next post about building a Matrix\/Synapse &amp; &hellip; <a title=\"Upgrading Portainer\" class=\"hm-read-more\" href=\"https:\/\/jb03.com\/index.php\/2025\/02\/13\/upgrading-portainer\/\"><span class=\"screen-reader-text\">Upgrading Portainer<\/span>Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,36,39],"tags":[],"class_list":["post-473","post","type-post","status-publish","format-standard","hentry","category-docker","category-getting-started","category-portainer"],"_links":{"self":[{"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/posts\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/comments?post=473"}],"version-history":[{"count":1,"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/posts\/473\/revisions"}],"predecessor-version":[{"id":633,"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/posts\/473\/revisions\/633"}],"wp:attachment":[{"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/categories?post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jb03.com\/index.php\/wp-json\/wp\/v2\/tags?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}