Aportación realizada por Peter Ruthven-Stuart

Imagen de Plugin developers
Hello Jordi,

I finally got around to trying your new version of NWiki to check the migration bugs.

Unfortunately, it didn't work. sad

I copied over 3 courses from my production moodle site, which contain a total of 4 wiki activities. I then removed the original wiki directory from the moodle folder and replaced it with the Nwiki directory. I then accessed the admin page of the Moodle system and the migration process began. It lasted for about 25 minutes, but appeared to finish successfully: the [continue] button appeared, I clicked on it, and was returned to the top page.

However, on entering each wiki activity, I found that they were empty of all content: none of the content that was in the orginal wikis had been carried over. On the other hand, when accessing the MySQL database, I can see that the mdl_wiki_pages table appears to hold all the contents of the original wikis.

Any idea what might be happening?


Imagen de Plugin developers
Hello Jordi,

Thank you for your reply.

I tried the migration again with the version that you suggested, but still no luck sad.

Click here to see a PDF of the very long page that appears on re-logging into my moodle system. This time there is a [Continue] button, but as you will see, there are 3 error messages, and at the bottom is says:

Upgrading wiki from 2007020200 to 2007091901 FAILED!

On clicking on the [Continue] button I get the same messages as I mentioned in my message at the top of this thread. The only way to get back to the top page of the moodle is to delete the wiki tables from the MySQL database and to remove the wiki folder from the mod directory.

Any ideas?
Imagen de Plugin developers
Hello,

I have tried to migrate from the default moodle wiki to Nwiki, but have had no luck sad.

I intended to follow these 4 steps, but only got through part of step 4:
  1. Restore (install) courses containing eWiki activites into my experimental moodle system.
  2. Remove the wiki directory (i.e. eWiki) from the mod directory on the server.
  3. Install the various directories in the 'wiki_1.8_rev2007061102 Folder' into the correct locations in the experimental moodle directory on the server.
  4. Access the admin of the experimental moodle via a web browser: at this stage the system recognises the existence of a new module (Nwiki) and creates the relevant MySQL tables, and carries out the 'migration' process etc.
On re-logging in to my experimental moodle (step 4) I got the "wiki module needs upgrading" message and then a series of 'success' messages but no [continue] button at the bottom of the page: see attached PDF.

I then reloaded the page, and got these 'messages'

(mysql): SHOW TABLES
(mysql): SELECT * FROM mdl_modules WHERE name = 'dfwiki' LIMIT 1
dfwiki installed. Upgrading dfwiki (start) 
(mysql): SHOW COLUMNS FROM `mdl_modules`
(mysql): UPDATE mdl_modules SET name = 'dfwiki', version = '2006052502', cron = '2007053101', lastcron = '0', search = '', visible = '0' WHERE id = '23'
dfwiki installed. Upgrading dfwiki (end) 
wikis to dfwiki (start)-> 
(mysql): SELECT * FROM mdl_wiki
(mysql): SELECT * FROM mdl_wiki_entries WHERE wikiid='1' LIMIT 1
(mysql): SELECT * FROM mdl_modules WHERE name = 'wiki' LIMIT 1
(mysql): SELECT * FROM mdl_course_modules WHERE module=22 AND instance=1 LIMIT 1 

Reloading the page again gets the same messages. The only way to get back to the top page is to remove the NWiki module from the mod directory.

Just to make sure that Nwiki would install correctly into my system, I removed the course that contained the instance of a Wiki activity, so that there were no old wikis in my system. This time, the installation was a success, so it seems that there is a bug in the migration process.

Any ideas?

My experimental Moodle is running on the following system:

PowerBook G4, Mac 10.4.10
moodle 1.8.3 (downloaded 29th October from CVS)
MySQL 5.0.24
php 5.2.1
Promedio de valoraciones: -