instikiでSQLデータベースを利用している場合に保存形式が変更されました
20060501:
- AFFECTS
- users of www/instiki
- AUTHOR
- arsptr@optusnet.com.au
The instiki port has changed storage methods to use an SQL database.
instikiのportsが更新され、SQLデータベースを利用する際のストレージメソッド[保存形式]が変更されました。
The README contains instructions on how to migrate existing wiki data to the new storage methods. The following is a copy of the relevant information, tailored for FreeBSD port users:
READMEに、既存のwikiデータを新しい保存形式に移行する方法について説明があります。以下は、FreeBSD ports 利用者向けの関連情報を抜粋したものです。
1. cd /usr/ports/www/instiki; make extract
2. Execute
2. 実行します。
ruby work/instiki-0.11.0/script/import_storage \ -t /usr/local/instiki/storage/2500 \ -i /usr/local/instiki \ -d sqlite \ -o [some location]/instiki_import.sql
3. This will produce instiki_import.sql file in the specified location. Open it in a text editor and inspect carefully.
3. この操作でinstiki_import.sqlというファイルが指定した場所に作成されます。instiki_import.sqlをテキストエディタで開き、内容を注意深く確認します。
4. Upgrade your instiki port normally (eg portupgrade)
4. instikiのportsを通常の方法(たとえばportupgrade)でアップグレードします。
5. Connect to your production database, eg:
5. プロダクションデータベースに接続します。たとえば:
sqlite3 /usr/local/instiki/db/production.db.sqlite3
and have it execute instiki_import.sql, eg:
そしてinstiki_import.sqlを実行します。たとえば:
.read [some location]/instiki_import.sql
6. Execute
6. 実行します
ruby /usr/local/instiki/script/reset_references production
(this script parses all pages for crosslinks between them, so it may take a few minutes)
(このスクリプトはすべてのページに対しクロスリンクのパースを行うため、実行に数分かかることがあります)
修正
20060425:
- AFFECTS
Uusers of net-im/ejabberd- AUTHOR
- shaun@inerd.com
commit log
- Add instructions on instiki-0.11.0 update
- PR
- ports/96301
- Submitted by
- Alastair Rankine
$FreeBSD: ports/UPDATING,v 1.316 2006/05/01 14:33:52 pav Exp $