Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

TO:DOs

    Skip restricted pages (for migrate to a test environment)
  • Test xwiki.cfg - xwiki.store.versioning=0 to prevent page versions for tagging etc
  • Set created date/time on Blogposts (not only publised date) - SQL Seems to be the way
  • Set  created date/time on pages (less important) - SQL Seems to be the way
  • Improve logging from convert.py a bit
  • Limit access to User Index (a personal need)

Install XWiki as a Docker solution

...

Go to the Web-interface and do the installation to end after startup.

Remove Extensions

  • Tour App - Not needed and gives anonymous users info not needed

Install Extensions

This can vary a bit - but for my migration scripts, these may be needed as they do substitute several Confluence Macro's:

  • Blog ApplicationAttachment
  • Attachments Macro
  • Video Macro
  • Diagram MacroApplication
  • PDF Viewer Macro
  • Youtube Macro

Migrate

Tip

If You use Gliffy in Confluence, install Draw.io on Confluence as trial and migrate all Gliffy drawings to Draw.io - As the Gliffy macro etc is not supported at all in XWiki.

...

Kodeblok
python3 confluence.py > log.txt

Post migration

Run SQLs

Kodeblok
sudo apt-get install -y postgresql-client-16
psql

psql -U xwiki -h localhost -d xwiki < pages.sql
psql -U xwiki -h localhost -d xwiki < blogs.sql


Do a visual compare.

Examine log.txt for:

...

Kodeblok
#xwikimaincontainer { width: 1400px !important;}

body {
    background: url("https://www.mos-eisley.dk/download/attachments/4161541/blue-square.png");
    background-repeat: repeat;
}


Other

Disable Registration in the Amin UI (If You want to)