{"id":802,"date":"2023-09-15T15:10:23","date_gmt":"2023-09-15T14:10:23","guid":{"rendered":"https:\/\/arved.priv.at\/weblog\/?p=802"},"modified":"2023-09-15T15:10:23","modified_gmt":"2023-09-15T14:10:23","slug":"updating-unifi-to-debian-bullseye","status":"publish","type":"post","link":"https:\/\/arved.priv.at\/weblog\/2023\/09\/15\/updating-unifi-to-debian-bullseye\/","title":{"rendered":"Updating unifi to debian bullseye"},"content":{"rendered":"<p>With version 7.5 unifi finally supports openjdk17 which means it is about time to update the vm to bullseye. Of course the mongodb dependency is still horribily outdated. Luckily old mongodb\u00a0 debs for buster are still available at https:\/\/www.mongodb.com\/download-center\/community\/releases<\/p>\n<p>The unifi deb required &lt; 5.0. 4.4 reported that it is too new for the database and 4.2 failed to migrate the database so I had to start again.<\/p>\n<ul>\n<li>Download a backup of the config before upgrading.<\/li>\n<li>After the upgrade wipe \/var\/lib\/unifi\/db<\/li>\n<li>Create a dummy account like described here: https:\/\/gist.github.com\/AmazingTurtle\/e8a68a0cbe501bae15343aacbf42a1d8<\/li>\n<li>Login and restore the backup.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>With version 7.5 unifi finally supports openjdk17 which means it is about time to update the vm to bullseye. Of course the mongodb dependency is still horribily outdated. Luckily old mongodb\u00a0 debs for buster are still available at https:\/\/www.mongodb.com\/download-center\/community\/releases The unifi deb required &lt; 5.0. 4.4 reported that it is too new for the database &hellip; <a href=\"https:\/\/arved.priv.at\/weblog\/2023\/09\/15\/updating-unifi-to-debian-bullseye\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Updating unifi to debian bullseye&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-802","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/posts\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":1,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/posts\/802\/revisions"}],"predecessor-version":[{"id":803,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/posts\/802\/revisions\/803"}],"wp:attachment":[{"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/categories?post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arved.priv.at\/weblog\/wp-json\/wp\/v2\/tags?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}