{"id":1482,"date":"2022-11-13T19:58:42","date_gmt":"2022-11-13T19:58:42","guid":{"rendered":"https:\/\/www.thebigbluehouse.org\/site\/?p=1482"},"modified":"2023-02-05T17:02:25","modified_gmt":"2023-02-05T17:02:25","slug":"upgrading-unifi-controller-synology-docker-containers","status":"publish","type":"post","link":"https:\/\/www.thebigbluehouse.org\/site\/upgrading-unifi-controller-synology-docker-containers\/","title":{"rendered":"Upgrade A UniFi Controller Synology Docker Containers"},"content":{"rendered":"\n<p>If you followed my guide on installing the <a href=\"https:\/\/www.thebigbluehouse.org\/site\/installing-unifi-controller-on-synology-as-a-docker-container\/\">UniFi Controller on your Synology in Docker containers<\/a>, you will notice one of the steps mapped the external ports to the internal docker ports. This provides the Unifi hardware the ports they use to communicate with the controller. However, during upgrade, although you could simply replace the container with the new one, what if it doesn&#8217;t work? That&#8217;s where this update process comes into play! This guide shows you how to upgrade a container, whilst ensuring the new container &#8216;takes&#8217; the ports of the old container (yes it was frustrating first time, when I forgot about the ports!).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\">Instructions<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log into your Synology and before you start please ensure you do a backup. Then open the Docker application, and head to the registry on the left hand side. (1)<\/li>\n\n\n\n<li>Then search for the same Unifi container you were using; \u201c<em>jacobalberty\/unifi<\/em>\u201c in my case. Select the image and click the \u201cDownload\u201d button. (2)\n<ul class=\"wp-block-list\">\n<li>For interest check out the <a href=\"https:\/\/github.com\/jacobalberty\/unifi-docker\" target=\"_blank\" rel=\"noreferrer noopener\">GIT repository<\/a> for the docker container (specifically the releases)<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"187\" data-attachment-id=\"1572\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/installing-unifi-controller-on-synology-as-a-docker-container\/docker-synology3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?fit=1059%2C309&amp;ssl=1\" data-orig-size=\"1059,309\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Search Docker For Container\" data-image-description=\"&lt;p&gt;Search Docker For Container&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Search Docker For Container&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?fit=640%2C187&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?resize=640%2C187&#038;ssl=1\" alt=\"Search Docker For Container\" class=\"wp-image-1572\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?resize=1024%2C299&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?resize=300%2C88&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?resize=768%2C224&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?resize=850%2C248&amp;ssl=1 850w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology3.png?w=1059&amp;ssl=1 1059w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>This container will then download the latest version and appear in your \u201cImage\u201d tab, as a list of possible containers you can re-deploy\/upgrade.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"186\" data-attachment-id=\"1574\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/installing-unifi-controller-on-synology-as-a-docker-container\/docker-synology4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?fit=1059%2C308&amp;ssl=1\" data-orig-size=\"1059,308\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Docker Synology Images\" data-image-description=\"&lt;p&gt;Docker Synology Images&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Docker Synology Images&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?fit=640%2C186&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?resize=640%2C186&#038;ssl=1\" alt=\"Docker Synology Images\" class=\"wp-image-1574\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?resize=1024%2C298&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?resize=300%2C87&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?resize=768%2C223&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?resize=850%2C247&amp;ssl=1 850w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-synology4.png?w=1059&amp;ssl=1 1059w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Click on Containers on the left (1) side of the application. You will then need to power off the container using the toggle at the right hand side of the Unifi Controller row (2).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"188\" data-attachment-id=\"1642\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/upgrading-unifi-controller-synology-docker-containers\/docker-upgrade-pre-upgrade\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?fit=2110%2C621&amp;ssl=1\" data-orig-size=\"2110,621\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Docker-upgrade-pre-upgrade\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?fit=640%2C188&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?resize=640%2C188&#038;ssl=1\" alt=\"Docker Pre-Upgrade\" class=\"wp-image-1642\" title=\"Docker Pre-Upgrade\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?resize=1024%2C301&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?resize=300%2C88&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?resize=768%2C226&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?resize=1536%2C452&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?resize=2048%2C603&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?resize=850%2C250&amp;ssl=1 850w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-pre-upgrade.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>When the container is powered down, select the container and click Edit.<\/li>\n\n\n\n<li>From the Edit screen, you will want to change the name to append some text (eg; -OLD). I would also advise unchecking the &#8220;<em>Enable auto-restart<\/em>&#8221; option, so this container doesn&#8217;t restart after a system reboot.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1661\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/upgrading-unifi-controller-synology-docker-containers\/docker-upgrade-edit-name\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?fit=1306%2C1104&amp;ssl=1\" data-orig-size=\"1306,1104\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Docker-upgrade-Edit-Name\" data-image-description=\"&lt;p&gt;Docker Upgrade Editing the Name&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Docker Upgrade Editing the Name&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?fit=640%2C541&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?resize=512%2C433&#038;ssl=1\" alt=\"Docker Upgrade Editing the Name\" class=\"wp-image-1661\" width=\"512\" height=\"433\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?resize=1024%2C866&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?resize=300%2C254&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?resize=768%2C649&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?resize=850%2C719&amp;ssl=1 850w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Name.png?w=1306&amp;ssl=1 1306w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"7\">\n<li>From the &#8220;Port Settings&#8221; tab, increase all the port numbers by 1 so they don&#8217;t clash\/aren&#8217;t in use in a later step (eg; 8080 becomes 8081)<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1660\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/upgrading-unifi-controller-synology-docker-containers\/docker-upgrade-edit-ports\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?fit=1306%2C1104&amp;ssl=1\" data-orig-size=\"1306,1104\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Docker Edit Ports by Increasing Values\" data-image-description=\"&lt;p&gt;Docker Edit Ports by Increasing Values&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Docker Edit Ports by Increasing Values&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?fit=640%2C541&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?resize=512%2C433&#038;ssl=1\" alt=\"Docker Container Upgrade Edit Ports by Increasing Values\" class=\"wp-image-1660\" width=\"512\" height=\"433\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?resize=1024%2C866&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?resize=300%2C254&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?resize=768%2C649&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?resize=850%2C719&amp;ssl=1 850w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/Docker-upgrade-Edit-Ports.png?w=1306&amp;ssl=1 1306w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"8\">\n<li>At this point you can either go ahead and rebuild the container completely from scratch (make sure you use the same directory as the old one so the container picks up your settings) or you can use the duplicate method to rebuild (which I find quicker!).<\/li>\n\n\n\n<li>Click on the container you&#8217;ve just renamed with -old and click <em>Settings<\/em> and then <em>Duplicate Setting<\/em>s<\/li>\n\n\n\n<li>A pop-up will appear and it&#8217;s wise to revert the name on the container back to the original (eg; removing <em>-old-copy<\/em>)<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1656\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/upgrading-unifi-controller-synology-docker-containers\/docker-upgrade-duplicate\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Duplicate.png?fit=900%2C436&amp;ssl=1\" data-orig-size=\"900,436\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Docker-upgrade-Duplicate\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Duplicate.png?fit=640%2C310&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Duplicate.png?resize=450%2C218&#038;ssl=1\" alt=\"Naming the Container That you are Updating\" class=\"wp-image-1656\" width=\"450\" height=\"218\" title=\"Naming the Container\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Duplicate.png?w=900&amp;ssl=1 900w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Duplicate.png?resize=300%2C145&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Duplicate.png?resize=768%2C372&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Duplicate.png?resize=850%2C412&amp;ssl=1 850w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"11\">\n<li>Once it has duplicated, we will need to update the settings, by selecting the newly copied container and clicking &#8220;<em>Edit<\/em>&#8220;<\/li>\n\n\n\n<li>From the pop-up window re-select &#8220;<em>Enable auto-restart<\/em>&#8220;. <\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1657\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/upgrading-unifi-controller-synology-docker-containers\/docker-upgrade-restart\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Restart.png?fit=696%2C320&amp;ssl=1\" data-orig-size=\"696,320\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Docker-upgrade-Restart\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Restart.png?fit=640%2C294&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Restart.png?resize=348%2C160&#038;ssl=1\" alt=\"Re-enable the Auto-Restart option after updating\" class=\"wp-image-1657\" width=\"348\" height=\"160\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Restart.png?w=696&amp;ssl=1 696w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/Docker-upgrade-Restart.png?resize=300%2C138&amp;ssl=1 300w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"13\">\n<li>Then move to the port settings tab and fill in the ports with the same values as we had previously.\n<ul class=\"wp-block-list\">\n<li>This was the step that caused me chaos when I first upgraded as I had duplicate ports on the Old and New containers &#8211; so ensure you follow step 7, to enable the ports to be free for this step)<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"613\" height=\"247\" data-attachment-id=\"1579\" data-permalink=\"https:\/\/www.thebigbluehouse.org\/site\/docker-synology7\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/docker-synology7.png?fit=613%2C247&amp;ssl=1\" data-orig-size=\"613,247\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Setting Port Mappings Docker\" data-image-description=\"&lt;p&gt;Setting Port Mappings Docker&lt;\/p&gt;\n\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/docker-synology7.png?fit=613%2C247&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/docker-synology7.png?resize=613%2C247&#038;ssl=1\" alt=\"Setting Port Mappings Docker\" class=\"wp-image-1579\" srcset=\"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/docker-synology7.png?w=613&amp;ssl=1 613w, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/11\/docker-synology7.png?resize=300%2C121&amp;ssl=1 300w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"14\">\n<li>You can now save these settings, and turn on your newly updated docker container!<\/li>\n\n\n\n<li>Your settings should persist from the previous container as you&#8217;ll be pointing at the same folder as you previously used, but due to docker having a separate runtime to persistent storage, you&#8217;ll have new application code.\n<ul class=\"wp-block-list\">\n<li>It&#8217;s worth noting on first boot it may take some time, as the application may be doing database changes, so be patient! <\/li>\n\n\n\n<li>My second tip is don&#8217;t be worried if it looks like you&#8217;ve lost all your devices from the UniFi Dashboard. It may be that they haven&#8217;t &#8216;called home&#8217; yet, but you can encourage this by going into the &#8220;<em>UniFi devices<\/em>&#8221; tab and clicking on each device to pull their latest settings.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"has-text-align-right\"><a data-type=\"page\" data-id=\"1520\" href=\"https:\/\/www.thebigbluehouse.org\/site\/disclaimer\/\">DISCLAIMER<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide shows you how to upgrade a docker container on synology (specifically updating the UniFi Controller), while ensuring the new container &#8216;takes&#8217; the network ports of the old container.<\/p>\n","protected":false},"author":1,"featured_media":1640,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[413,392,393,415,414],"tags":[408,407,406,405,416],"class_list":["post-1482","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-itandcomputing","category-networking","category-synology","category-unifi","tag-container","tag-docker","tag-synology","tag-unifi","tag-update"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-upgrade-sm.webp?fit=1920%2C930&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2jmMR-nU","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1476,"url":"https:\/\/www.thebigbluehouse.org\/site\/installing-unifi-controller-on-synology-as-a-docker-container\/","url_meta":{"origin":1482,"position":0},"title":"Installing UniFi Controller on Synology as a Docker Container","author":"Tom Davison","date":"3 November, 2022","format":false,"excerpt":"Instructions and Guide to install the Docker package on a Synology NAS to run your UniFi network hardware using a containerised version of the Controller software.","rel":"","context":"In &quot;Docker&quot;","block_context":{"text":"Docker","link":"https:\/\/www.thebigbluehouse.org\/site\/category\/itandcomputing\/docker\/"},"img":{"alt_text":"Container Ship","src":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-sm.jpeg?fit=1200%2C621&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-sm.jpeg?fit=1200%2C621&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-sm.jpeg?fit=1200%2C621&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-sm.jpeg?fit=1200%2C621&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/docker-sm.jpeg?fit=1200%2C621&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1478,"url":"https:\/\/www.thebigbluehouse.org\/site\/configuring-pfsense-for-unifi-dhcp-discovery\/","url_meta":{"origin":1482,"position":1},"title":"Configuring PFSense for UniFi DHCP Discovery","author":"Tom Davison","date":"15 October, 2022","format":false,"excerpt":"There are several ways for getting your UniFi devices adopted by your UniFi Controller, when the software is running in a different subnet. This article will cover DHCP, DNS and SSH options, the pros and cons, and how I have DHCP setup with PFSence","rel":"","context":"In &quot;IT and Computing&quot;","block_context":{"text":"IT and Computing","link":"https:\/\/www.thebigbluehouse.org\/site\/category\/itandcomputing\/"},"img":{"alt_text":"UniFi Switches","src":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/unifi-sm.jpeg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/unifi-sm.jpeg?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/unifi-sm.jpeg?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/unifi-sm.jpeg?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/10\/unifi-sm.jpeg?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1694,"url":"https:\/\/www.thebigbluehouse.org\/site\/unifi-firmware-updates-using-a-local-cache\/","url_meta":{"origin":1482,"position":2},"title":"UniFi Firmware Updates Using A Local Cache","author":"Tom Davison","date":"13 December, 2022","format":false,"excerpt":"I tried to do a firmware upgrade on my UniFi Access points, but one AP failed. Here is how I resolved this using a Local Cache.","rel":"","context":"In &quot;IT and Computing&quot;","block_context":{"text":"IT and Computing","link":"https:\/\/www.thebigbluehouse.org\/site\/category\/itandcomputing\/"},"img":{"alt_text":"AP Firmware Upgrade Header Image","src":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/ap-firmware-upgrade.webp?fit=1200%2C583&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/ap-firmware-upgrade.webp?fit=1200%2C583&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/ap-firmware-upgrade.webp?fit=1200%2C583&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/ap-firmware-upgrade.webp?fit=1200%2C583&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/ap-firmware-upgrade.webp?fit=1200%2C583&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2092,"url":"https:\/\/www.thebigbluehouse.org\/site\/configuring-dhcp-option-43-on-pfsense-kea-dhcp-for-unifi-device-discovery\/","url_meta":{"origin":1482,"position":3},"title":"Configuring DHCP Option 43 on pfSense (KEA DHCP) for UniFi Device Discovery","author":"Tom Davison","date":"4 January, 2026","format":false,"excerpt":"When running UniFi access points without Layer-2 adoption, DHCP Option 43 allows your UniFi devices to automatically discover the UniFi Network Controller. With pfSense now using KEA DHCP by default, the configuration is slightly different from the legacy ISC DHCP approach. This guide walks through enabling Option 43 on pfSense\u2026","rel":"","context":"In &quot;IT and Computing&quot;","block_context":{"text":"IT and Computing","link":"https:\/\/www.thebigbluehouse.org\/site\/category\/itandcomputing\/"},"img":{"alt_text":"UniFi Switch Racked","src":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2026\/01\/unifi-switch.jpeg?fit=1200%2C575&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2026\/01\/unifi-switch.jpeg?fit=1200%2C575&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2026\/01\/unifi-switch.jpeg?fit=1200%2C575&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2026\/01\/unifi-switch.jpeg?fit=1200%2C575&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2026\/01\/unifi-switch.jpeg?fit=1200%2C575&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1781,"url":"https:\/\/www.thebigbluehouse.org\/site\/replacing-a-failed-hard-disk-drive-on-a-synology-nas\/","url_meta":{"origin":1482,"position":4},"title":"Replacing a Failed Hard Disk Drive on a Synology NAS","author":"Tom Davison","date":"16 February, 2023","format":false,"excerpt":"This article tells you how to replace the disk in a failed Synology storage array. How to recover from a failed hard drive in SHR2 storage pool.","rel":"","context":"In &quot;IT and Computing&quot;","block_context":{"text":"IT and Computing","link":"https:\/\/www.thebigbluehouse.org\/site\/category\/itandcomputing\/"},"img":{"alt_text":"Inside a hard disc","src":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/hdd-failure.webp?fit=1200%2C583&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/hdd-failure.webp?fit=1200%2C583&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/hdd-failure.webp?fit=1200%2C583&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/hdd-failure.webp?fit=1200%2C583&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2022\/12\/hdd-failure.webp?fit=1200%2C583&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1745,"url":"https:\/\/www.thebigbluehouse.org\/site\/firmware-update-for-a-hp-aruba-officeconnect-switch\/","url_meta":{"origin":1482,"position":5},"title":"Firmware Update for a HP\/Aruba OfficeConnect Switch","author":"Tom Davison","date":"24 January, 2023","format":false,"excerpt":"This article instructs you how to upgrade the software\/firmware on an HP\/Aruba OfficeConnect Ethernet network switch.","rel":"","context":"In &quot;IT and Computing&quot;","block_context":{"text":"IT and Computing","link":"https:\/\/www.thebigbluehouse.org\/site\/category\/itandcomputing\/"},"img":{"alt_text":"Network Switch Firmware Upgrade Header","src":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2023\/01\/network-switch-firmware-upgrade.webp?fit=1200%2C571&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2023\/01\/network-switch-firmware-upgrade.webp?fit=1200%2C571&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2023\/01\/network-switch-firmware-upgrade.webp?fit=1200%2C571&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2023\/01\/network-switch-firmware-upgrade.webp?fit=1200%2C571&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.thebigbluehouse.org\/site\/wp-content\/uploads\/2023\/01\/network-switch-firmware-upgrade.webp?fit=1200%2C571&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/posts\/1482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/comments?post=1482"}],"version-history":[{"count":10,"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/posts\/1482\/revisions"}],"predecessor-version":[{"id":1799,"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/posts\/1482\/revisions\/1799"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/media\/1640"}],"wp:attachment":[{"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/media?parent=1482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/categories?post=1482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thebigbluehouse.org\/site\/wp-json\/wp\/v2\/tags?post=1482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}