<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Upgrading from old revision (57) to latest release</title>
		<link>http://wikipbx.subwiki.com/forum/t-208725/upgrading-from-old-revision-57-to-latest-release</link>
		<description>Posts in the discussion thread &quot;Upgrading from old revision (57) to latest release&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Sun, 05 Sep 2010 03:41:43 +0000</lastBuildDate>
		
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-208725#post-667081</guid>
				<title>Upgrading from old revision (57) to latest release</title>
				<link>http://wikipbx.subwiki.com/forum/t-208725/upgrading-from-old-revision-57-to-latest-release#post-667081</link>
				<description></description>
				<pubDate>Mon, 04 Jan 2010 08:03:39 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>From a user via email..</p> <blockquote> <p>I've recently decided to update my revision 57 installation and you<br /> could imagine my surprise to see the project at rev 235.</p> <p>There are some significant postgresql schema changes. So far the<br /> largest fork in the road is a missing sipprofile table. I tried running<br /> a python manage.py syncdb but for some reason it wouldn't create the<br /> tables and new schema for me, not sure why. No errors or anything, just<br /> didn't show the creating tables output and db is still empty. I also<br /> can't find any schema dumps in the source.</p> </blockquote> <p>There's actually a hand-written migration utility that will migrate your data at the ORM level, this should be a lot less work for you (and is how I migrated my own system).</p> <p>There was no schema changes from 57-&gt;199, but r199 has the XML export utility added, so if you svn up to r199 you can then export to XML. Then</p> <ul> <li>backup your db via a postgres db dump</li> <li>svn up to the latest revision on either 0.8 branch or trunk if you want the bleeding edge (very few differences at this point)</li> <li>drop db and create a fresh one</li> <li>run syncdb to create tables</li> <li>then import your data from the xml.</li> </ul> <p>Well, here's the official instructions which spell it out a little more:</p> <p><a href="http://wikipbx.subwiki.com/0-5-to-0-8-migration-guide">http://wikipbx.subwiki.com/0-5-to-0-8-migration-guide</a></p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>