{"id":601,"date":"2007-09-25T10:21:28","date_gmt":"2007-09-25T14:21:28","guid":{"rendered":"http:\/\/www.wehuberconsultingllc.com\/wordpress\/?p=601"},"modified":"2008-03-06T12:08:49","modified_gmt":"2008-03-06T16:08:49","slug":"variations-on-updating-wordpress","status":"publish","type":"post","link":"https:\/\/wehuberconsultingllc.com\/wordpress\/2007\/09\/25\/variations-on-updating-wordpress\/","title":{"rendered":"Variations on Updating WordPress"},"content":{"rendered":"<p>The folks have updated <a href=\"http:\/\/wordpress.org\/development\/2007\/09\/wordpress-23\/\">WordPress<\/a> again and I have been evaluating different methods of upgrading. The standard method works but I have been wanting to streamline the process for remote hosts. <\/p>\n<p>For my locally hosted blog I used the <a href=\"http:\/\/codex.wordpress.org\/Installing\/Updating_WordPress_with_Subversion\">Updating WordPress with Subversion<\/a> method. This is pretty slick! I had previously checked out a copy of WordPress using Subversion and integrated the wp-content and a couple other files into the working copy. All I had to do this morning was to crank up TortoiseSVN on the checked out directory, change its tag to 2.3, and let Subversion do the rest. When I logged in as Admin, it updated the database. I did get some database errors about duplicate entries into wp_terms and wp_term_taxonomy but I do not think these errors are critical since this is the blog I use to test changes with. Its pretty funky!<\/p>\n<p>Yesterday I got carried away again and did a little research on using Subversion on remote hosts. I found that some host providers provide it but most do not it. My host provider, bluehost.com, does not provide Subversion support directly but I found a <a href=\"http:\/\/forum.bluehost.com\/archive\/index.php\/t-134.html\">post<\/a> on a forum that described a method I could use to install it.&nbsp; I kind of followed their instructions. It is working as a client and here are my instructions.<\/p>\n<ol>\n<li>Log in using SSH. I used PuTTy.  <\/li>\n<li>Create a bin directory.  <\/li>\n<li>Edit the .bashrc file to add the path statement to the bin directory.  <\/li>\n<li>Create a source directory and then change to this directory.  <\/li>\n<li>Use wget to download the tar version of both the Subversion package and the dependencies package.  <\/li>\n<li>Untar both packages.  <\/li>\n<li>Run configure, make, and then make install. You should have several executables in the bin directory.&nbsp; <\/li>\n<li>Make sure that subversion works by typing in &#8220;svn &#8211;version&#8221;.<\/li>\n<\/ol>\n<p>Here is the command line version: <\/p>\n<p><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmkdir ~\/bin\r\n# Use your favorite editor to edit the .bashrc file and add the path statement to the bin directory\r\nmkdir ~\/src\r\n# get the subversion and dependencies tarballs\r\ncd ~\/src\r\nwget http:\/\/subversion.tigris.org\/downloads\/subversion-1.4.5.tar.gz\r\nwget http:\/\/subversion.tigris.org\/downloads\/subversion-deps-1.4.5.tar.gz\r\ntar -xzf subversion-1.4.5.tar.gz \r\ntar -xzf subversion-deps-1.4.5.tar.gz \r\n\r\n# Build it\r\ncd subversion-1.4.3\r\n.\/configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl\r\nmake\r\nmake install\r\n\r\n# check it works!  \r\nsvn --version<\/pre>\n<\/p>\n<p>I am now able to check out a copy of WordPress and update it on my bluehost.com website. I am not sure this is much better than the <a href=\"http:\/\/www.wehuberconsultingllc.com\/wordpress\/?p=600\">WPAU<\/a> plugin I used recently. I will probably continue to play with both methods. I am still working at setting up a repository on bluehost. I do not mind using the Subversion client to update the WordPress files but I would like my bluehost account to be a server for the wp-content files since I would like version control on my theme files. It would be nice if the folks at bluehost decided to directly support Subversion, too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The folks have updated WordPress again and I have been evaluating different methods of upgrading. The standard method works but I have been wanting to streamline the process for remote hosts. For my locally hosted blog I used the Updating WordPress with Subversion method. This is pretty slick! I had previously checked out a copy &hellip; <a href=\"https:\/\/wehuberconsultingllc.com\/wordpress\/2007\/09\/25\/variations-on-updating-wordpress\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Variations on Updating WordPress&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,3],"tags":[33,123],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-linux","category-wordpress","tag-subversion","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4iN3d-9H","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/comments?post=601"}],"version-history":[{"count":0,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts\/601\/revisions"}],"wp:attachment":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/media?parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/categories?post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/tags?post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}