{"id":2928,"date":"2020-05-03T12:32:02","date_gmt":"2020-05-03T19:32:02","guid":{"rendered":"https:\/\/www.wellgolly.com\/?p=2928"},"modified":"2020-05-03T12:32:02","modified_gmt":"2020-05-03T19:32:02","slug":"updating-wordpress-from-the-dashboard","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=2928","title":{"rendered":"Updating WordPress from the dashboard."},"content":{"rendered":"<p>I have a bunch of old WordPress installs that I manage. I have been updating them from the command line and updating plug-ins by dragging them from my desktop to the plugins folder using Cyberduck. There is an easier way but it requires a few tweaks to your install.<\/p>\n<p>First you need to change the ownership of each file to www-data. I also change the group to the users group.<\/p>\n<p><pre><code class=\"preserve-code-formatting\">\nsudo chown -R www-data .\nsudo chgrp -R user .<\/code><\/pre><\/p>\n<p>Then you need to add a line to the wp-config.php file. I added it to the last line of the file.<br \/>\n<pre><code class=\"preserve-code-formatting\">\n\/* Sets up direct method for updating without FTP *\/\ndefine(&#039;FS_METHOD&#039;,&#039;direct&#039;); <\/code><\/pre><\/p>\n<p>Now anyone with a dashboard login can update the site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a bunch of old WordPress installs that I manage. I have been updating them from the command line and updating plug-ins by dragging them from my desktop to the plugins folder using Cyberduck. There is an easier way but it requires a few tweaks to your install. First you need to change the &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=2928\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Updating WordPress from the dashboard.<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2928","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2928"}],"version-history":[{"count":2,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2928\/revisions"}],"predecessor-version":[{"id":2930,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2928\/revisions\/2930"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}