{"id":5959,"date":"2025-03-12T13:02:58","date_gmt":"2025-03-12T18:02:58","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5959"},"modified":"2025-03-12T13:09:43","modified_gmt":"2025-03-12T18:09:43","slug":"how-to-fix-uisp-application-is-loading-1-min-remaining-again","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/how-to-fix-uisp-application-is-loading-1-min-remaining-again\/","title":{"rendered":"How to Fix UISP &#8220;Application is loading. 1 min remaining\u2026&#8221; Again&#8230; fluentd Error"},"content":{"rendered":"\n<p>There is an issue upgrading to UISP version 2.4.188 on Ubuntu 22.04.  If you manually run an update from the command line, you&#8217;ll receive an error stating:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Error response from daemon: unknown log opt 'fluentd-async-connect' for fluentd log driver<br>ERROR: Failed to start Postgres DB.<br>UISP install script failed. Attempting rollback\u2026<br>Restoring previous configuration<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The Resolution<\/h2>\n\n\n\n<p>To fix the problem, we can do one of two things:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Downgrade Docker.<\/li>\n\n\n\n<li>Change fluentd-async-connect to fluentd-async in docker-compose files.<\/li>\n<\/ol>\n\n\n\n<p><em>The commands are taken from the comments<\/em> in the following link.<\/p>\n\n\n\n<p><a href=\"https:\/\/community.ui.com\/releases\/UISP-Application-2-4-188\/dee1603c-9f36-413c-aad6-cd6a9fc68258?page=2\">https:\/\/community.ui.com\/releases\/UISP-Application-2-4-188\/dee1603c-9f36-413c-aad6-cd6a9fc68258?page=2<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Downgrade Docker<\/h2>\n\n\n\n<p>Use apt to downgrade Docker.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install docker-ce=5:27.5.1-1~ubuntu.22.04~jammy docker-ce-cli=5:27.5.1-1~ubuntu.22.04~jammy docker-ce-rootless-extras=5:27.5.1-1~ubuntu.22.04~jammy<\/pre>\n\n\n\n<p>After Docker is downgraded, you can manually run the update again.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo ~unms\/app\/unms-cli update<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Modify Docker Compose File<\/h2>\n\n\n\n<p>All we need to do is replace <code>fluentd-async-connect<\/code> with <code>fluentd-async<\/code> in the docker-compose file in the unms user directory.  We can do this with sed.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo sed -i.orig 's\/fluentd-async-connect\/fluentd-async\/g' ~unms\/app\/docker-compose.yml<br>sudo sed -i.orig 's\/fluentd-async-connect\/fluentd-async\/g' ~unms\/app\/docker-compose.yml.template<\/pre>\n\n\n\n<p>After we run both sed commands, start or update UISP.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo ~unms\/app\/unms-cli update<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is an issue upgrading to UISP version 2.4.188 on Ubuntu 22.04. If you manually run an update from the command line, you&#8217;ll receive an error stating: Error response from daemon: unknown log opt &#8216;fluentd-async-connect&#8217; for fluentd log driverERROR: Failed &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-fix-uisp-application-is-loading-1-min-remaining-again\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,1144],"tags":[246,389,131,974,1571,411],"class_list":["post-5959","post","type-post","status-publish","format-standard","hentry","category-ubiquiti","category-ubiquiti-command-line","tag-docker","tag-nms","tag-ubiquiti-2","tag-ui","tag-uisp","tag-unms"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5959","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=5959"}],"version-history":[{"count":6,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5959\/revisions"}],"predecessor-version":[{"id":5965,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5959\/revisions\/5965"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}