jcrespo added a comment.

@Ladsgroup: This should be easy to fix:

root@terbium:/var/log/wikidata$ ls -lha rebuildTermSql*
-rw-rw-r-- 1 www-data www-data 1.7K Aug 25 06:30 rebuildTermSqlIndex.log
-rw-r--r-- 1 www-data www-data  130 Aug  8 13:15 rebuildTermSqlIndex.log-20170810.gz
-rw-rw-r-- 1 www-data www-data  71K Aug 25 06:27 rebuildTermSqlIndex.log-20170825
root@terbium:/var/log/wikidata$ cat rebuildTermSqlIndex.log

ERROR: from-id parameter needs a value after it


Rebuild the index in the wb terms table (among other things populating
term_full_entity_id).

Usage: php rebuildTermSqlIndex.php [--batch-size|--conf|--dbpass|--dbuser|--deduplicate-terms|--entity-type|--from-id|--globals|--help|--memory-limit|--profiler|--quiet|--rebuild-all-terms|--server|--sleep|--wiki]

Generic maintenance parameters:
    --help (-h): Display this help message
    --quiet (-q): Whether to supress non-error output
    --conf: Location of LocalSettings.php, if not default
    --wiki: For specifying the wiki ID
    --globals: Output globals at the end of processing for debugging
    --memory-limit: Set a specific memory limit for the script, "max"
        for no limit or "default" to avoid changing it
    --server: The protocol and server name to use in URLs, e.g.
        http://en.wikipedia.org. This is sometimes necessary because server name
        detection may fail in command line scripts.
    --profiler: Profiler output format (usually "text")

Script dependant parameters:
    --dbuser: The DB user to use for this script
    --dbpass: The password to use for this script

Script specific parameters:
    --batch-size: Number of rows to update per batch (Default: 1000)
    --deduplicate-terms: Remove duplicate entries in the index (might
        slow the run down).Redundant when rebuild-all-terms option is specified.
    --entity-type: Only rebuild terms for specified entity type (e.g.
        'item', 'property')
    --from-id: First row (page id) to start updating from
    --rebuild-all-terms: Rebuilds all terms of the entity (requires
        loading data of each processed entity)
    --sleep: Sleep time (in seconds) between every batch

TASK DETAIL
https://phabricator.wikimedia.org/T171460

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup, jcrespo
Cc: jcrespo, Lucas_Werkmeister_WMDE, WMDE-leszek, Liuxinyu970226, gerritbot, Stashbot, Marostegui, aude, Ladsgroup, Aklapper, hoo, PokestarFan, daniel, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Minhnv-2809, Maathavan, Izno, Luke081515, Wikidata-bugs, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to