{"id":85,"date":"2025-10-09T16:49:32","date_gmt":"2025-10-09T16:49:32","guid":{"rendered":"https:\/\/www.ossgarden.org\/?p=85"},"modified":"2025-10-09T17:09:36","modified_gmt":"2025-10-09T17:09:36","slug":"a-fix-6-years-in-the-making","status":"publish","type":"post","link":"https:\/\/www.ossgarden.org\/?p=85","title":{"rendered":"A fix, 6 years in the making"},"content":{"rendered":"My last post, long ago and in a galaxy far, far away, mentioned an issue with WordPress running on IBM i that I had been unable to fix.  The issue was that the automatic update feature never works.  I got an immediate error when attempting to use FTP to update the site.  I focused on a permissions issue, checking to see what permissions had been granted and as far as I could see, there weren&#8217;t any permissions issues.  The WordPress, PHP and Apache logs gave me nothing to go on, so I just manually updated the site, which is a total pain.<br \/><br \/>I am not sure how I found the solution but recently, having a little more free time on my hands (unemployed), I found the solution.  It requires an update to the config.php file.  You add this line:<br \/>define(&#8216;FS_METHOD&#8217;, &#8216;direct&#8217;);<br \/>Before you freak out on the security risks here, in my particular IBM i environment, I am the only user with access to wp-admin so the risks are low (not non-existent).  <br \/><br \/>This did fix the problem and I am investigating other, more secure ways to get the automatic updates to work.  I am always looking for additional security whenever I code or implement something, but this is a start, after a mere 6 years&#8230;.","protected":false},"excerpt":{"rendered":"<p>My last post, long ago and in a galaxy far, far away, mentioned an issue with WordPress running on IBM i that I had been unable to fix. The issue was that the automatic update feature never works. I got &hellip; <a href=\"https:\/\/www.ossgarden.org\/?p=85\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[5,4,8],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-open-source-frameworks","tag-ibmi","tag-ibmi-open-source","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A fix, 6 years in the making - Open Source Software Garden<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ossgarden.org\/?p=85\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A fix, 6 years in the making - Open Source Software Garden\" \/>\n<meta property=\"og:description\" content=\"My last post, long ago and in a galaxy far, far away, mentioned an issue with WordPress running on IBM i that I had been unable to fix. The issue was that the automatic update feature never works. I got &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ossgarden.org\/?p=85\" \/>\n<meta property=\"og:site_name\" content=\"Open Source Software Garden\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-09T16:49:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-09T17:09:36+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ossgarden.org\/?p=85#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ossgarden.org\/?p=85\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.ossgarden.org\/#\/schema\/person\/706c892d0644799b97d6a61def45af4c\"},\"headline\":\"A fix, 6 years in the making\",\"datePublished\":\"2025-10-09T16:49:32+00:00\",\"dateModified\":\"2025-10-09T17:09:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ossgarden.org\/?p=85\"},\"wordCount\":224,\"publisher\":{\"@id\":\"https:\/\/www.ossgarden.org\/#organization\"},\"keywords\":[\"IBMi\",\"IBMi Open Source\",\"WordPress\"],\"articleSection\":[\"Open Source Frameworks\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ossgarden.org\/?p=85\",\"url\":\"https:\/\/www.ossgarden.org\/?p=85\",\"name\":\"A fix, 6 years in the making - Open Source Software Garden\",\"isPartOf\":{\"@id\":\"https:\/\/www.ossgarden.org\/#website\"},\"datePublished\":\"2025-10-09T16:49:32+00:00\",\"dateModified\":\"2025-10-09T17:09:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ossgarden.org\/?p=85#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ossgarden.org\/?p=85\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ossgarden.org\/?p=85#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ossgarden.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A fix, 6 years in the making\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ossgarden.org\/#website\",\"url\":\"https:\/\/www.ossgarden.org\/\",\"name\":\"Open Source Software Garden\",\"description\":\"A little prickly but always growing...\",\"publisher\":{\"@id\":\"https:\/\/www.ossgarden.org\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ossgarden.org\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ossgarden.org\/#organization\",\"name\":\"Value Added Software, Inc\",\"url\":\"https:\/\/www.ossgarden.org\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ossgarden.org\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ossgarden.org\/wp-content\/uploads\/2025\/10\/VasSmallLogo.jpg\",\"contentUrl\":\"https:\/\/www.ossgarden.org\/wp-content\/uploads\/2025\/10\/VasSmallLogo.jpg\",\"width\":94,\"height\":76,\"caption\":\"Value Added Software, Inc\"},\"image\":{\"@id\":\"https:\/\/www.ossgarden.org\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ossgarden.org\/#\/schema\/person\/706c892d0644799b97d6a61def45af4c\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ossgarden.org\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/16b100338a16250b07a209b484e46aef70ae3f9b4b906d7bcc1cda7a76ce88b1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/16b100338a16250b07a209b484e46aef70ae3f9b4b906d7bcc1cda7a76ce88b1?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.ossgarden.org\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A fix, 6 years in the making - Open Source Software Garden","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ossgarden.org\/?p=85","og_locale":"en_US","og_type":"article","og_title":"A fix, 6 years in the making - Open Source Software Garden","og_description":"My last post, long ago and in a galaxy far, far away, mentioned an issue with WordPress running on IBM i that I had been unable to fix. The issue was that the automatic update feature never works. I got &hellip; Continue reading &rarr;","og_url":"https:\/\/www.ossgarden.org\/?p=85","og_site_name":"Open Source Software Garden","article_published_time":"2025-10-09T16:49:32+00:00","article_modified_time":"2025-10-09T17:09:36+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ossgarden.org\/?p=85#article","isPartOf":{"@id":"https:\/\/www.ossgarden.org\/?p=85"},"author":{"name":"admin","@id":"https:\/\/www.ossgarden.org\/#\/schema\/person\/706c892d0644799b97d6a61def45af4c"},"headline":"A fix, 6 years in the making","datePublished":"2025-10-09T16:49:32+00:00","dateModified":"2025-10-09T17:09:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ossgarden.org\/?p=85"},"wordCount":224,"publisher":{"@id":"https:\/\/www.ossgarden.org\/#organization"},"keywords":["IBMi","IBMi Open Source","WordPress"],"articleSection":["Open Source Frameworks"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ossgarden.org\/?p=85","url":"https:\/\/www.ossgarden.org\/?p=85","name":"A fix, 6 years in the making - Open Source Software Garden","isPartOf":{"@id":"https:\/\/www.ossgarden.org\/#website"},"datePublished":"2025-10-09T16:49:32+00:00","dateModified":"2025-10-09T17:09:36+00:00","breadcrumb":{"@id":"https:\/\/www.ossgarden.org\/?p=85#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ossgarden.org\/?p=85"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ossgarden.org\/?p=85#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ossgarden.org\/"},{"@type":"ListItem","position":2,"name":"A fix, 6 years in the making"}]},{"@type":"WebSite","@id":"https:\/\/www.ossgarden.org\/#website","url":"https:\/\/www.ossgarden.org\/","name":"Open Source Software Garden","description":"A little prickly but always growing...","publisher":{"@id":"https:\/\/www.ossgarden.org\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ossgarden.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ossgarden.org\/#organization","name":"Value Added Software, Inc","url":"https:\/\/www.ossgarden.org\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ossgarden.org\/#\/schema\/logo\/image\/","url":"https:\/\/www.ossgarden.org\/wp-content\/uploads\/2025\/10\/VasSmallLogo.jpg","contentUrl":"https:\/\/www.ossgarden.org\/wp-content\/uploads\/2025\/10\/VasSmallLogo.jpg","width":94,"height":76,"caption":"Value Added Software, Inc"},"image":{"@id":"https:\/\/www.ossgarden.org\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.ossgarden.org\/#\/schema\/person\/706c892d0644799b97d6a61def45af4c","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ossgarden.org\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/16b100338a16250b07a209b484e46aef70ae3f9b4b906d7bcc1cda7a76ce88b1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/16b100338a16250b07a209b484e46aef70ae3f9b4b906d7bcc1cda7a76ce88b1?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.ossgarden.org\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85"}],"version-history":[{"count":1,"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions\/86"}],"wp:attachment":[{"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ossgarden.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}