Last modified: 2014-04-26 08:39:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 64472 - update.php fails for PostgreSQL when creating sequences
update.php fails for PostgreSQL when creating sequences
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.24rc
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2014-04-26 07:04 UTC by Tiziano Müller
Modified: 2014-04-26 08:39 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tiziano Müller 2014-04-26 07:04:53 UTC
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
Comment 1 Tiziano Müller 2014-04-26 08:39:34 UTC
Sorry, PEBCAK, should have created the tables properly first.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links