FrontPage HelpOnUpdating
Index


/!\ 위키를 업그레이드 하기 전에 꼭 백업하세요! 특별한 경우가 아니라면 기존의 데이타를 잃게 되거나 하지는 않으나, 아주 사소한 실수로 예전의 데이타를 잃을 가능성도 있습니다. @)

이 문서는 모니위키를 업그레이드 하거나 다른 웹 호스팅 사이트로 이전하고자 할 때 필요한 것에 대해 설명하고 있습니다.

MoniWiki는 기본적으로 backup과 restore 액션을 지원하므로 다른 사이트로 이전하는 것을 쉽게 할 수 있으며, rcs를 설치하지 않은 위키에 대해서도 정기적은 backup만으로 자신의 위키 데이타를 비교적 안전하게 보존할 방법을 제공합니다.

1. 수동 업데이트

모니위키 1.0.8 버전 이전에는 간단한 업그레이드를 위한 자동화 스크립트를 제공하지 않으며, 1.0.9버전 이후에는 간단한 업그레이드 스크립트를 제공합니다 (upgrade.sh)

upgrade.sh가 하는 일은, 위키 엔진(*.php)을 업데이트하고, 기존의 위키엔진을 사용자가 변경하거나 해서 사용하고 있던 *.php는 없는지 검사하고 사용자가 변경한 *.php파일이 있다면 백업해줍니다.

아래는 upgrade.sh를 사용하지 않고 수동으로 직접 업그레이드 하는 방법을 설명합니다.

1.1. 업그레이드 하기

wiki.php, wikilib.php는 가장 중요한 위키엔진입니다. 이것과 함께 wikismiley.php lib/*.php plugin/*.php 등등의 파일을 새것으로 교체합니다.

다음은 css/*.css imgs/* theme/* 등등의 파일을 업데이트합니다. 기존에 사용자가 변경한 파일이 있다면 반드시 백업하시기 바랍니다.

위 두가지 단계를 거치면 기본적인 업그레이드가 완료됩니다. 모니위키가 설치되어 있는 디렉토리에 위치한 config.php는 새 버전의 config.php.default를 참고해서 바뀐 점이 없는지 혹은 새로운 기능이 첨가된 것은 없는지 점검합니다.

1.2. Configuration update


After upgrading, your existing wiki should continue to work (the goal is to have sane defaults for any new config values, but then there can be bugs). Check that this is indeed the case, and then take the time to check the CHANGES file in your distribution. Often, new features will be invisible unless your extend your configuration in "config.php" or "config.php.default".

This is especially true for:
  • somewhat dangerous macros that won't be activated by default, because they're not advisable for public wikis. You need to explicitely activate those by adding an allowed_actions list to the config. Currently, protected actions DeletePage are always needs 'admin password'.

  • email notification features: you need to provide $notify=1;.

1.3. Updating files


Images
On every update, you should copy the content of the "imgs" directory
to the image directory visible to your web server, normally a new release has some new GIFs/PNGs in it.

System pages or WikiSeeds
When upgrading to a new version, copy at least the help pages ("Help*") to
your existing directory. Then check whether you miss any new system pages.

InterWiki
Check that you have the newest entries in the "data/intermap.txt" file; if you have "private" entries, add them to the distribution file, then copy the result over your current file. You can point "shared_intermap" at a file loaded before the file in your data directory, which takes precedence (i.e. have global entries in the shared one, private entries the data dir file).

1.4. Troubleshooting


To make UserPreferences work, you should "mkdir -m707 user" in your
"data" directory.

Depending on your installation, more tightly secured permissions are a good idea.
Ideally, you assign all files in the data directory to the user the web server
runs under, and then you use 700 or 755.

2. Upgrade information for specfic versions


The following sections provide information pertaining to specific versions of the software; if you jump several versions, read all the sections applying to your situation.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2012-05-08 14:46:16
Processing time 0.0106 sec