HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


9.0 (Gold) - Merging 'older' version(s)

Login / Search

 [ Join | More ]
 Add topic 
Posted
Item has a rating of 5 (Liked by BobS)  
Rating:
#89813 (In Topic #18205)
Avatar

Community saint

I've attempted to merge a version 8.1.3 of ocPortal into a new install of version 9.0, despite the warning …

ocportal merge

When merging with another copy of ocPortal, you should make sure the other copy must be running the same major version. Whilst other versions may merge succesfully, ocProducts does not support this officially.

The 'ocp merge' importer can merge multiple ocPortal websites together that either:
  • each run on OCF (and thus, OCF data gets merged) or,
  • each share a forum database (what we call a "multi-site-network" situation)
The importer only handles ocPortal (including OCF) data. The 'ocp merge' importer cannot:
  • Work with anything other than ocPortal data (third-party forum data can not be merged, for instance)
  • Merge an ocPortal site into an ocPortal site that does not use the same forum database
    • unless you are highly technically proficient and capable of manually changing member and usergroup IDs, using a tool such as phpMyAdmin (because these IDs could not be mapped correctly for data that used a 'foreign' forum)
    • or unless both sites run on OCF (because in this situation, the importer can import everything, and correctly remap any member and usergroup IDs)
  • Import OCF data directly into a third-party forum
    • because the imported data would end up in the OCF database tables, regardless of whether they are currently being used for the ocPortal site's active forum.
Remember:
  • you must specify to import from an ocPortal database, not a forum database.
Please note that URL and page-link links will not be altered during the import, meaning it is likely they will need updating (because resource IDs change).


In reality I haven't actually experienced any major problems other than the 'linkage' (URL and page-link links) problem, something I would be prepared to work through if I could be certain that there are no underlying gotcha's waiting to get up and bite me in the bum!

I read that, "ocProducts does not support this officially", but I respectfully submit that this is now an absolutely essential item, especially because version 9.0 is such a radical departure from previous versions. Nice to have 'importers' for other software, but it would be so much nicer to be able to take your ocPortal home and contents with you when you move house!

If I manage a 'successful' merge of the theme and data of my live site into a fresh installation of version 9.0, I will sit down and carefully compose a 'how to' (pitfalls and all) and add it to the Community Docs so that others (Harry, mythus and Patty - and Me spring to mind) don't have to suffer that "Now freakin' what!" moment! I suspect there have been others who have nibbled at the forbidden fruit ('cutting edge' will always get them!) and have lived to regret it, and this could be a deal-breaker for a lot of prospective users!

Watch this space …

 :'(

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Item has a rating of 5 (Liked by BobS)  
Rating:
#89814
Avatar

Community saint

My $0.02 worth…

I "merged" my v8.1.3 into v9 without any problems other than theme issues.

1. Cloned v8.1.3 and upgraded it to v9.
2. Installed a clean v9.
3. Import the upgraded v9 database into the clean v9.
4. Clean up any loose ends.

Notes:
  • Make sure you duplicate all the addons of v8 during the v9 clean install.
  • Remove custom theme from the cloned v8 before upgrading to v9.

YMMV…

[Edit:]
After I've theme v9 and I'm ready to make it live, I'll close the live v8 site and repeat steps 1 and 3 again so I'll have the current, up-to-date database in the new v9 site.


Last edit: by sholzy

Steve
Back to the top
 
Posted
Rating:
#89820
Avatar

One note is that non-bundled addon data won't be merged, as that's outside the scope. E.g. activities, diseases, bank money, whatever you might have installed. Depending on what addons were installed, users may be happy to be free of disease or sad their deposits haven't been imported.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#89828
Avatar

Community saint

Fletch said

If I manage a 'successful' merge of the theme and data of my live site into a fresh installation of version 9.0, I will sit down and carefully compose a 'how to' (pitfalls and all) and add it to the Community Docs so that others (Harry, mythus and Patty - and Me spring to mind) don't have to suffer that "Now freakin' what!" moment! I suspect there have been others who have nibbled at the forbidden fruit ('cutting edge' will always get them!) and have lived to regret it, and this could be a deal-breaker for a lot of prospective users!

Cutting edge is FUN!…. Nothing like getting a mouth full of blood in the morning, I say!


Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
Posted
Rating:
#89837
Avatar

Community saint

For me it was not a problem, why I had to build new sites after some changes into our  basic organisation. Thats why I had choosen for V9B to start with it. :)


http://digiflash.nl Photo community  (dutch)
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: