Page MenuHomePhabricator

../maintenance/postgres/tables.sql not found
Closed, InvalidPublic

Description

Author: jszcmpr

Description:
Installation on Fedora 14 (patches up to date, or very close to)
Mediawiki 1.16.4 - seems to be the latest available from Fedora
I think all the other environment details are on the report below.

I was doing a standard install and got a message about "../maintenance/postgres/tables.sql not found" at the end of the status as below. I was able to find the reference to that file in /usr/share/mediawiki/includes/db/DatabasePostgres.php. After changing the reference to an absolute path, the installation finished - so I am happy, but I thought you might want to know. I am afraid I do not know enough php to try to debug what it thought it was trying get the directory relative to. Having now got it to work, I have unfortunately lost the exact message when the error was there.

Please include all of the lines below when reporting installation problems.

  • PHP 5.3.6 installed
  • Found database drivers for: MySQL PostgreSQL SQLite
  • PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • Session save path (/var/lib/php/session) appears to be valid.
  • PHP's memory_limit is 128M bytes.
  • Couldn't find eAccelerator, APC or XCache; cannot use these for object caching.
  • Found GNU diff3: /usr/bin/diff3.
  • Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
  • Found GD graphics library built-in.
  • Installation directory: /var/www/wiki
  • Script URI path: /wiki
  • Installing MediaWiki with php file extensions
  • Environment checked. You can install MediaWiki. *

    Generating configuration file...
  • Database type: PostgreSQL
  • Loading class: DatabasePostgres
  • Attempting to connect to database "postgres" as superuser "postgres"...
  • Checking the version of Postgres...version 8.4.8 is OK.
  • User "wikiuser" already exists, skipping account creation.
  • Database "wikidb" already exists, skipping database creation.
  • Connecting to "wikidb" as superuser "postgres" to check rights...OK
  • Schema already exists, explicitly granting rights... OK
  • Checking for Pl/Pgsql ...OK
  • Attempting to connect to database "wikidb" as "wikiuser"...
  • Checking the version of Postgres...version 8.4.8 is OK.
  • Checking for Pl/Pgsql ...OK
  • Schema "mediawiki" exists and is owned by "wikiuser". Excellent.
  • Setting the timezone to GMT for user "wikiuser" ...OK
  • Setting the datestyle to ISO, YMD for user "wikiuser" ...OK
  • Setting the search path for user "wikiuser" ...OK
  • Connected to postgres 8.4.8 At this point I got the message "../maintenance/postgres/tables.sql not found"

Version: 1.16.x
Severity: normal

Details

Reference
bz28854

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 21 2014, 11:36 PM
bzimport set Reference to bz28854.
bzimport added a subscriber: Unknown Object (MLST).

Installation works just fine with vanilla tarball. Please report this to Fedora package maintainers who broke it in attempt to enforce FHS. In any case, we recomment using tarball instead of packages.

Jdforrester-WMF subscribed.

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