Last modified: 2013-09-04 10:36:30 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 29399 - Postgres installer broken with same install and web user
Postgres installer broken with same install and web user
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
All All
: High blocker (vote)
: ---
Assigned To: Tim Starling
Depends on:
Blocks: postgres 26676
  Show dependency treegraph
Reported: 2011-06-14 18:38 UTC by Max Semenik
Modified: 2013-09-04 10:36 UTC (History)
3 users (show)

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


Description Max Semenik 2011-06-14 18:38:53 UTC
If we chose to use the same account as for installation, the installer throws notice:

Notice: Undefined variable: exists in D:\Projects\MediaWiki branches\1.17\includes\installer\PostgresInstaller.php on line 299

and then refuses to continue with the following message:

The specified user "postgres" does not exist. Please click the "create account" checkbox below if you want to create it.

Apparently, some recent fixes weren't backported.
Comment 1 Rob Lanphier 2011-06-14 19:03:36 UTC
Per IRC, I'm not convinced we should block 1.17 for this.  In the name of more frequent releases, I would rather warn PostgreSQL users that this release has issues and work on making 1.18 better.
Comment 2 Chad H. 2011-06-14 19:07:38 UTC
This seems to already be fixed in trunk, $exists is now defined unconditionally, just need to peg the rev and backport.
Comment 3 Mark A. Hershberger 2011-06-14 20:29:33 UTC
Looks like tarball was made of pre r89823 code.  Assigning to Tim so he is aware of the problem.
Comment 4 Mark A. Hershberger 2011-06-14 21:22:31 UTC
Sorry, my bad.  Looks like r89855 wasn't merged to 1.17 branch.
Comment 5 Mark A. Hershberger 2011-06-16 17:21:39 UTC
Merged in r90104

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