Moodle migration issue

Moodle migration issue

by Anoop Pandey -
Number of replies: 4

Hello all,


So I just migrated my Moodle setup from litespeed to apache+nginx vm.


Rest was smooth but I encountered two issues:


1. What in Moodle data folder is essential to move and what can be left behind? ( To reduce the transfer size)


2. Initial staging shows error: 

"Notice: tidy_repair_string(): Unknown Tidy Configuration Option 'drop-font-tags' in /path-to-moodle/filter/tidy/filter.php on line 64"


Thanks

Average of ratings: -
In reply to Anoop Pandey

Re: Moodle migration issue

by Ken Task -
Picture of Particularly helpful Moodlers

1. moodledata/filedir is a must ... others will/should be rebuilt.   You might need to transfer filedir via rsync.

https://docs.moodle.org/311/en/Moodle_migration

https://rsync.samba.org/

2. is a editor issue ... TinyMCE vs Atto (atto now default in higher versions of Moodle so you might share what version of Moodle you are migrating.

Not sure #2 would be a show stopper ... shows warning ... so you should be able to login as admin and check editor settings

If it is a show stopper, one can set editors available to site and their order via config.php by adding a line:

$CFG->texteditors='atto,textarea';

which takes TinyMCE out.

to include just add tinymce in between.

'SoS', Ken

Average of ratings: Useful (1)
In reply to Ken Task

Re: Moodle migration issue

by Anoop Pandey -
Thanks for the reply.

Moodle ver: 3.9.3

The original instance doesn't show any such warning. The migrated version is giving multiple lines of same warning filling up the screen.
In reply to Anoop Pandey

Re: Moodle migration issue

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Issue 2 looks like MDL-69951. Presumably on the new server you have HTML Tidy (package libtidy) version ≥ 5.5.14 whereas on the old server you either had an older version of HTML Tidy or perhaps it wasn't installed at all.

I've added a comment to MDL-69951 with a suggested fix.

Average of ratings: Useful (2)
In reply to Leon Stringer

Re: Moodle migration issue

by Anoop Pandey -
Thanks
Your fix sorted my issue, I just edited line 50 in my local filter.php.

I plan to upgrade to 4 so, hopefully it's incorporated by then.