Last modified: 2012-08-04 20:48:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30854, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28854 - ../maintenance/postgres/tables.sql not found
../maintenance/postgres/tables.sql not found
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.16.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2011-05-06 13:20 UTC by John Sunderland
Modified: 2012-08-04 20:48 UTC (History)
2 users (show)

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


Attachments

Description John Sunderland 2011-05-06 13:20:56 UTC
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"
Comment 1 Max Semenik 2011-05-06 15:09:12 UTC
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.

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


Navigation
Links