DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Migrating OpenContent Blog to a new Website

 11 Replies
 1 Subscribed to this topic
 30 Subscribed to this forum
Sort:
Page 1 of 212 > >>
Author
Messages
Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

Hi Community,

I'm tryng to migrate an existent Blog (articles, templates and images) using OpenContent from an old website (09.02.00) to a new version (9.13.03) of the same website. I created the XML file using the export feature but I can't seem to make the file visible in the new website. When I try to run the import I can't see the file even though the file it's right there.

I already included XML to the list of permitted extension files but the same output.

Can someone point me in the right direction in order to continue with the module migration.

Thanks in advanced!

Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Have you tried restarting the AppPool? (DNN>Servers>Restart Application)

Also try a sync of the "Global Assets".
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

It really depends on the templates you're using and how they store the data.  Do you have any background on that?  The more integrated with back-end stuff (services, databases, etc.), the more complicated the migration will be.  If you're just using handlebar templates and default data storage, I've done this by copying the templates, then copying the data.  Though, the few times I've done this it was a manual process due to the number of instances.  I've never written anything to do it for me.  

Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

Did you try Full Export and Import under OC "Template exchange"?

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

I've done this David and the same problem. I can't find the XML file while doing the import feature.

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!
Posted By Timo Breumelhof (40F) on 9/25/2024 5:38 AM

Did you try Full Export and Import under OC "Template exchange"?

No Sir I haven't; I tried the export/import feature that shows up in the context menu under "settings"; I'll try this option and let you guys know.

 

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!
Posted By Will Strohl on 9/24/2024 4:27 PM

It really depends on the templates you're using and how they store the data.  Do you have any background on that?  The more integrated with back-end stuff (services, databases, etc.), the more complicated the migration will be.  If you're just using handlebar templates and default data storage, I've done this by copying the templates, then copying the data.  Though, the few times I've done this it was a manual process due to the number of instances.  I've never written anything to do it for me.  

Will, I implemented this blog module so many years ago! I don't recall the details. I did manually move the whole OC folder at Portals/0 to the new website since I noticed that the export feature at the settings context menu only provided an XML file. I'm about to try on the option Timo mentioned. I'll let you know in a bit how that went. Thanks

 

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!
Posted By Timo Breumelhof (40F) on 9/25/2024 5:38 AM

Did you try Full Export and Import under OC "Template exchange"?

Timo, I tried the Full Export and got a zip file, then I move to the new website and tried the Full Import but I got this error: "An error occurred when attempting to save the file . Contact your hosting provider to ensure the appropriate security settings have been enabled on the server."

I checked the admin logs but I didn't find any details about this. 

Any ideas what are the security settings necessary to get the Full Import working?

 

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Posted By Timo Breumelhof (40F) on 9/25/2024 4:38 AM

Did you try Full Export and Import under OC "Template exchange"?

Oooooo!!  I didn't know this was a feature! 😎🙌🏽

 

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

Hi Community,

This post it's just a summarize about the final solution to successfully migrate Open Content from one website to another website. 

First, let me start by saying that I added the file type *.XML in the wrong place! so that was the reason why I wasn't able to identify the export file correctly. This is a layer 8 mistake, my bad! jeje... the correct path from the persona bar:security -> more -> more security settings -> "Allowable File Extensions" at the bottom

But, in case you can't export and import for some reason using the options available you can follow the next steps:

  1. run a full backup (files and db)
  2. from your current open content blog module in the production website go to "Edit Raw Data" in the context menu
  3. inside of "edit raw data", manually copy the code from each section to the new open content blog module in the new website
  4. using SFTP move all the files from the current website folder "Open Content" located at "/Portals/0/" to the same folder in the new website
  5. take a look at the templates layout from a PC and a mobile phone in the new website and fix any HTML/CSS problem that might show up (specially if you change into a different skin)
  6. migration ready! 

I like to emphasize on the fact that the "edit raw data" option allows you edit current content and decide what you want to migrate! I really like this feature because it gives you enough flexibility during a module migration and saves you a lot of time!

I've to give a BIG Thank you to Timo because he guide me through the whole process!

Regards,

Page 1 of 212 > >>

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved