Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46925

Upgrading from 2.5 to 2.6.1

$
0
0
by Daniel Krause.  

I get this error while trying to perform this upgrade

column "backup_courses->laststatus" cannot be modified. Dependency found with index "laststatus (laststatus)"

More information about this error

Debug info:
Error code: ddldependencyerror
Stack trace:
  • line 725 of /lib/ddl/database_manager.php: ddl_dependency_exception thrown
  • line 582 of /lib/ddl/database_manager.php: call to database_manager->check_field_dependencies()
  • line 600 of /lib/ddl/database_manager.php: call to database_manager->change_field_type()
  • line 2704 of /lib/db/upgrade.php: call to database_manager->change_field_precision()
  • line 1530 of /lib/upgradelib.php: call to xmldb_main_upgrade()
  • line 356 of /admin/index.php: call to upgrade_core()

 

If I drop the index in question then the upgrade goes through fine, but then I am missing the index once the upgrade is complete.

I feel this is not the correct way to go about it.

Not sure if this is a bug that has existed on our database or in the upgrade code


Viewing all articles
Browse latest Browse all 46925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>