{"id":408,"date":"2010-09-16T14:39:46","date_gmt":"2010-09-16T21:39:46","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=408"},"modified":"2010-09-16T14:39:46","modified_gmt":"2010-09-16T21:39:46","slug":"upgraded-yourls-from-1-2-to-1-4-3","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=408","title":{"rendered":"Upgraded Yourls from 1.2 to 1.4.3."},"content":{"rendered":"<p>I finally upgraded Yourls in an attempt to get back to the Twitter plugin.  Simple to upgrade.  <\/p>\n<p>Backup yourls directory location.<br \/>\nBackup yourls MySQL database.<br \/>\nRemove everything from your yourls location.<br \/>\nUnzip the new yourls software.<br \/>\nCopy the config_sample.php to config.php.  The configuration files are location in the includes directory.<br \/>\nModify the config.php with your site specific settings.<br \/>\nI had to modify the following definitions:<br \/>\nYOURLS_DB_USE<br \/>\nYOURLS_DB_PASS<br \/>\nYOURLS_DB_NAME<br \/>\nYOURLS_SITE<br \/>\n$yourls_user_passwords <\/p>\n<p>And, because I was upgrading from 1.2, I had to add the following definitions:<br \/>\ndefine(&#8216;YOURLS_DB_TABLE_URL&#8217;, &#8216;url&#8217;);<br \/>\ndefine(&#8216;YOURLS_DB_TABLE_NEXTDEC&#8217;, &#8216;next_id&#8217;);<\/p>\n<p>Go to your yourls site:<br \/>\nhttp:\/\/yourls-url\/admin<br \/>\nLogin and upgrade.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally upgraded Yourls in an attempt to get back to the Twitter plugin. Simple to upgrade. Backup yourls directory location. Backup yourls MySQL database. Remove everything from your yourls location. Unzip the new yourls software. Copy the config_sample.php to config.php. The configuration files are location in the includes directory. Modify the config.php with your [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[123,103],"class_list":["post-408","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-upgrade","tag-yourls"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=408"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":411,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/408\/revisions\/411"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}