Page MenuHomePhabricator

importDump.php dies with status 1 for sqlite:LError: 8 attempt to write a readonly database
Open, NormalPublic

Description

Author: wmf.amgine3691

Description:
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.


Version: 1.21.x
Severity: major

Details

Reference
bz42093

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:04 AM
bzimport set Reference to bz42093.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Nov 14 2012, 4:25 AM
TTO added a subscriber: TTO.
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptMay 19 2017, 8:21 AM