Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
OK... after seeing the results of about 40% of the main topics / threads (before the replies / posts are uploaded):
I can see two problems:
The CODE and ICODE tags seems to not be ported into discourse.
The "not parent" categories of forums (child forums) are not getting moved into the new DB and case an "error".
So, current way ahead is looking like:
Continue to let the migration process run until finished.
Study the results and at least do the following:
Move avatars to the DUMPED DB before DUMPING, so the AVATARS will port (maybe).
DUMP the Forum DB again.
Do a search and replace in the DB (DUMPED VERSION) and change all CODE tags to ``` (markdown three back ticks).
Ditto for the ICODE tags, convert the all to ``` for markdown ; but I am not sure 100% this will work, but we can try.
Change all forums to "parent, top level forums" in the DUMPED DB, so we I import again, they will work (not be children to parents).
Something like that.....
Looks like the CODE tags are just getting stripped out of the migration. Need to confirm when we get back up to 2019 / 2020 time frame. Right now the migrations is in the 2009 time frame.
This is what is looks like so far..... take lessons learned from this migration, make adjustments, and do it again.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Update:
Looks like the CODE tags are migrating OK, better than I thought looking at the earlier results... that is a big (and very good) surprise. I am however seeing other BBCODE tags not working (some custom and some basic) but at least they are being transferred and not stripped out, so we can deal with this easy enough later. This is very encouraging.
During topics / threads migration, there were a few errors
and so that part of the topic migration ended up:
Not bad for a first run.
Now, the status is:
Estimated time to completion of posts (only posts part): 15 Hours
I used this cheat sheet to add some simple code to transform ICODE , MOD and NOPARSE tags, like this:
But will need to run the migration again from scratch (or learn how to rake or otherwise modify the DB in discourse) after I figure out all the custom Ruby code I need to add to the migration script.
However, I'm learning Ruby a little bit now, something I never thought I would every do.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
To me perfectly honest, this is actually pretty easy to do (technically speaking), and I think I can easily improve and customize this migration script with a few iterations.
Hi,I am using following code for FTP in shell script file and it is working.Now I want to migrate from FTP to SFTP.What code changes/steps I have to perform for SFTP ?
ftp -in <<FIN
open $SAP_UP_SERVER
user $SAP_UP_USER $SAP_UP_PASSWORD
asc
put... (7 Replies)
Hi ,
I would like to (MYSQL) migrate the all the data from solari's to linux box.
I have checked whether mysql is installed or not.
rpm -qa | grep -i mysql
I confirmed !!!!
I want to know the following points.
1) How can get to know what are mysql data files and location as well.... (4 Replies)
Here is the issue:
I am building a database server using Solaris 10x86 U8.
The system is jumpstarted with mpxio enabled and booting from the san.
We need to have powerpath 5.3 installed and would like to have powerpath take control of the the boot san as well or have mpxio control the san... (2 Replies)
I have some UFS volumes (non root), that I would like to change into ZFS volumes.
Is this possible ?
I think the only method is to create a new zfs volume and copy the data accoss, this would take a long time for us. Is there a quicker way ?
Regards (5 Replies)
If I have an oracle 9 database environment on a san running solaris 5.8 as the os. Can I plug the san into a Solaris 5.9 environment and have the database work ? - as long as binaries are on the san (1 Reply)
I'm trying to see every file which my group (staff) has in a certain directory, recursively. The pipe
ls -l -R | grep staff
is not working exactly as I want, as for every directory to which my user does not have access, a line like:
ls: ./directory/lost+found: The file access permissions do not... (5 Replies)
Currently, I am planning a migration between machine which under True64UNIX. The new machine will run with higher version O/S. My question is, is there any solution on migrating one machine to another which with different O/S version? My goal is keeping minimum impact to the users.
Excuse my... (1 Reply)