{"id":430,"date":"2013-05-18T20:19:52","date_gmt":"2013-05-18T18:19:52","guid":{"rendered":"http:\/\/bergs.biz\/blog\/?p=430"},"modified":"2013-05-18T22:43:06","modified_gmt":"2013-05-18T20:43:06","slug":"debian-6-0-to-7-0-upgrade-issues","status":"publish","type":"post","link":"https:\/\/bergs.biz\/blog\/2013\/05\/18\/debian-6-0-to-7-0-upgrade-issues\/","title":{"rendered":"Debian 6.0 to 7.0 upgrade issues&#8230;"},"content":{"rendered":"<p>I upgraded from Debian 6.0 (Squeeze) to Debian 7.0 (Wheezy) today. In general the upgrade was relatively painless, but as always some things went worse than they could&#8230; \ud83d\ude41<\/p>\n<p>My local Subversion repository is using a Berkeley DB, and the underlying BDB version went up from 4.8 to 5.1. In consequence I got an error when I wanted to check in a changed config file:<\/p>\n<pre>svn: DB_VERSION_MISMATCH: Database environment version mismatch\r\nsvn: bdb: Program version 5.1 doesn't match environment version 4.8<\/pre>\n<p>I remember that this has already been an issue with the last major Debian upgrade&#8230; Did <em>I<\/em> miss something in the release notes or package doc, or did <em>the Debian folks<\/em> miss this one?!<\/p>\n<p>Anyway, here&#8217;s how to repair the above (based on instructions found <a href=\"http:\/\/www.hermann-uwe.de\/blog\/migrating-bdb-svn-repositories-from-one-version-to-another-and-to-fsfs\" target=\"_blank\">here<\/a>). Install packages <code>db4.8-util<\/code> and <code>db5.1-util<\/code> and execute the following commands:<\/p>\n<pre># cd \/path\/to\/repo\r\n# db4.8_checkpoint -1\r\n# db4.8_recover\r\n# db4.8_archive\r\nlog.0000000024\r\n# svnlook youngest ..\r\n746\r\n# db5.1_archive -d<\/pre>\n<p>Afterwards you can remove the two packages again.<\/p>\n<p>Next thing I noticed<!--more--> was that my logging somehow was not working any longer as it used to do&#8230; I log most of the messages into a common file called paranoid.log, and use logcheck to scan this for noteworthy events&#8230; After the upgrade to Wheezy logging to paranoid.log stopped&#8230;<\/p>\n<p>Investigation turned out that in Wheezy <code>rsyslog<\/code> is used as the standard logging daemon, and consequently the config file changed from <code>\/etc\/syslog.conf<\/code> to <code>\/etc\/rsyslog.conf<\/code>. During the upgrade I was <em>not<\/em> notified about the change (and again, it was <em>not<\/em> in the release notes!), nor were my customizations migrated automatically. No big deal, but it would have been &#8220;nice&#8221; if people had told me&#8230;<\/p>\n<p>Another thing was that <code>collectd<\/code> was giving me <em>loads<\/em> of error messages in syslog. It turned out that I was suffering from <a href=\"http:\/\/emacstragic.net\/collectd-causing-rrd-illegal-attempt-to-update-using-time-errors\/\" target=\"_blank\">this problem<\/a>. It was as easily fixed as described in the referenced article&#8230;<\/p>\n<p>Now to something very pleasant&#8230;<\/p>\n<p>I have my root filesystem on a RAID1 device, and before the upgrade I was still using LILO. After I upgraded my server to the standard kernel in Wheezy, my box did not came up again after a reboot (well, <em>that<\/em> was <em>not<\/em> pleasant!).<\/p>\n<p>So I called my hoster, Hetzner, today on a Saturday(!), and they were as responsive as they are always when I needed them (thankfully enough only once in a year or two, mainly during Debian upgrades ;-)). They even temporarily gave me a remote console, <a href=\"http:\/\/wiki.hetzner.de\/index.php\/LARA\/en\" target=\"_blank\">Lara<\/a>, for free, so that I had direct console access via my web browser to fix things on the lowest level. I migrated to GRUB, and that fixed my booting problems. Thanks, guys, you&#8217;re the greatest &#8212; this is <em>exactly<\/em> why I&#8217;m your loyal customer since almost 10 years now&#8230;<\/p>\n<p>Considering all issues I have found so far this seems to be one of the most painless major Debian updates I have had so far &#8212; and I started using Debian with 2.0 IIRC, so I&#8217;ve seen <em>quite<\/em> some so far&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Issues encountered in Debian 6.0 to 7.0 upgrade<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[281,88,90,35,87,89],"class_list":["post-430","post","type-post","status-publish","format-standard","hentry","category-debian","tag-debian","tag-squeeze","tag-subversion","tag-svn","tag-upgrade","tag-wheezy"],"_links":{"self":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/comments?post=430"}],"version-history":[{"count":10,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/430\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/430\/revisions\/432"}],"wp:attachment":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/media?parent=430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/categories?post=430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/tags?post=430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}