Page MenuHomePhabricator

update.php fails for PostgreSQL when creating sequences
Closed, InvalidPublic

Description

Author: tm

Description:
I get the following when running update.php on an empty database (or a database loaded with ./maintenance/postgres/tables.sql):

php maintenance/update.php --quick

MediaWiki 1.24alpha Updater

Going to run database updates for mediawiki_test
Depending on the size of your database this may take a while!
...skipping: 'mwuser' table doesn't exist yet.
...skipping: 'mwuser' table doesn't exist yet.
...skipping: 'pagecontent' table doesn't exist yet.
Creating sequence logging_log_id_seq
Creating sequence page_restrictions_pr_id_seq
Creating sequence filearchive_fa_id_seq
PHP Fatal error: Call to a member function defaultValue() on a non-object in /var/www/dev-zero.ch/htdocs/mediawiki-core/includes/installer/PostgresUpdater.php on line 681

already present in 1.22.5


Version: 1.24rc
Severity: normal

Details

Reference
bz64472

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.
StatusSubtypeAssignedTask
InvalidNone
InvalidNone

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:24 AM
bzimport set Reference to bz64472.
bzimport added a subscriber: Unknown Object (MLST).

tm wrote:

Sorry, PEBCAK, should have created the tables properly first.

Jdforrester-WMF subscribed.

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