{"id":4637,"date":"2022-10-31T17:28:32","date_gmt":"2022-10-31T22:28:32","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=4637"},"modified":"2022-10-31T17:28:32","modified_gmt":"2022-10-31T22:28:32","slug":"restart-unifi-services-on-udm","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/restart-unifi-services-on-udm\/","title":{"rendered":"Restart UniFi services on UDM"},"content":{"rendered":"\n<p>Mark manages the Ubiquiti UniFi applications at Incredigeek Inc. and is unable to access the UniFi controller.  It starts loading and then stops.  The URL bar shows that it is trying to load a null network site.  <\/p>\n\n\n\n<p>Thankfully the WiFi is still working, Mark thinks to himself, but how am I supposed to manage the network?  I am able to access the UniFi Core application, so maybe I can login using a secure shell and check on the application.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@192.168.1.1<\/pre>\n\n\n\n<p>Once logged in, and after using the google, he finds that unifi-os restart  will restart the UniFi applications.  But I just need to restart the Network application.  Running &#8220;unifi-os&#8221; &#8211;help reveals the following options.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># unifi-os --help\nUsage: \/usr\/sbin\/unifi-os [stop start restart shell 'update url']<\/pre>\n\n\n\n<p>Oh shell! <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">unifi-os shell<\/pre>\n\n\n\n<p>Alternatively, we know that on the UDM&#8217;s the UniFi Applications are run inside a Docker container.  We could run &#8220;docker ps&#8221; to show the containers and then &#8220;docker exec -it unifi-os bash&#8221;<\/p>\n\n\n\n<p>Now we can restart  just the UniFi Network application.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl restart unifi<\/pre>\n\n\n\n<p>It can take a little bit to restart.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mark manages the Ubiquiti UniFi applications at Incredigeek Inc. and is unable to access the UniFi controller. It starts loading and then stops. The URL bar shows that it is trying to load a null network site. Thankfully the WiFi &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/restart-unifi-services-on-udm\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[979],"tags":[246,131,974,188],"class_list":["post-4637","post","type-post","status-publish","format-standard","hentry","category-unifi","tag-docker","tag-ubiquiti-2","tag-ui","tag-unifi"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=4637"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4637\/revisions"}],"predecessor-version":[{"id":4640,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4637\/revisions\/4640"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=4637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=4637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=4637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}