{"id":2562,"date":"2026-02-25T12:54:27","date_gmt":"2026-02-25T11:54:27","guid":{"rendered":"https:\/\/hoover.gplrank.de\/?p=2562"},"modified":"2026-02-25T14:44:49","modified_gmt":"2026-02-25T13:44:49","slug":"rebuilding-the-snapapi26-module-on-ubuntu-24-04-lts","status":"publish","type":"post","link":"https:\/\/hoover.gplrank.de\/?p=2562","title":{"rendered":"Rebuilding the SnapAPI module on Ubuntu 24.04 LTS"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"246\" height=\"74\" src=\"https:\/\/hoover.gplrank.de\/wp-content\/uploads\/2026\/02\/image-2.png\" alt=\"\" class=\"wp-image-2564\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Sometimes following a kernel update \/ reboot, the acronis based backup can fail with an error message like this: <\/p>\n\n\n\n<p>&#8220;snapapi kernel module not installed&#8221; <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>or similar. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>In this case, we have to re-compile the kernel module manually (thankfully, sources are provided by acronis). Here&#8217;s how: <\/p>\n\n\n\n<p>o make sure all the necessary packages are installed: <\/p>\n\n\n\n<p><code>sudo apt-get update<br>sudo apt-get install --install-recommends linux-headers-$(uname -r) make perl gcc-13<\/code><\/p>\n\n\n\n<p>Use another gcc-version if recommended by the supplier. <\/p>\n\n\n\n<p>Now build the kernel modules for the running kernel version (6.8.0-101 in my case, to determine your running kernel version, use &#8220;<kbd>uname -a\"<\/kbd>, &#8220;<kbd>uname -m<\/kbd>&#8221; or similar):  <\/p>\n\n\n\n<p><code>dkms build -m snapapi26 \\<br>-v 0.8.58 \\<br>--config \/boot\/config-6.8.0-101-generic \\<br>--arch x86_64 --kernelsourcedir \/usr\/src\/linux-headers-6.8.0-101-generic\/<\/code><\/p>\n\n\n\n<p>Once the build completes successfully, install the kernel modules: <\/p>\n\n\n\n<p><code>dkms install -m snapapi26 -v 0.8.58 --config \/boot\/config-6.8.0-101-generic --arch x86_64 --kernelsourcedir \/usr\/src\/linux-headers-6.8.0-101-generic\/<\/code><\/p>\n\n\n\n<p>The acronis client services probably won&#8217;t pick up on the newly available \/ loaded module automatically, so it could be prudent to restart the services manually: <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><code>systemctl restart acronis_mms acronis_schedule<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Now re-try the failed backup which should hopefully complete without any errors (or at least not the error mentioned above :-)) <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PSA: Other backup solutions are available <\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"204\" height=\"88\" src=\"https:\/\/hoover.gplrank.de\/wp-content\/uploads\/2026\/02\/image-3.png\" alt=\"\" class=\"wp-image-2570\"\/><\/figure>\n\n\n\n<p>Also make sure to check out &#8220;<a href=\"https:\/\/www.bacula.org\/\">Bacula<\/a>&#8221; which is a great, open source and well-supported backup solution available freely (both as in speech and in beer) for all major platforms. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes following a kernel update \/ reboot, the acronis based backup can fail with an error message like this: &#8220;snapapi kernel module not installed&#8221; or similar. In this case, we have to re-compile the kernel module manually (thankfully, sources are provided by acronis). Here&#8217;s how: o make sure all the necessary packages are installed: sudo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[25,26],"class_list":["post-2562","post","type-post","status-publish","format-standard","hentry","category-it","tag-it","tag-ubuntu-linux"],"_links":{"self":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/2562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2562"}],"version-history":[{"count":6,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/2562\/revisions"}],"predecessor-version":[{"id":2573,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/2562\/revisions\/2573"}],"wp:attachment":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}