semantic-mediawiki.org


● General 

●Semantic MediaWiki

●Introduction

●Getting support

●Community portal

●Open Semantic Data Association

●SMWCon

●Recent changes
 


● Users 

●Manual

●Getting started

●Report a bug

●Sandbox wiki

●MediaWiki
 


● Admini­strators 

●Manual

●Store and search environment

●Features and supplementary functions

●Installation

●Configuration

●Maintenance

●Report a bug

●Sandbox wiki

●MediaWiki
 


● Devel­opers 

●Manual

●Source code

●Code documentation

●Report a bug

●Sandbox wiki

●MediaWiki
 


● ?

●Getting support

●Frequent questions

●Missing content

●Missing translation

●Found an error
 




● ...  

●Discussion
 
●View source

●History
 








●Log in

●Request account
 
















☰ Manual 

●Installation

●Configuration
●Concept caching

●Fixed properties

●ElasticStore

●Using SPARQL and RDF stores
●SPARQLStore

●Pretty URIs

●Maintenance scripts

●Troubleshooting
●Repairing data and data structures

●Jobs

●Extensions
●MediaWiki extensions

●Semantic MediaWiki extensions




 v3.2.0+ 
 Status:effective
 Progress:100%
 Version:3.2.0+




 English 
 Add a translation

 

Maintenance scripts

 
From semantic-mediawiki.org
 
Administrator manualMaintenance scriptsMaintenance scripts/Generic parameters
Jump to:navigation, search
 

Maintenance scripts are used to perform various administrative, import, maintenance and upgrade tasks. The scripts are deployed in the maintenance sub-directory of the Semantic MediaWiki software.

The following table lists the 16 maintenance scripts are made available by Semantic MediaWiki:

Name Description Help Added
disposeOutdatedEntities.php Allows to dispose outdated entities help page 3.2.0
dumpRDF.php Allows to do an RDF export of existing triples help page 2.0.0
populateHashField.php Allows to do mass populating of database field "smw_hash" when initially upgrading to Semantic MediaWiki 3.0.1 and later help page 3.0.1
purgeEntityCache.php Allows to purge all cache entries including associates of entities at once. help page 3.1.0
rebuildConceptCache.php Allows to rebuild (create, update, and delete) concept caches help page 1.9.2
rebuildData.php Allows to rebuild all the semantic data for a selected data backend/store help page 1.9.2
rebuildElasticIndex.php Allows to rebuild all the semantic data for the Elasticsearch index help page 3.0.0
rebuildElasticMissingDocuments.php Allows to find missing entities (aka documents) from Elasticsearch and schedule "smw.update" jobs for those identified subjects help page 3.1.0
rebuildFulltextSearchTable.php Allows to rebuild the full text search data table help page 2.5.0
rebuildPropertyStatistics.php Allows to rebuild the property usage statistics help page 1.9.0
removeDuplicateEntities.php Allows to remove all duplicate entities with no reference in any other table from the entity table help page 3.0.0
runImport.php Allows the import of content from import files help page 3.2.0
setupStore.php Allows to set up the data backend/store help page 2.0.0
updateEntityCollation.php Allows to do mass updates of database field "smw_sort" on the occasion that setting for the entity collation was changed help page 3.0.0
updateEntityCountMap.php Allows to do mass populating of database field "smw_countmap" when initially upgrading to Semantic MediaWiki 3.2.0 and later help page 3.2.0
updateQueryDependencies.php Allows to update all entities that hold embedded queries help page 3.1.0
Some scripts were renamed starting with Semantic MediaWiki 1.9.2Released on 18 April 2014 and compatible with MW 1.19.0 - 1.22.x. and now alias to the new names as shown in the table above. If you are still using the precursing names make sure that you migrate before the release of Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. in early 2018.
If Semantic MediaWiki is not installed in its standard path then the "MW_INSTALL_PATH" environment variable must be set for the maintenance scripts to work. See the "README" file in the maintenance directory.

See also[edit]

  • Manual page on maintenance scripts at MediaWiki.org
  • Help page on doing maintenance
  • Code documentation Maintenance
Retrieved from "https://www.semantic-mediawiki.org/w/index.php?title=Help:Maintenance_scripts&oldid=74129"
 

Categories: 
●Administrator manual
●Document
●Maintenance scripts
●Semantic MediaWiki documentation
 












●What links here

●Related changes

●Special pages

●Printable version

●Permanent link

●Page information

●Cite this page

●Browse properties
 













●This page was last edited on 8 February 2020, at 22:10.

●Content is available under "Attribution 3.0 Germany" (CC BY 3.0 DE) unless otherwise noted.
 














●Privacy policy

●About <semantic-mediawiki.org> (Imprint)

●Disclaimers
 




"Attribution 3.0 Germany" (CC BY 3.0 DE)
Powered by MediaWiki
Powered by Semantic MediaWiki