It fails with errors starting

"An error occurred. http://xxxxxxxxx/update.php?id=33&op=do
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (2, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:137:\"Lost connection to MySQL server during query\nquery: ALTER TABLE menu_router ADD INDEX tab_root_weight_title (tab_root(64), weight, title)\";s:5:\"%file\";s:56:\"/var/www/html/content/includes/database.mysql-common.inc\";s:5:\"%line\";i:434;}', 3, '', etc. "

I notice that default.settings.php has been changed to add the line

ini_set('session.use_cookies', 1);

I don't know if this makes any difference. And it is not usual to expect to change the settings file.

All upgrades that I have attempted have worked perfectly in the past.

Anyone any ideas?

-----------

Now resolved.

Solution: disable all non-core modules first. [I upgraded another site at the same time, also without disabling all non-core modules. That upgrade worked perfectly, this one did not. I don't know why.]

Thanks,

Martin

Comments

easytech’s picture

An HTTP error 404 occurred. http://xxxxxxxxx/update.php?id=10&op=doi

Database updates Out of date

Some modules have database schema updates to install. You should run the database update script immediately. how do i update database script?

how did you solve them?
please help.
how to disable non core modules

drupalnesia’s picture

1. How to run Update: run http://domain.tld/update.php, if you still see any error then run it again until no error occurs
2. To disable third party modules: remove module folder to another place then send it back to original place 1 by 1 to check which module not compatible. You may need to upgrade this non-compatible module if any.