Hi there,
I wonder if you have any more insight or tips on what might be needed to import web stories from one instance to another via database. The scenario that I have right now is that I have a snapshot of a database that contains a number of stories that I’d like to pull into another live, running, instance.
To test one out, I copied the relevant row into wp_posts
and the relevant rows into wp_postmeta
. I verified that the ID
of the post itself was not present in the live DB, and I allowed the wp_postmeta
import to reassign primary keys as needed (while keeping the post_id
, meta_key
, and meta_value
fields intact).
This kinda worked. I previously had 2 webstories, and after copying the data in this way it my “My Stories” dashboard did update to say that I had 3 stories… but it still showed only 2 story cards (verified by looking at the HTML).
If I click instead to Stories -> All Stories I do see my copied story listed (with proper author, title, published date). If I click “View” to view the story at its permalink it actually does work (including text, animation, imagery, etc.). However, if I click to “edit” the story, I see the story editor but each page is blank – I just get a white card, without any of the imagery/text that appears when I view the permalink.
It feels like there may be some sort of cached/compiled JS or CSS content that might just need to be regenerated to allow the editor and “My Stories” view to “notice” the updated story, since it seems fully functional at the permalink.
Is there some additional step I might need to take to get it to work completely? Some other crucial bit of information that I need to move over? I’m comfortable manipulating database content, so any general pointers of what I might have missed would be super helpful.
Thanks!
-
This reply was modified 3 years, 9 months ago by
agathongroup.