{"id":804,"date":"2025-09-14T13:58:52","date_gmt":"2025-09-14T13:58:52","guid":{"rendered":"https:\/\/www.micha.name\/blog\/?p=804"},"modified":"2025-09-14T13:58:52","modified_gmt":"2025-09-14T13:58:52","slug":"upgrading-boa-from-debian-11-to-debian-12","status":"publish","type":"post","link":"https:\/\/www.micha.name\/blog\/2025\/09\/14\/upgrading-boa-from-debian-11-to-debian-12\/","title":{"rendered":"Upgrading &#8220;boa&#8221; from Debian 11 to Debian 12"},"content":{"rendered":"<p>After being nagged for months that Debian 11 was no longer supported, I finally bit the bullet and used a long weekend to start upgrading my cloud server.<\/p>\n<p>Overall it went smoothly, as expected with Debian.There was the usual merging-in of various configuration files with the updated package-maintainers versions compared to my own modified versions, but apart from taking time there were no major surprises.<\/p>\n<p>I did have two issues though:<\/p>\n<ol>\n<li>Owncloud<\/li>\n<li>LDAP<\/li>\n<\/ol>\n<h2>Owncloud<\/h2>\n<p>This one was mostly my own fault.<\/p>\n<p>I performed the system upgrade first, which upgraded PHP from 7.4 to 8.2. This resulted in the ancient version of Owncloud that I was running in no longer running, as it did not support PHP 8.2. I should have upgraded Owncloud before upgrading the server.. Something to remember for next time!<\/p>\n<p>A fair amount of muddling about and I managed to install PHP7.4 and the various dependencies which Owncloud needs from a third-party repository in order to finally manage to run the manual upgrade process.<\/p>\n<p>Still couldn&#8217;t log in though as LDAP was broken..<\/p>\n<h2>LDAP<\/h2>\n<p>Debian 12 upgraded OpenLdap to version 2.5 from 2.4. This included some breaking changes, which required manually editing the backed-up LDAP data before being able to import it again.<\/p>\n<p>Various websites gave some information, but in the end, the README which was installed on the server itself ended up being the best resource, and I was finally able to re-import my LDAP data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After being nagged for months that Debian 11 was no longer supported, I finally bit the bullet and used a long weekend to start upgrading my cloud server. Overall it went smoothly, as expected with Debian.There was the usual merging-in of various configuration files with the updated package-maintainers versions compared to my own modified versions, but apart from taking time there were no major surprises. I did have two issues though: Owncloud LDAP Owncloud This one was mostly my own fault. I performed the system upgrade first, which upgraded PHP from 7.4 to 8.2. This resulted in the ancient version of Owncloud that I was running in no longer running, as it did not support PHP 8.2. I should have upgraded Owncloud before upgrading the server.. Something to remember for next time! A fair amount of muddling about and I managed to install PHP7.4 and the various dependencies which Owncloud needs from a third-party repository in order to finally manage to run the manual upgrade process. Still couldn&#8217;t log in though as LDAP was broken.. LDAP Debian 12 upgraded OpenLdap to version 2.5 from 2.4. This included some breaking changes, which required manually editing the backed-up LDAP data before being [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,56],"tags":[21,30],"_links":{"self":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts\/804"}],"collection":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/comments?post=804"}],"version-history":[{"count":2,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts\/804\/revisions"}],"predecessor-version":[{"id":806,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts\/804\/revisions\/806"}],"wp:attachment":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/media?parent=804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/categories?post=804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/tags?post=804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}