Removing line breaks from ICODE to markdown in migration script.
Added vbpostid to posts in discourse to setup migrating vb "thanks" to discourse "likes" (not sure if this part will work or not, first time test for this migration feature.)
Chuggin' along again, from total scratch on a new server (and with fingers crossed):
Looks like the "user part" of the migration will take about 12 hours
Entry in discourse posts table, to set up "thanks" to "likes" migration:
Let's see if this new vbulletin_neo4.rb code works on the first attempt (if it does, that would be a pleasant surprise).
Note: Will not be migrating private messages (PMs) from vb to discourse in this test run and probably not in the final migration either.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Moving along...
We have two servers, one for MIGRATION TEST 4 (above, current test) and a future site staged and ready for the "final migration" if when the migration and testing is done.
Don't want to get too excited until we see the results of T4, and if the ICODE and BBCODE tags migrate well this go around; and if the vB "Thanks" get staged so we can transfer all vB "Thanks" to "Likes"
It's not a matter of "if" but a matter of "when" at this point, from what I see.
It will be "quite an accomplishment" to migrate a long EOL vB to a modern, sleek, community-forum like Discourse. When I started the eval a few days ago, the very talented folks at Discourse said "you are on your own on this one, pal" (due to the fact we are on vB3) and closed my vB3 bug report with a "good luck" finale. It's too early to say "amazing work"... but it's getting close. It's actually very good at the end of T3, but I am "going for even better".
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Import is going well. My custom code for our ICODE tag and BBCODE to markdown is working fine. Everything is looking good:
... still moving long now importing posts (replies):
Did not import private messages (PMs).
Will attempt to import all attachments, but if they do not import nicely, it not a show stopper; and it will save disk and file space not importing images and files from many years ago;
The person who posts the most images as attachments is me, and I am OK if all of the do not import / migration perfectly.
The most important thing is the code, and all CODE tags and ICODE tags will migration to markdown with issue.
The only "gotcha" so far is the that it appears the vbpostid for importing the "thanks" to "likes" is not working as planned, so I will need to think how to fix this after this test run is done.
Time for some Ruby puts statements in the script to see where the bug is.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
I have a solution to this issue, or at least a workaround:
EDIT: This method only works on posts with no bbcode because discourse preprocesses the raw posts and changes the post. Hence, the MD4 (or matching methods in general, do not work).
On discourse (after migrating):
On vb forums:
So, the MD5() function in post mysql and postgres returns the same hash on the same post in two different DBs (it's should, but always good to check).
This means that we can match the posts in both DBs without unique post ids using MD5() and the user name who created the post.
The
hash combined with the user name should does not work because the post is preprocessed for bbcode and markdown.
Dear All,
After being active on the Node-RED forum for the last few weeks, I have been very impressed with Discourse, and my eyes have been opened.
https://www.discourse.org/
but not the paid /hosted offering, but using the open distribution:
https://github.com/discourse/discourse
... (52 Replies)
OK.
Like we all do, we learn a lot from tests, test migrations, and so forth.
Today, I started from scratch on test migration 2, armed with a lot more knowledge,
The main differences are as follows:
Installed discourse plugin ruby-bbcode-to-md before starting the install
Modified... (30 Replies)
Hello All,
I had recently learnt a bit of Docker(which provides containerization process).
Here are some of my learning points from it.
Let us start first with very basic question:
What is Docker:
Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
Actually I was facing the following issue while building my Yocto SDK on Docker container
sudo docker build --tag="akash/eclipse-che:6.5.0-1" --tag="akash/eclipse-che:latest" /home/akash/dockerimage.yocto.support/
Sending build context to Docker daemon 26.93MB
Step 1/5 : FROM eclipse/cpp_gcc
... (3 Replies)
I'm New to AIX / VIOS
We're doing a FC switch cutover on an ibm device, connected via SAN.
How do I tell if one path to my remote disk is lost? (aix lvm)
How do I tell when my link is down on my HBA port?
Appreciate your help, very much! (4 Replies)
Recently i found this for give to docker a "personal" ip
ip addr del 10.1.1.133/24 dev eth0
ip link add link eth0 dev eth0m type macvlan mode bridge
ip link set eth0m up
ip addr add 10.1.1.133/24 dev eth0m
route add default gw 10.1.1.1On container i did
... (0 Replies)
Please note, this information was copied from vbseo.com, now showing a database error. This is posted for reference since vbSEO seems to be going out of business:
If you ever need to uninstall vBSEO , you can use the following instructions. Make sure you carefully follow each step.
Login... (37 Replies)