{"id":348,"date":"2020-10-03T11:25:15","date_gmt":"2020-10-03T15:25:15","guid":{"rendered":"https:\/\/chasberndt.com\/?p=348"},"modified":"2020-10-03T19:31:06","modified_gmt":"2020-10-03T23:31:06","slug":"wordpress-on-digitalocean-updates","status":"publish","type":"post","link":"https:\/\/chasberndt.com\/?p=348","title":{"rendered":"WordPress on DigitalOcean Updates"},"content":{"rendered":"\n<p>This project hasn&#8217;t been touched in a few months so last night I embarked to give it a spin. It failed. Miserably. So I went bug-hunting and got it working again.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"433\" src=\"https:\/\/chasberndt.com\/wp-content\/uploads\/2020\/10\/4h78oi-1024x433.jpg\" alt=\"\" class=\"wp-image-349\" srcset=\"https:\/\/chasberndt.com\/wp-content\/uploads\/2020\/10\/4h78oi-1024x433.jpg 1024w, https:\/\/chasberndt.com\/wp-content\/uploads\/2020\/10\/4h78oi-300x127.jpg 300w, https:\/\/chasberndt.com\/wp-content\/uploads\/2020\/10\/4h78oi-768x325.jpg 768w, https:\/\/chasberndt.com\/wp-content\/uploads\/2020\/10\/4h78oi.jpg 1182w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Resolved Issues<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>centos-base<ul><li>Removed packages no longer available that were causing role to fail.<\/li><\/ul><ul><li>Added package Glances to replace htop.<\/li><\/ul><ul><li>Fixed an issue with fail2ban configuration tasks.<\/li><li>Enhanced fail2ban configuration.<\/li><\/ul><\/li><li>create-swap<ul><li>Resolved a typo in a task that prevented swap file from being created.<\/li><\/ul><\/li><li>install-apache<ul><li>Enabled gzip compression to reduce page load times.<\/li><\/ul><ul><li>Enabled caching to reduce page load times.<\/li><\/ul><ul><li>Removed hardcoded values in vhost.conf.j2 that would have resulted in a misconfigured HTTP to HTTPS redirect.<\/li><\/ul><\/li><li>install-certbot<ul><li>Fixed issues that would have prevented automatic renewal cron job from being created.<\/li><\/ul><\/li><li>create-droplet<ul><li>Changed default droplet size from 1gb to 2gb.<\/li><\/ul><\/li><li>destroy-droplet<ul><li>removed hardcoded region that would have prevented deleting droplets not deployed in region NYC1.<\/li><\/ul><\/li><li>install-wordpress<ul><li>Fixed an issue where MySQL port was not being added to wp-config.php, preventing WordPress from starting.<\/li><li>Fixed an issue where Apache could not access document root.<\/li><li>Fixed an issue where wp-config.php was getting incorrect database connection details.<\/li><\/ul><\/li><li>database-server<ul><li>Simplified data returned from script used to create database servers to resolve an issue in install-wordpress.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>See commit: <a href=\"https:\/\/github.com\/seaburr\/WordPressOnDigitalOcean\/commit\/f6226a2ac92a71f891dc23a6fc04a3d521fb227a\">https:\/\/github.com\/seaburr\/WordPressOnDigitalOcean\/commit\/f6226a2ac92a71f891dc23a6fc04a3d521fb227a<\/a><\/p>\n\n\n\n<p>Next steps will be focusing on adding an automatic build job to help ensure that this code is always in good, working order.<\/p>\n\n\n\n<p>Have a good weekend and take care of yourselves.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project hasn&#8217;t been touched in a few months so last night I embarked to give it a spin. It failed. Miserably. So I went bug-hunting and got it working again. Resolved Issues centos-base Removed packages no longer available that were causing role to fail. Added package Glances to replace htop. Fixed an issue with <a class=\"read-more\" href=\"https:\/\/chasberndt.com\/?p=348\">&hellip;&nbsp;<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_memberships_contains_paid_content":false,"footnotes":""},"categories":[20,13,12],"tags":[],"class_list":["post-348","post","type-post","status-publish","format-standard","hentry","category-ansible","category-automation","category-process-improvement"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=348"}],"version-history":[{"count":2,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/348\/revisions"}],"predecessor-version":[{"id":351,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/348\/revisions\/351"}],"wp:attachment":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}