{"id":478525,"date":"2008-06-25T19:35:54","date_gmt":"2008-06-25T23:35:54","guid":{"rendered":"https:\/\/segue.middlebury.edu\/view\/html\/node\/478525"},"modified":"2008-06-25T19:35:54","modified_gmt":"2008-06-25T23:35:54","slug":"migration-to-segue-2","status":"publish","type":"page","link":"https:\/\/segueproject.org\/segue-documentation\/segue-v1\/documentation\/for-administrators\/migration-to-segue-2\/","title":{"rendered":"Migration to Segue 2"},"content":{"rendered":"<h3>About<\/h3>\n<div>\n<p>The Segue 1 to Segue 2 migration process is designed to be a staged process that allows individual users move their own sites. Segue 1 and Segue 2 instances can be run side by side and redirect each other&#8217;s urls to the appropriate system as sites are moved.\n<\/p><\/div>\n<h3>Configuration<\/h3>\n<div>\n<h2>Segue 1.9.0 or later<\/h2>\n<ol>\n<li>In the config.inc.php file, define the following constants with your own values:\n<p><font face=\"Courier New\">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; define(&#8216;DATAPORT_SEGUE1_SECRET_KEY&#8217;, &#8216;sadfj234j1&#8217;);<br \/>\n    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; define(&#8216;DATAPORT_SEGUE1_SECRET_VALUE&#8217;, &#8217;28usafnjm023jfa0235rhj2052&#8242;);<br \/>\n    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; define(&#8216;DATAPORT_TMP_DIR&#8217;, &#8216;\/tmp&#8217;);<\/font><\/p>\n<\/li>\n<\/ol>\n<h2>Segue 2.0 &#8211; beta 15 or later<\/h2>\n<ol>\n<li>copy the file <font face=\"Courier New\">config\/dataport_default.conf.php<\/font> to <font face=\"Courier New\">config\/dataport.conf.php<\/font><\/li>\n<li>define the following constants with your own values:\n<p><font face=\"Courier New\">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; define(&#8216;DATAPORT_SEGUE1_URL&#8217;, &#8216;http:\/\/segue.example.edu\/&#8217;);<br \/>\n    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; define(&#8216;DATAPORT_SEGUE1_SECRET_KEY&#8217;, &#8216;sadfj234j1&#8217;);<br \/>\n    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; define(&#8216;DATAPORT_SEGUE1_SECRET_VALUE&#8217;, &#8217;28usafnjm023jfa0235rhj2052&#8242;);<\/font><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<h3>Usage<\/h3>\n<div>\n<h2>Importing a Site<\/h2>\n<ol>\n<li>go to Segue 2 &#8211;&gt; Migrate Sites<\/li>\n<li>choose a source and destination and click the &quot;Import Site&quot; button.<\/li>\n<\/ol>\n<h2>Forwarding<\/h2>\n<table width=\"100%\" cellspacing=\"1\" cellpadding=\"1\" border=\"1\" align=\"center\" style=\"text-align: center\">\n<tbody>\n<tr>\n<th>URL to&#8230;<\/th>\n<th>Site Exists in Segue 1<\/th>\n<th>Site Exists in Segue 2<\/th>\n<th>Action<\/th>\n<\/tr>\n<tr>\n<td>Segue 1<\/td>\n<td>yes<\/td>\n<td>no<\/td>\n<td>Stay in Segue 1<\/td>\n<\/tr>\n<tr>\n<td>Segue 2<\/td>\n<td>yes<\/td>\n<td>no<\/td>\n<td>Forward to Segue 1<\/td>\n<\/tr>\n<tr>\n<td>Segue 1<\/td>\n<td>no<\/td>\n<td>yes<\/td>\n<td>Forward to Segue 2<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Segue 2<\/td>\n<td valign=\"top\">no<\/td>\n<td valign=\"top\">yes<\/td>\n<td valign=\"top\">Stay in Segue 2<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Segue 1<\/td>\n<td valign=\"top\">yes<\/td>\n<td valign=\"top\">yes<\/td>\n<td valign=\"top\">Stay in Segue 1, view Segue 1 version<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Segue 2<\/td>\n<td valign=\"top\">yes<\/td>\n<td valign=\"top\">yes<\/td>\n<td valign=\"top\">Stay in Segue 2, view Segue 2 version<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Segue 1<\/td>\n<td valign=\"top\">no<\/td>\n<td valign=\"top\">no<\/td>\n<td valign=\"top\">Stay in Segue 1, show error<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Segue 2<\/td>\n<td valign=\"top\">no<\/td>\n<td valign=\"top\">no<\/td>\n<td valign=\"top\">Stay in Segue 2, show error.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\nAfter importing a site into Segue 2, both versions of the site will be accessible. Delete the Segue 1 version of the site to redirect all users to the new Segue 2 version.\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>About The Segue 1 to Segue 2 migration process is designed to be a staged process that allows individual users move their own sites. Segue 1 and Segue 2 instances can be run side by side and redirect each other&#8217;s&hellip; <a href=\"https:\/\/segueproject.org\/segue-documentation\/segue-v1\/documentation\/for-administrators\/migration-to-segue-2\/\" class=\"continue-reading\">More &rarr;<\/a><\/p>\n","protected":false},"author":29,"featured_media":0,"parent":480637,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-478525","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages\/478525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/comments?post=478525"}],"version-history":[{"count":0,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages\/478525\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/pages\/480637"}],"wp:attachment":[{"href":"https:\/\/segueproject.org\/segue-documentation\/wp-json\/wp\/v2\/media?parent=478525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}