"제타위키 미디어위키 업그레이드 1.31 → 1.32"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 3개는 보이지 않습니다)
6번째 줄: 6번째 줄:
==확인==
==확인==
* 미디어위키 버전 확인
* 미디어위키 버전 확인
<source lang='console'>
<syntaxhighlight lang='console'>
root@localhost:/var/www/html# ls RELEASE-NOTES-*
root@localhost:/var/www/html# ls RELEASE-NOTES-*
RELEASE-NOTES-1.32
RELEASE-NOTES-1.32
</source>
</syntaxhighlight>
* LocalSettings.php 확인  ( [[미디어위키 1.32 LocalSettings.php 샘플]] 참고 )
* LocalSettings.php 확인  ( [[미디어위키 1.32 LocalSettings.php 샘플]] 참고 )
<source lang='console'>
<syntaxhighlight lang='console'>
root@localhost:/var/www/html# cat LocalSettings.php | grep wgDB
root@localhost:/var/www/html# cat LocalSettings.php | grep wgDB
$wgDBtype = "mysql";
$wgDBtype = "mysql";
20번째 줄: 20번째 줄:
$wgDBprefix = "";
$wgDBprefix = "";
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
</source>
</syntaxhighlight>


==DB스키마 업그레이드==
==DB스키마 업그레이드==
<source lang='console'>
{{참고|MediaWiki 1.32.3 Updater 로그}}
<syntaxhighlight lang='console'>
root@localhost:/var/www/html# php maintenance/update.php  
root@localhost:/var/www/html# php maintenance/update.php  
MediaWiki 1.32.3 Updater
MediaWiki 1.32.3 Updater


Your composer.lock file is up to date with current dependencies!
Your composer.lock file is up to date with current dependencies!
Going to run database updates for jmnote-nt_
Going to run database updates for my_wiki
Depending on the size of your database this may take a while!
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ...
Abort with control-c in the next five seconds (skip this countdown with --quick) ...
Turning off Content Handler DB fields for this part of upgrade.
... (생략)
... (생략)
Updated 0 rows
Updated 0 rows
41번째 줄: 41번째 줄:


Done in 18 s.
Done in 18 s.
</source>
</syntaxhighlight>


==(Optional) 트러블슈팅==
==(Optional) 트러블슈팅==
* DB스키마 업그레이드 과정은 잘 수행되었지만, 실제로 웹상에서 확인해보니 일부 최근 문서에서 오류가 발생한다.
* [[Fatal exception of type "MediaWiki\Revision\RevisionAccessException"]]
* [[Fatal exception of type "MediaWiki\Revision\RevisionAccessException"]]



2020년 11월 2일 (월) 02:59 기준 최신판

1 개요[ | ]

제타위키 미디어위키 업그레이드 1.31 → 1.32
제타위키 미디어위키 업그레이드 1.31.3 → 1.32.3
  • 사전 DB백업 필수 ★★★

2 확인[ | ]

  • 미디어위키 버전 확인
root@localhost:/var/www/html# ls RELEASE-NOTES-*
RELEASE-NOTES-1.32
root@localhost:/var/www/html# cat LocalSettings.php | grep wgDB
$wgDBtype = "mysql";
$wgDBserver = "testdb";
$wgDBname = "my_wiki";
$wgDBuser = "root";
$wgDBpassword = "P@ssw0rd";
$wgDBprefix = "";
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";

3 DB스키마 업그레이드[ | ]

root@localhost:/var/www/html# php maintenance/update.php 
MediaWiki 1.32.3 Updater

Your composer.lock file is up to date with current dependencies!
Going to run database updates for my_wiki
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ...
... (생략)
Updated 0 rows
Updated 0 rows
Updated 0 rows
Populating page_props.pp_sortkey complete.
...Update 'populate ip_changes' already logged as completed.
Purging caches...done.

Done in 18 s.

4 (Optional) 트러블슈팅[ | ]

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}