update.php should return 1 to the shell upon failure
Open, Needs TriagePublic

Description

If update.php cannot reach the database server, it should return 1 to
the calling shell, not 0.

0 indicates success, 1 indicates failure.

Else scripts have no way to detect failure occurred.

Furthermore,

"Set $wgShowExceptionDetails = true; and $wgShowDBErrorBacktrace = true;
at the bottom of LocalSettings.php to show detailed debugging
information."

Is just general debugging advice.

It needs to be preceded by
ERROR: DATABASE SERVER NOT REACHED, NO UPDATE PREFORMED.

Jidanni created this task.Sep 6 2017, 6:15 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 6 2017, 6:15 AM