Last modified: 2011-01-30 18:23:52 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 T28947, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26947 - Errors when rerunning ?page=Install steps
Errors when rerunning ?page=Install steps
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: ---
Assigned To: Chad H.
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-25 23:41 UTC by Platonides
Modified: 2011-01-30 18:23 UTC (History)
2 users (show)

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


Attachments

Description Platonides 2011-01-25 23:41:22 UTC
If rerunning the installer page page=Install, some steps fail non-gracefully:

* Initializing statistics...
Gives a syntax error at
    INSERT INTO site_stats (ss_row_id,ss_total_views,ss_total_edits,ss_good_articles,ss_total_pages,ss_users,ss_admins,ss_images) VALUES ('1','0','0','0','0','0','0','0')

inside "DatabaseSqlite::insert/single-row".

Error "19: column ss_row_id is not unique

Solution: Either an INSERT IGNORE or a REPLACE.

* Generating default upgrade key...
It may return NULL instead of a Status (fixed in r81006).

* Creating sysop account
Produces a "Mediawiki tried to access the database via wfGetDB(). This is not allowed" error (also with client installer).

* Creating main page with default content... 
This is the only one showing that it failed instead of a backtrace.
It allows you to continue, so it is already good? Perhaps the error should be smaller.
Comment 1 Chad H. 2011-01-30 18:23:52 UTC
This shouldn't be a problem as of r81211. It's no longer possible to re-run page=Install if _InstallDone.

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


Navigation
Links