Page MenuHomePhabricator

Postgres installer broken with same install and web user
Closed, ResolvedPublic


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.

Version: 1.17.x
Severity: blocker



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 High.Nov 21 2014, 11:34 PM
bzimport set Reference to bz29399.

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.

This seems to already be fixed in trunk, $exists is now defined unconditionally, just need to peg the rev and backport.

Looks like tarball was made of pre r89823 code. Assigning to Tim so he is aware of the problem.

Sorry, my bad. Looks like r89855 wasn't merged to 1.17 branch.

Jdforrester-WMF subscribed.

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