https://bugzilla.wikimedia.org/show_bug.cgi?id=28172

--- Comment #12 from OverlordQ <[email protected]> 2011-11-03 21:00:42 UTC ---
The way I caught it was because when the _sha1 fields were re-added Pg wasn't
included in the schema change so when the installer got to adding the first
revision of the main page it died because rev_sha1 didn't exist. So I added it
to tables.sql. Fuzzy on the next steps but pretty sure I did the following, but
I'm pretty sure I hit the back button below the error, fixed the tables.sql,
then clicked continue button.


1) comment out rev_sha1 in maintenance/postgres/tables.sql
2) Continue through install process
3) Receive error
4) Click back button on bottom of page
5) Correct SQL issues
6) Click continue on bottom of page
8) Click continue on confirmation page
9) Receive error.

--
    Setting up database... done
    Checking for language PL/pgSQL... done
    Creating schema... done
    Creating tables... done
    Information

    Warning: MediaWiki tables seem to already exist. Skipping creation.
    Populating default interwiki table... done
    Information

    Warning: The interwiki table seems to already have entries. Skipping
default list.
    Committing changes... done
    Initializing statistics... done
    Generating secret keys... done
    Creating administrator user account...

    Mediawiki tried to access the database via wfGetDB(). This is not allowed.

    Backtrace:
--


Hypothesis, if the tables exist we're forgetting to re-enable the lb?

So comparing DatabaseInstaller and PostgresInstaller, lets try r101880

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to