At the next step I want to upgrade to the latest version 2.8.3
The web page (admin/index.php?confirmupgrade=1&confirmrelease=1&confirmplugincheck=1&cache=0)
informed that it is updating the to a new version and showed me:
Converted unsigned/lob columns in MySQL database - 297/297.
After 40 minutes, I gone to another browser tab to the site and it told me to upgrade. I followed that advice and it stops now at:
mod_page
mod_quiz
Again, nothing happens. I checked the apache log and find:
[Fri Feb 13 15:30:09.249914 2015] [:error] [pid 11801] [client 192.168.178.1:41774] PHP Warning: mkdir(): File exists in /var/www/www.mm.net/lib/setuplib.php on line 1368, referer: http://www.mm.net/admin/index.php
[Fri Feb 13 15:30:46.471327 2015] [:error] [pid 10790] [client 192.168.178.1:42848] PHP Warning: mkdir(): File exists in /var/www/www.mm.net/lib/setuplib.php on line 1368
Looking at the code referred by the error:
head -n 1368 www.mm.net/lib/setuplib.php |tail
throw new coding_exception($dir.' directory can not be created, file with the same name already exists.');
} else {
return false;
}
}
umask($CFG->umaskpermissions);
if (!file_exists($dir)) {
if (!mkdir($dir, $CFG->directorypermissions, true)) {
This piece of code does not reveal to me, why it stopped there.
How to fix it? (I know it is Friday the 13, but that should not be the reason )