Upgrading from old revision (57) to latest release
Forum » WikiPBX / Technical Support » Upgrading from old revision (57) to latest release
Started by: tleydentleyden
On: 1262592219|%e %b %Y, %H:%M %Z|agohover
Number of posts: 1
rss icon RSS: New posts
Upgrading from old revision (57) to latest release
tleydentleyden 1262592219|%e %b %Y, %H:%M %Z|agohover

From a user via email..

I've recently decided to update my revision 57 installation and you
could imagine my surprise to see the project at rev 235.

There are some significant postgresql schema changes. So far the
largest fork in the road is a missing sipprofile table. I tried running
a python manage.py syncdb but for some reason it wouldn't create the
tables and new schema for me, not sure why. No errors or anything, just
didn't show the creating tables output and db is still empty. I also
can't find any schema dumps in the source.

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).

There was no schema changes from 57->199, but r199 has the XML export utility added, so if you svn up to r199 you can then export to XML. Then

  • backup your db via a postgres db dump
  • 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)
  • drop db and create a fresh one
  • run syncdb to create tables
  • then import your data from the xml.

Well, here's the official instructions which spell it out a little more:

http://wikipbx.subwiki.com/0-5-to-0-8-migration-guide

Reply  |  Options
Unfold Upgrading from old revision (57) to latest release by tleydentleyden, 1262592219|%e %b %Y, %H:%M %Z|agohover
New Post
page_revision: 0, last_edited: 1226259295|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License