Already registered? Login
Home > TechZone > Forums > Metadot Rails 
Message details Author
Subject: Re: Migration from Metadot 6.4.5.x to 7.x
Posted On: Oct 22, 2012, 4:13:40 PM
User photograph S (S Dodge)
Message
When I run the rake rake_migrate_from_version_6 the program ends with the message "killed" and doesn't seem to transfer any files.

Any ideas on why this happens?

> I have found this within metadot7.tar,
>
> == Overview ==
>
> Migrating from Metadot 6 to Metadot 7 can be tricky sometime,
> since the two versions are completely independent.
> In order to migrate a whole site, we have to migrate its
> content (users, groups and gizmos), its look (site theme), and
> the permissions.
> While the migration of the site content is relatively simply
> to be automated, the site look and permissions are more
> complicated (since the big difference in the way they work in
> the two versions).
> Thats why the best approach for now is to automate the site
> content migration and leave site look and permissions for
> manual migration.
>
> == Migrate site content ==
>
> There is a rake task which will do the job of the content
> (users, groups & gizmos) migration. In order to execute it
> follow these simple steps:
>
> 1. Go to you Metadot 7 installation folder (i.e. cd
> /var/www/sites/metadot.net/metadot-rails)
> 2. Create a folder "sitedata" and copy the content of your
> Metadot 6 "sitedata" folder.
> 3. Make sure Metadot 6 database is available.
> 4. Execute the following rake task:
>
> rake migrate_from_version_6 DB=metadot6_db_name
> SITE_ADDRESS=default TIME_OFFSET=-6
>
> where:
>
> DB - the name of the Metadot 6 database from where we will
> import the site content
> SITE_ADDRESS - site address name of the metadot 7 account to
> which the content will be migrated
> TIME_OFFSET - the time offset of your server (this is needed
> for the calendar event times adjustments)
>
> Note that the migration task will delete all existing users
> (except the site owner), groups and gizmos (except site theme
> related) from the Metadot 7 account, before proceed with the
> content migrati
> on.
>
>
> Thanks!
> > Hi,
> >
> > I see that this was implemented in the September/08 release
> of
> > 7.x, however I do not see any documentation on the
> procedure,
> > can someone point me in the right direction?
> >
> > I'm going from 6.5.4 to the latest version of 7.x.
> >
> > Thanks!
> >
> > > Hi Jeff,
> > >
> > > Yes, we are planning some auto-migration tool in near
> future
> >
> > > (the work will start in the beginning of the next month).
> > But
> > > it will be limited since as you mentioned - there are
> gizmos
> >
> > > in Metadot 6 that are not implemented in Metadot 7. The
> idea
> >
> > > is to migrate automatically what is possible from the
> > content
> > > (using the gizmos in Metadot 7) and also migrate the users
> &
> >
> > > groups (which again will not be perfect since there are
> some
> >
> > > differences - for example there are not sub-groups in
> > Metadot
> > > 7)
> > >
> > > In any case after the auto-migration we still will need
> some
> >
> > > manual migration, but hopefully not much.
> > >
> > > Regards,
> > > Ivaylo
> > >
> > >
> > > > I'm curious if there is any plan or work being done to
> > > provide
> > > > an automated method to migrate a Metadot 6.4.5.x version
>
> > of
> > > > Metadot to a 7.x version. Or is the only approach to
> set
> > up
> > > a
> > > > 7.x site and manually transfer content and users.
> > > >
> > > > I seem to remember a discussion that there would
> > eventually
> > > be
> > > > a migration tool (which given the difference I've seen
> in
> > > the
> > > > database structures and the application architecture
> > > wouldn't
> > > > be an easy thing to create), but I also remember a
> thread
> > > that
> > > > indicated that not all the 6.4.5.x functionality
> (gizmos)
> > > > would be ported. This would kind of tell me that if I'm
>
> > > using
> > > > one of those gizmos, those pages likely would be
> > converted.
> > > >
> > > > Any feedback or thought on which functionality would or
> > > would
> > > > not be part of a migration tool due to one reason or
> > other?
> > >
> > > > Just trying to decide if I should wait for a tool or
> > > manually
> > > > migrate my sites.
Subscribe to this discussion Return to discussion

Messages in this thread: < Previous thread Next thread >
Subject Author Date
Jeff (Jeff Brown)
User photograph
2008-01-10 19:45:38
Ivaylo (Ivaylo Georgiev)
User photograph
2008-01-23 16:33:12
rbrogers (Richard Rogerson)
User photograph
2009-04-21 09:09:57
rbrogers (Richard Rogerson)
User photograph
2009-04-21 09:11:50
S (S Dodge)
User photograph
2012-10-22 16:13:40