{"id":288,"date":"2017-03-10T12:49:50","date_gmt":"2017-03-10T18:49:50","guid":{"rendered":"https:\/\/sysadminnightmare.com\/?p=288"},"modified":"2017-03-10T12:49:50","modified_gmt":"2017-03-10T18:49:50","slug":"letsencrypt-errors","status":"publish","type":"post","link":"https:\/\/sysadminnightmare.com\/index.php\/2017\/03\/10\/letsencrypt-errors\/","title":{"rendered":"LetsEncrypt &#8211; Errors"},"content":{"rendered":"<p>The other day I went to update my certificates and was receiving an error running the letsencrypt script to update. The error was<\/p>\n<p>Error: couldn&#8217;t get currently installed version for \/root\/.local\/share\/letsencrypt\/bin\/letsencrypt:<br \/>\nAn unexpected error occurred:<br \/>\nVersionConflict: (certbot 0.11.1 (\/root\/.local\/share\/letsencrypt\/lib\/python2.7\/site-packages), <\/p>\n<p>Or something along that lines.<\/p>\n<p>After trying to remember what I changed I realized I did upgrade to the latest version of Ubuntu on this system.<\/p>\n<p>After a little more troubleshooting this is how I ended up fixing it.<\/p>\n<p>1. Change to your letsencrypt directory<br \/>\n2. Change to root &#8211; sudo su<br \/>\n3. remove the letsencrypt share cache (?) .. run rm -rf ~\/.local\/share\/letsencrypt<br \/>\n4. ReRun the letsencrypt scripot &#8211; .\/letsencrypt-auto &#8211;apache and follow the prompts<\/p>\n<p>I image in could run .\/letsencrypt-auto renew and it would have worked also. I will test this theory later.<\/p>\n<p>Hope that helps you .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The other day I went to update my certificates and was receiving an error running the letsencrypt script to update. The error was Error: couldn&#8217;t get currently installed version for \/root\/.local\/share\/letsencrypt\/bin\/letsencrypt: An unexpected error occurred: VersionConflict: (certbot 0.11.1 (\/root\/.local\/share\/letsencrypt\/lib\/python2.7\/site-packages), Or something along that lines. After trying to remember what I&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/sysadminnightmare.com\/index.php\/2017\/03\/10\/letsencrypt-errors\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-web"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2bgeE-4E","_links":{"self":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":1,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":289,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/posts\/288\/revisions\/289"}],"wp:attachment":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}