Last modified: 2014-07-07 14:07:59 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 T44093, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42093 - importDump.php dies with status 1 for sqlite:LError: 8 attempt to write a readonly database
importDump.php dies with status 1 for sqlite:LError: 8 attempt to write a rea...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.21.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: sqlite
  Show dependency treegraph
 
Reported: 2012-11-14 04:25 UTC by Amgine
Modified: 2014-07-07 14:07 UTC (History)
1 user (show)

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


Attachments

Description Amgine 2012-11-14 04:25:19 UTC
Attempted to import a dump of uncyclopedia into a clean install (via git) using sqlite:

$ nice -10 time php maintenance/importDump.php /home/amgine/Downloads/pages_full.xml.gz
A database error has occurred.  Did you forget to run maintenance/update.php after upgrading?  See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: INSERT OR IGNORE INTO page (page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_random,page_touched,page_latest,page_len) VALUES (NULL,'4','Upload_log','0','','0','1','0.727702939800','20121114033246','0','0')
Function: WikiPage::insertOn/single-row
Error: 8 attempt to write a readonly database

Command exited with non-zero status 1


I've dumped the LocalSettings.php and reinstalled with MySQL, and restarted the import, am crossing fingers, knocking on wood, and will likely sacrifice a virgin (kitten) if it's still running in the a.m.

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


Navigation
Links