{"id":509,"date":"2022-01-23T21:48:44","date_gmt":"2022-01-23T20:48:44","guid":{"rendered":"http:\/\/robert.vanyi.org\/en\/?p=509"},"modified":"2022-01-23T23:25:58","modified_gmt":"2022-01-23T22:25:58","slug":"debian-update","status":"publish","type":"post","link":"https:\/\/robert.vanyi.org\/en\/archives\/509","title":{"rendered":"Debian update"},"content":{"rendered":"<p>Finally I found some time to update the vanyi.org server. The first step: move from Debian Stretch, before the support expires in June 2022 to Buster. The update was quite uneventful:<br \/>\n<code># apt-get update<br \/>\n# apt-get dist-upgrade<\/code><br \/>\nI&#8217;m still checking, but it looks like only 3 things needed manual update in configuration:<\/p>\n<ul>\n<li>dovecot (IMAP server)<\/li>\n<li>apache<\/li>\n<li>ejabberd<\/li>\n<\/ul>\n<p>Dovecot replaced ssl_parameters with ssl_dh. To fix the configuration I just followed <a href=\"https:\/\/www.mediamill.de\/blog\/2020\/01\/12\/nach-einen-upgrade-von-debian-9-auf-debisn-10-buster-funktioniert-die-anmeldung-an-dem-dovecot-imap-server-nicht-mehr-fehler-imap-login-error-failed-to-initialize-ssl-server-context-cant-load\/\">this<\/a> page. Actually quite simple. First create a dh.pem (can take several minutes, which was at least half an hour in my case);<br \/>\n<code># openssl dhparam -out \/etc\/dovecot\/dh.pem 4096<\/code><br \/>\nThen you need to update \/etc\/dovecot\/dovecot.conf:<br \/>\n<code>ssl_dh=&lt;\/etc\/dovecot\/dh.pem<\/code><br \/>\nAfter a restart dovecot works again.<\/p>\n<p>For apache it is even easier, as it is documented on <a href=\"https:\/\/debianforum.de\/forum\/viewtopic.php?t=174027\">this<\/a> page. Just enable the socache_dbm module:<br \/>\n<code># a2enmod socache_dbm<\/code><\/p>\n<p>For ejabberd I have not had the time yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally I found some time to update the vanyi.org server. The first step: move from Debian Stretch, before the support expires in June 2022 to Buster. The update was quite uneventful: # apt-get update # apt-get dist-upgrade I&#8217;m still checking, but it looks like only 3 things needed manual update in configuration: dovecot (IMAP server) &hellip; <a href=\"https:\/\/robert.vanyi.org\/en\/archives\/509\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Debian update<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-509","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/posts\/509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":0,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/posts\/509\/revisions"}],"wp:attachment":[{"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/media?parent=509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/categories?post=509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robert.vanyi.org\/en\/wp-json\/wp\/v2\/tags?post=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}