Bug: Error reading from database to upgrade and important plugins until 2.4 and 2.5

Re: Bug: Error reading from database to upgrade and important plugins until 2.4 and 2.5

by Elena Fdez -
Number of replies: 2

Yes, I'm testing in my local server, I have uninstalled all the plugins that only has upgrades until 2.4 version and I'm checking the use with the upgrade with plugins until 2.5 in the upgrade until 2.6.

I have unistalled "Unittest" plugin of /admin/tool, too, why it's "missing from disk" when I upgrade from 2.2.4 to 2.6.  It's correct doing the uninstall of this pluging of admin tools from 2.2.4 version to upgrade to 2.6?

When I finish of doing checkings I will write results of upgrade from 2.2.4 to 2.6 to you.

Thanks.

In reply to Elena Fdez

Re: Bug: Error reading from database to upgrade and important plugins until 2.4 and 2.5

by Elena Fdez -

I have unistalled all the plugins without correct version to upgrade from 2.2.4 to 2.6 and I have deleted the folders in the tree of Moodle.

And when I try to update continues to appear the plugin that I have unistalled and deleted.  I have unistalled: Plugin name: unit tests, identifier: tool_unittest.

This is the message in the upgrade:

In admin tools:

 unittest

 

Standard

2011092500

   

Missing from disk!

 

 

With the rest of the plugins not it has occured this.

If I upgrade with this missing plugin could I have problems in database

I have checked available upgrades in the upgrade too and It has no updates. What is the form of deleted complete this missing plugin?

In reply to Elena Fdez

Re: Bug: Error reading from database to upgrade and important plugins until 2.4 and 2.5

by Elena Fdez -

This is the result of the upgrade with problem Missing plugin from the disk: "Unit Tests.".. I changed the max_execution time in php.ini and I put 4000sgs, takes more than 5 hours of conversion tables update of the database. This value is correct in time of php.ini? Somebody can help me with this fatal error in the upgrade? 

 

Upgrading to new version

System

Converted unsigned/lob columns in MySQL database - 294/294.

 100%

 

( ! ) Fatal error: Maximum execution time of 300 seconds exceeded in C:\wamp\moodle\lib\dml\mysqli_native_moodle_database.php on line 832

Call Stack

#

Time

Memory

Function

Location

1

0.0044

418008

{main}()

..\index.php:0

2

1.9106

33620024

upgrade_core()

..\index.php:365

3

2.4568

33873112

xmldb_main_upgrade()

..\upgradelib.php:1547

4

8453.1074

34542632

database_manager->add_field()

..\upgrade.php:2661

5

8453.1209

34543088

database_manager->execute_sql_arr()

..\database_manager.php:538

6

8453.1209

34543376

database_manager->execute_sql()

..\database_manager.php:77

7

8453.1209

34543376

mysqli_native_moodle_database->change_database_structure()

..\database_manager.php:88

 

( ! ) Notice: Undefined index: class in C:\wamp\www\moodle\cache\classes\helper.php on line 468

Call Stack

#

Time

Memory

Function

Location

1

0.0044

418008

{main}()

..\index.php:0

2

1.9106

33620024

upgrade_core()

..\index.php:365

3

2.4568

33873112

xmldb_main_upgrade()

..\upgradelib.php:1547

4

8453.1074

34542632

database_manager->add_field()

..\upgrade.php:2661

5

8453.1209

34543088

database_manager->execute_sql_arr()

..\database_manager.php:538

6

8453.1209

34543376

database_manager->execute_sql()

..\database_manager.php:77

7

8453.1209

34543376

mysqli_native_moodle_database->change_database_structure()

..\database_manager.php:88

8

9095.0271

34477416

core_shutdown_manager::shutdown_handler()

..\shutdown_manager.php:0

9

9095.0272

34477712

call_user_func() 

..\shutdown_manager.php:78

10

9095.0273

34477712

upgrade_finished_handler()

..\shutdown_manager.php:78

11

9095.0273

34477744

upgrade_finished()

..\upgradelib.php:1288

12

9095.3689

34477688

cache_helper::purge_all()

..\upgradelib.php:1309

13

9095.3689

34477736

cache_helper::purge_store()

..\helper.php:445

 

( ! ) Fatal error: Class name must be a valid object or a string in C:\wamp\www\moodle\cache\classes\helper.php on line 472

Call Stack

#

Time

Memory

Function

Location

1

0.0044

418008

{main}()

..\index.php:0

2

1.9106

33620024

upgrade_core()

..\index.php:365

3

2.4568

33873112

xmldb_main_upgrade()

..\upgradelib.php:1547

4

8453.1074

34542632

database_manager->add_field()

..\upgrade.php:2661

5

8453.1209

34543088

database_manager->execute_sql_arr()

..\database_manager.php:538

6

8453.1209

34543376

database_manager->execute_sql()

..\database_manager.php:77

7

8453.1209

34543376

mysqli_native_moodle_database->change_database_structure()

..\database_manager.php:88

8

9095.0271

34477416

core_shutdown_manager::shutdown_handler()

..\shutdown_manager.php:0

9

9095.0272

34477712

call_user_func() 

..\shutdown_manager.php:78

10

9095.0273

34477712

upgrade_finished_handler()

..\shutdown_manager.php:78

11

9095.0273

34477744

upgrade_finished()

..\upgradelib.php:1288

12

9095.3689

34477688

cache_helper::purge_all()

..\upgradelib.php:1309

13

9095.3689

34477736

cache_helper::purge_store()

..\helper.php:445