Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Note:

...

This

...

is

...

currently

...

an

...

outline,

...

and

...

should

...

be

...

scripted

...

later.

...

  1. Stop

...

  1. the

...

  1. Thalia

...

  1. IME

...

  1. front

...

  1. end

...

  1. and

...

  1. the

...

  1. Alfresco

...

  1. repository

...

  1. server.

...

  1. Perform

...

  1. a

...

  1. dump

...

  1. of

...

  1. the

...

  1. MySQL

...

  1. database,

...

  1. using

...

  1. map-backup.py.

...

  1. Use

...

  1. sed

...

  1. to

...

  1. replace

...

  1. the

...

  1. declaratives

...

  1. for

...

  1. Latin1

...

  1. to

...

  1. UTF8

...

  1. in

...

  1. the

...

  1. sql

...

  1. file.

...

  1. Code Block

...

  1. 
    sed s/latin1/utf8/g CMS-PROTO-TH3.MIT.EDU-db-thaliaproto-2008-09-03-15-37.sql > CMS-PROTO-TH3.MIT.EDU-db-thaliaunicode-2008-09-03-15-37.sql.temp
    

...

  1. Replace the database name with the name of the new database.
    Code Block
    
    sed -i s/thaliaproto/thaliaunicode/g CMS-PROTO-TH3.MIT.EDU-db-thaliaunicode-2008-09-03-15-37.sql.temp
    

...

  1. Use pluto to change the Latin1 and non-standard

...

  1. text

...

  1. to

...

  1. Unicode

...

  1. encoding.

...

  1. Code Block

...

  1. 
    cat UTF-8 CMS-PROTO-TH3.MIT.EDU-db-thaliaunicode-2008-09-03-15-37.sql.temp | pluto -c > CMS-PROTO-TH3.MIT.EDU-db-thaliaunicode-2008-09-03-15-37.sql
    

...

    • Pluto is not install by default on server ops systems. It is available on Trogdor, and will need to be built, suggested to do this on a office desktop, and scp the sql files there and back again.
  1. Remove the temporary file.
    Code Block
    
    rm CMS-PROTO-TH3.MIT.EDU-db-thaliaunicode-2008-09-03-15-37.sql.temp
    

...