Page MenuHomePhabricator

Warnings (probably errors) in PostgresUpdater.php for AbuseFilter installation
Closed, ResolvedPublic

Description

Complete log of update.php after installation of AbuseFilter.

After installing AbuseFilter (434a740ef8dcd244029efd720a8e211e2803d343) on 60b07ca1b4811d5025b340bed927ab8a4a32d9f7 core, update.php gives:

[...]
...column 'abuse_filter_log.afl_deleted' already exists
PHP Warning: Missing argument 4 for PostgresUpdater::changeField() in /home/tim/public_html/w/includes/installer/PostgresUpdater.php on line 527
PHP Stack trace:
PHP 1. {main}() /home/tim/public_html/w/maintenance/update.php:0
PHP 2. require_once() /home/tim/public_html/w/maintenance/update.php:151
PHP 3. UpdateMediaWiki->execute() /home/tim/public_html/w/maintenance/doMaintenance.php:105
PHP 4. DatabaseUpdater->doUpdates() /home/tim/public_html/w/maintenance/update.php:121
PHP 5. DatabaseUpdater->runUpdates() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:282
PHP 6. call_user_func_array() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
PHP 7. PostgresUpdater->changeField() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
Changing column type of 'abuse_filter_log.afl_filter' from 'text' to 'TEXT'
PHP Notice: Undefined variable: default in /home/tim/public_html/w/includes/installer/PostgresUpdater.php on line 539
PHP Stack trace:
PHP 1. {main}() /home/tim/public_html/w/maintenance/update.php:0
PHP 2. require_once() /home/tim/public_html/w/maintenance/update.php:151
PHP 3. UpdateMediaWiki->execute() /home/tim/public_html/w/maintenance/doMaintenance.php:105
PHP 4. DatabaseUpdater->doUpdates() /home/tim/public_html/w/maintenance/update.php:121
PHP 5. DatabaseUpdater->runUpdates() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:282
PHP 6. call_user_func_array() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
PHP 7. PostgresUpdater->changeField() /home/tim/public_html/w/includes/installer/DatabaseUpdater.php:316
...index 'abuse_filter_log_ip' on table 'abuse_filter_log' already exists
[...]

(Complete log as attachment.)


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz35964

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:18 AM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz35964.
bzimport added a subscriber: Unknown Object (MLST).

Fix pending review in gerrit changeset #4965.

Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.