おのたく日記
YouTubeも始めました→
2018-04-19(Thu) [長年日記]
■ Mediawiki 1.27から1.30へupgrade
で、去年同様にうごかなくなる。今回は、 DB関係の例外エラー
# /var/lib/mediawiki/maintenance/update.php
...
Adding index rc_name_type_patrolled_timestamp to table recentchanges ...done.
...rev_page_id index not found on revision.
Making pl_namespace, tl_namespace and il_to indices non-UNIQUE ...done.
Adding ct_id field to table change_tag ...Set $wgShowExceptionDetails = true; and $wgShowDBErrorBacktrace = true; at the bottom of LocalSettings.php to show detailed debugging information.
# /var/lib/mediawiki/maintenance/update.php
...
Category cleanup complete.
Populating page_props.pp_sortkey...
Populating page_props.pp_sortkey complete.
Copying IP revisions to ip_changes, from rev_id 0 to rev_id 2863
...checking 3 revisions for IP edits that need copying, between rev_ids 0 and 200
Attempted to insert 2 IP revisions, 2 actually done.
Set the local repo temp zone container to be private.
Purging caches...done.
Done in 36 s.
と一度目でエラーがでたけど、二度やったら動いた。
|