<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>elorg.net &#187; upgrade</title>
	<atom:link href="http://www.elorg.net/tag/upgrade/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elorg.net</link>
	<description>Ramblings and other miscellany.</description>
	<lastBuildDate>Wed, 23 Nov 2011 20:55:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Forum Login Problems</title>
		<link>http://www.elorg.net/2011/06/forum-login-problems/</link>
		<comments>http://www.elorg.net/2011/06/forum-login-problems/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 13:44:41 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[bbpress]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[frustrations]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=657</guid>
		<description><![CDATA[Awesome! The forum isn&#8217;t allowing logins? Sorry about that&#8230; I didn&#8217;t make any changes to the forum, though I have been attempting to integrate WordPress with a new install of Vanilla. I didn&#8217;t think I had made any changes that would impact bbPress, but apparently&#8230; I did? Check back later this weekend. Might need to [...]]]></description>
			<content:encoded><![CDATA[<p>Awesome! The forum isn&#8217;t allowing logins? Sorry about that&#8230;</p>
<p>I didn&#8217;t make any changes to the forum, though I have been attempting to integrate WordPress with a new install of Vanilla. I didn&#8217;t think I had made any changes that would impact bbPress, but apparently&#8230; I did?</p>
<p>Check back later this weekend. Might need to continue moving forward with the Vanilla install and manual data migration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2011/06/forum-login-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun With SharePoint Migrations</title>
		<link>http://www.elorg.net/2010/06/fun-with-sharepoint-migrations/</link>
		<comments>http://www.elorg.net/2010/06/fun-with-sharepoint-migrations/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 00:19:38 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=543</guid>
		<description><![CDATA[In my latest project, we have installed MOSS 2007 in a client&#8217;s environment and are working on upgrading/migrating their old WSS 2003 content over. This is somewhere between a parallel and in-place upgrade. I&#8217;ve learned quite a bit along the way &#8211; mostly through trial and error. Lots of issues. Lots of quirks. Lots of [...]]]></description>
			<content:encoded><![CDATA[<p>In my latest project, we have installed MOSS 2007 in a client&#8217;s environment and are working on upgrading/migrating their old WSS 2003 content over.  This is somewhere between a parallel and in-place upgrade. I&#8217;ve learned quite a bit along the way &#8211; mostly through trial and error. Lots of issues. Lots of quirks. Lots of workarounds.</p>
<p>This is a very long, and involved process &#8211; so far (it&#8217;s still in process) using nothing more than out of the box commands, and SharePoint Designer.<span id="more-543"></span></p>
<p>The original data is in a single WSS site collection. Their end goal is to break things up and better organize their content using multiple site collections. Initially we were hoping to be able to use stsadm&#8217;s export/import to migrate the original sites over individually, and directly into their end destination in MOSS.  After much research and testing, that does not appear to be possible.</p>
<ul>
<li>The &#8220;backup&#8221; and &#8220;restore&#8221; options for stsadm are available in both 2003 and 2007, but they will only work for an entire site collection. This was not an option for us.</li>
<li>The stsadm &#8220;export&#8221; and &#8220;import&#8221; options that will save permissions, versions, and modified meta &#8211; is only available in 2007.</li>
<li>2003 has &#8220;smigrate&#8221;, but 2007 does not.</li>
<li>&#8220;smigrate&#8221; saves in a file format that&#8217;s incompatible with 2007&#8242;s stsadm &#8220;import&#8221; &#8211; so we can&#8217;t combine the two to go directly from one to the other.</li>
<li>SharePoint Designer has backup &#038; restore capabilities, but you can&#8217;t use it as a method of upgrading a site. The SPD backup on 2003 creates the same file type as the &#8220;smigrate&#8221; method, while creating the same file type as the stsadm &#8220;export&#8221; method for a 2007 backup. You can only use SPD&#8217;s backup/restore to migrate within the same type of portal, and of the same version (e.g., WSS 3.0 to WSS 3.0, MOSS 3.0 to MOSS 3.0, WSS 2.0 to WSS 2.0 &#8211; you get the idea). We need to go from WSS 2.0 to MOSS 3.0, so this is definitely out.</li>
</ul>
<p>Migration options then become:</p>
<ol>
<li>Backup &#038; restore the entire portal to the new environment. Then perform the cleanup.</li>
<ul>
<li>This will do an in-place upgrade of the portal&#8217;s content.</li>
<li>We would either need to take one long &#8220;outage&#8221;, or do this in batches and backup/restore the database multiple times to make sure we have the most current data.</li>
</ul>
<li>Or the slower, more tedious manual methods:</li>
<ul>
<li>Save each site as a template, copy over, and recreate site using new template.</li>
<li>Save each List and Library as a template individually, and copy them over&#8230;</li>
<li>Or manually recreate each site, and each library, and copy/paste the content across.</li>
<ul>
<li>Down sides to all are that the templates have file size limitations (but you may be able to get around this by changing settings in Central Admin).</li>
<li>It&#8217;s SLOW.</li>
<li>You lose all of the creation/modified meta.</li>
<li>Web parts will most likely need to be recreated &#8211; at least on each site&#8217;s landing pages unless you can copy the default.aspx file over without too much fuss.</li>
<li>Beware of custom columns using these methods if not saving as templates.</li>
<li>Custom column meta may be lost with file types like PDFs when copying/pasting across.</li>
<li>Also &#8211; you will need to recreate your views if not saving as templates.</li>
</ul>
</ul>
</ol>
<p>The client has already been through a SharePoint upgrade to 2003 &#8211; and lost all of their created/modified meta.  Retaining as much meta as possible was our priority, so we opted to go the first route. We performed a test migration and had hashed out a plan for the real migration. The steps have since evolved quite a bit through a lot of trial &#038; error. Also, as things progressed we found that some of our previous steps had stopped working properly so we had to get creative and alter our migration steps accordingly.</p>
<p><strong>** Don&#8217;t forget to run the <a href="http://technet.microsoft.com/en-us/library/cc262231(office.12).aspx">pre-upgrade scan tool</a> before starting! **</strong></p>
<p>This process becomes significantly faster and easier if you perform a thorough review of your content, make note of the permission structure (where it&#8217;s inherited, where it&#8217;s not), plan out the starting location vs. final destination, remove any DVWPs (data view web parts) from web part pages, etc.</p>
<p>Now, let&#8217;s get started.</p>
<p><strong>First &#8211; Backing Up:</strong><br />
Scheduled an &#8220;outage&#8221; with the users (in quotes because the data would still be available to <em><strong>view</strong></em>). We attempted to set the site collection as read-only via SharePoint&#8217;s commandline tools, but GetSiteLock didn&#8217;t appear to be a valid command for 2003?  We ended up locating the content database in SQL (2000) and setting the database read-only <a href="http://www.sharepointjoel.com/Lists/Posts/Post.aspx?List=0cd1a63d-183c-4fc2-8320-ba5369008acb&#038;ID=329">very similar to these instructions</a>.  When we were satisfied that the old portal was no longer being written to, we used SQL to backup the database, copied it over to the new location, and restored it to a new database in SQL 2008.</p>
<p><strong>Second &#8211; Upgrading:</strong><br />
The upgrade was actually the easiest part (though I&#8217;m sure there&#8217;s an easier, more direct method than the following steps).</p>
<ol>
<li>Login to Central Admin and create a new temporary site collection.</li>
<li>Remove the database that was created for this site collection.</li>
<p><code>stsadm -o deletecontentdb -url http://MyPortal/MyTempSiteCollectionURL/ -databasename SPAutoDBName -databaseserver MySQLServerName</code></p>
<li>Set the old portal&#8217;s database that was restored to the new environment to be used as the temporary site collection&#8217;s database.</li>
<p><code>stsadm -o addcontentdb -url http://MyPortal/MyTempSiteCollectionURL/ -databasename MyOldPortalsDBName -databaseserver MySQLServerName\MyCustomInstance</code></p>
<ul>
<li>This will take quite a while depending on how much content you have. This is where it upgrades your content.</li>
<li>We actually had to &#8220;<a href="http://technet.microsoft.com/en-us/library/cc262449(office.12).aspx">deletecontentdb</a>&#8221; and then &#8220;<a href="http://technet.microsoft.com/en-us/library/cc263422(office.12).aspx">addcontentdb</a>&#8221; a second time during our initial test. Not during the real migration though. If your site collection doesn&#8217;t seem to have content, give that a quick try.</li>
</ul>
</ol>
<p><strong>Third &#8211; Preparations:</strong><br />
We found that we had to perform the following steps to each site to clean things up and &#8220;2007-ify&#8221; everything.</p>
<ul>
<li>In Site Actions > Site Settings</li>
<li>Reset all pages to the site definition.</li>
<li>Reset the theme to the default.</li>
<ul>
<li>In some cases this is already done.</li>
<li>In some cases it appears to be done, but isn&#8217;t.</li>
<li>In most cases, it&#8217;s very obvious that it needs to be done.</li>
</ul>
<li>Inherit the global navigation.</li>
<li>Grant full control to any accounts that will be used to perform any exports/imports, etc.! This will save headaches.</li>
<li>It&#8217;s a good idea to look through the web parts on your pages for web parts with errors and delete them. Don&#8217;t forget to check for this in your &#8220;closed&#8221; web parts or you may run into warnings/failures in your export/import.</li>
</ul>
<p>In our case, to help down the road we had to also:</p>
<ul>
<li>Add the accounts that we were using to the Site Collection Admins.</li>
<li>The upgraded portal was not Publishing.  We enabled the Enterprise features to have access to the &#8220;Manage Content &#038; Structure&#8221; functionality.</li>
<ul>
<li>Site Actions > Site Settings > All Site Settings</li>
<li>Site Collection Features > end enable the Office SharePoint Server Enterprise Site Collection features.</li>
</ul>
</ul>
<p><strong>Fourth &#8211; The Migration!</strong><br />
Initially we exported and imported via <code>stsadm</code>, but it was giving us errors on the first few sites that we tried.  I don&#8217;t recall the exact details at this point, but we eventually tried SharePoint Designer which seemed to do the trick.</p>
<ul>
<li>Open SharePoint Designer.</li>
<ul>
<li>If the account that you&#8217;re logged into your computer with does not have appropriate access, right-click on the SPD shortcut and &#8220;run as&#8230;&#8221; an account that does.</li>
<li>File > Open Site > type in the URL of the site to be migrated > click &#8220;Open&#8221;</li>
<li>In the SPD menus open Site > Administration > Backup&#8230;</li>
<li>File > New&#8230; > Web site</li>
<li>Specify &#8220;Empty Web Site&#8221; and enter the full URL to the destination site on the appropriate site collection.</li>
<li>Site > Administration > Restore&#8230;</li>
</ul>
</ul>
<p>Voila! If you don&#8217;t run into issues with file sizes, or a number of other misc. errors, you have just upgraded &#038; migrated your first site.</p>
<p><strong>Fifth &#8211; Oops, Missing Documents:</strong><br />
The above steps seemed to work just fine for a while. Then when reviewing our migrated sites in more detail, we started noticing that Document &#038; Picture Libraries were randomly missing files.  Lists appeared fine.</p>
<p>None of the libraries in the original portal had versioning or content approval enabled or required. However it seems as though during the upgrade process SharePoint believed some of the files to be drafts? This is the only explanation that I have been able to think of that makes sense.</p>
<p>The solution was to use <code>stsadm</code> to export the sites. SPD is essentially using <code>stsadm</code> already, but with some default settings. In order to set other options (like setting the version levels to export) you will need to use <code>stsadm</code>:</p>
<p><code>stsadm -o export -url http://MyPortal/MyTempSiteCollectionURL/MySite/ -filename MyFileName -versions 4 -includeusersecurity</code></p>
<p>I won&#8217;t spell out the details of importing via <code>stsadm</code> because&#8230;</p>
<p><strong>Sixth &#8211; Oops, Now What Happened to the Meta?</strong><br />
That worked great. For a few sites. Then for some reason (still to be determined?) all of the created/modified meta was reset to the import user account and timestamp.</p>
<p>After further testing, the best combination appeared to be:</p>
<ol>
<li>Export via commandline as above.</li>
<li>Using SPD, create an empty site at the destination.</li>
<li>Restore using SPD.</li>
</ol>
<p><strong>Seventh &#8211; Where&#8217;s the Love for Workspaces?</strong><br />
Workspace migration was a different story. They seem to be tied to their parent site and could not be exported &#038; restored like the other sites.  Given that I could not find an option in <code>stsadm</code> to &#8220;include children&#8221; &#8211; I assumed that this was not available. When in fact, <code>stsadm</code> appears to include child sites and workspaces automatically.</p>
<p>Before we figured this out, we started  using SPD and checked the option to include subsites.  This lost us a few of our files, but in those cases we weren&#8217;t overly concerned about the meta and manually copied those over.</p>
<p>Another option (especially if you&#8217;re relocating the workspace within your site structure) is to:</p>
<ul>
<li>Use <code>stsadm</code> to export the parent site</li>
<li>Use SPD to create an empty site.</li>
<li>Use SPD to restore the parent &#038; subsites.</li>
<li>Use &#8220;Content &#038; Structure&#8221; to move the workspace from its imported location to its final destination.</li>
</ul>
<p><strong>Another few notes:</strong><br />
Some sites would duplicate their list items (and in one case, triplicate) on import. When possible, using SPD to perform the import seemed to do the trick. If you prefer the <code>stsadm</code> method, try using the <a href="http://technet.microsoft.com/en-us/library/cc261866(office.12).aspx">updateversions</a> option.</p>
<p>There are a few other &#8220;quirks&#8221; that we&#8217;ve run into while migrating content, but I&#8217;ll save that for the next post.</p>
<p><strong>Update:</strong><br />
For some reason, reverting back to the stsadm import method worked just fine after returning from the weekend. Not sure why this stopped working in the first place &#8211; but very happy that it&#8217;s behaving now.</p>
<p>Lesson? SharePoint Designer and stsadm are finicky and fragile. When one starts acting up, try using the other to see if it does the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2010/06/fun-with-sharepoint-migrations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick-ish Manual WordPress Upgrade</title>
		<link>http://www.elorg.net/2009/06/quick-ish-manual-wordpress-upgrade/</link>
		<comments>http://www.elorg.net/2009/06/quick-ish-manual-wordpress-upgrade/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 20:54:08 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=401</guid>
		<description><![CDATA[Here&#8217;s a tip for those new to upgrading WordPress if you don&#8217;t like, or trust, the automatic upgrade. It&#8217;s relatively quick, easy, and leaves you with minimal downtime while still retaining the ability to revert back. Note that I keep WordPress in its own folder to keep the files/folder structure on my webserver clean&#8230; It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tip for those new to upgrading WordPress if you don&#8217;t like, or trust, the automatic upgrade. It&#8217;s <em>relatively</em> quick, easy, and leaves you with minimal downtime while still retaining the ability to revert back.</p>
<p>Note that <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">I keep WordPress in its own folder</a> to keep the files/folder structure on my webserver clean&#8230; It&#8217;s key in this upgrade method.<br />
<span id="more-401"></span></p>
<ol>
<li>Always make a backup of your WordPress database before proceeding!</li>
<li>Manually download the WordPress zip file.</li>
<li>Open your FTP program of choice and upload the zip file to the same folder level that your WordPress folder resides.</li>
<li>Unzip the WordPress zip file <em>on your webserver</em>.
<ul>
<li>This can cause weird problems if you unzip it on your local computer before uploading.</li>
<li>It will unzip it to a &#8220;wordpress&#8221; folder, so make sure that this is not the folder name that you choose to keep your WordPress files in.</li>
</ul>
</li>
<li>Compare the wp-config-sample.php of the new version, to your existing wp-config.php.
<ul>
<li>If there isn&#8217;t any new content (like new salt/keys, etc.), then copy your wp-config.php to the new folder &#8220;wordpress/&#8221;.</li>
<li>If there is new content, save the new wp-config-sample.php as your new wp-config.php and copy over your settings from your original wp-config.php. Then make any other changes needed for the new content.</li>
</ul>
</li>
<li>Copy your theme folder from the old install to the new install location.</li>
<li>Copy your plugins files/folders from the old install to the new install location.
<ul>
<li>The new install already has Akismet and Hello Dolly &#8211; so you can leave these.</li>
<li>It&#8217;s a good idea to verify that your plugins are all compatible with the new version before doing this.</li>
</ul>
</li>
<li>Copy over any of the other folders &#038; files from your old wp-content (like &#8220;uploads&#8221;, &#8220;cache&#8221;, &#8220;backup-db&#8221;, etc.)
<ul>
<li>Up through this point, you&#8217;re still using the old version and have had zero downtime. You can choose to wait and finish later without having any impact.</li>
</ul>
</li>
<li>Rename your old WordPress folder to something else, like &#8220;wp_old&#8221;.</li>
<li>Rename the new WordPress folder to the name of your old WordPress folder.</li>
<li>Open your browser and go to YourDomain.com/Your-WordPress-Folder/wp-admin.</li>
<li>You will be prompted to update your database if necessary.</li>
<li>Verify that everything functions.</li>
<li>Remove the &#8220;wp_old&#8221; folder.</li>
</ol>
<p>Done! It&#8217;s not as fast as the automatic upgrade, but it&#8217;s great for the paranoid, or those who prefer to just perform the upgrade themselves.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/06/quick-ish-manual-wordpress-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forum Restored</title>
		<link>http://www.elorg.net/2009/03/forum-restored/</link>
		<comments>http://www.elorg.net/2009/03/forum-restored/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 20:41:07 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[bbpress]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=243</guid>
		<description><![CDATA[All fixed! Well, for now. If you had an account on the forum, you can login and start posting again. I still need to finish up a few things like add plugins and themes, but otherwise, it&#8217;s functional again. Enjoy!]]></description>
			<content:encoded><![CDATA[<p>All fixed! Well, for now. If you had an account on <a href="http://www.elorg.net/forum/">the forum</a>, you can login and start posting again.  I still need to finish up a few things like add plugins and themes, but otherwise, it&#8217;s functional again.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/03/forum-restored/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade, Break, then Fix</title>
		<link>http://www.elorg.net/2009/03/upgrade-break-then-fix/</link>
		<comments>http://www.elorg.net/2009/03/upgrade-break-then-fix/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 06:46:56 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=239</guid>
		<description><![CDATA[Ok. I had originally planned on spending the day working on my new site theme. Instead I ended up taking care of a handful of items on my to-do list, and updating WordPress. Things went&#8230; strangely at first. But then I made a few tweaks and it all seemed to work out in the end! [...]]]></description>
			<content:encoded><![CDATA[<p>Ok. I had originally planned on spending the day working on my new site theme. Instead I ended up taking care of a handful of items on my to-do list, and updating WordPress.</p>
<p>Things went&#8230; strangely at first. But then I made a few tweaks and it all seemed to work out in the end! Perhaps tomorrow I&#8217;ll be able to make acceptable progress on the theme. And maybe bring the forum back online too?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/03/upgrade-break-then-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

