Last modified: 2012-12-12 00:21:09 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 T44966, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42966 - php SMW_setup.php --delete --backend SMWSQLStore2 triggers SQLStore3 deletion (1.8.0)
php SMW_setup.php --delete --backend SMWSQLStore2 triggers SQLStore3 deletion...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-12 00:03 UTC by [[kgh]]
Modified: 2012-12-12 00:21 UTC (History)
5 users (show)

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


Attachments

Description [[kgh]] 2012-12-12 00:03:32 UTC
Hmm, this it the third installation I am upgrading, but the first time this has happened:

php SMW_setup.php --delete --backend SMWSQLStore2

  Deleting all stored data for SMWSQLStore3 completely!


  WARNING: This store is currently used by SMW! Deleting it
           will cause problems in the wiki if SMW is enabled.

Abort with CTRL-C in the next 20 seconds ...  00
Deleting all database content and tables generated by SMW ...

 ... dropped table `62451_smw_object_ids`.
 ... dropped table `62451_smw_concept_cache`.
 ... dropped table `62451_smw_prop_stats`.
 ... dropped table `62451_smw_di_number`.
 ... etc., etc.

I must admit that I used a slightly different method:
1) added $smwgDefaultStore = 'SMWSQLStore2'; to LocalSettings.php
2) ran php SMW_refreshData.php -v -b SMWSQLStore3 -fp
3) ran php SMW_refreshData.php -v -b SMWSQLStore3
4) removed $smwgDefaultStore = 'SMWSQLStore2'; from LocalSettings.php
5) ran php SMW_setup.php --delete --backend SMWSQLStore2

So what is the difference to the two updates before?
I skipped a step between 1) and 2): php SMW_setup.php -b SMWSQLStore3 since I saw no sense in creating the tables and then deleting them again with step 2).

I think this should not happen if you follow 1) - 5).

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


Navigation
Links