DaGaAr
dokuwikiアップデート方法(100118)†
- 厄介なので注意。
- http://www.dokuwiki.org/ja:install:upgrade
- 1.現在稼働中の Wiki 全体のバックアップを取る。
- バックアップは/mnt/work4/dbworker/bak/public_html/に自動的に取られているので特に必要はない。
- 2.http://splitbrain.org/go/dokuwikiより、新バージョンの圧縮ファイルをダウンロードし、これを 展開 する。また、Changelog をチェックする。
tar -xzvf dokuwiki-xxxx-xx-xx.tgz
- 3.すべてのファイルをインストール済みの旧バージョン DokuWiki のファイルを上書きするように、コピー/アップロードする。dbworkerは"cp -i"がデフォルトでセットされているので注意。
> unalias cp
> cp -rf dokuwiki-xxxx-xx-xx/* /path/to/wiki/
1. 新バージョンでは使われないファイルを削除する(下のリストを参照)。
2. 必要であれば、 パーミッション を変更する。data/ ディレクトリの下の index/ や tmp/ は比較的新しいので該当する可能性あり。
- トップページを表示しようとすると次のようなエラーが出る。
* {DOCUMENT_ROOT}/wiki/conf/ is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/pages is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/attic is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/media is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/meta is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/cache is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/locks is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/index is not writable by DokuWiki. You need to fix the permission settings of this directory!
* {DOCUMENT_ROOT}/wiki/data/tmp is not writable by DokuWiki. You need to fix the permission settings of this directory!
3. 必要であれば .htaccess ファイルに変更を加える(ステップ 1 を参照)。
4. プラグインの新バージョンを入れる。
SAGAアクセス解析結果(091018)†

SAGAデータレコード件数推移(091018)†
SAGAデータベース容量カウント(091018)†
- MySQLデータ容量:カタログデータを除いたバックアップファイルの容量。最新版では15MB。
- saga:/home/suda/public_html/backup/data_wo_HDcatalogue.sql
- Registration/html/以下のファイルの容量。現在24MB。
- Registration/images/以下のファイルの容量。現在9.7MB。
- 年度あたりのデータ容量は全て足して10で割る(2000-2009年)と4.87MB。
MySQLテーブル作成時のエラー(090902)†
- 複合キーを使ってauthorsテーブルを作ろうとしたら次のようなエラーが起こって、テーブルが作成できなかった。
DBD::mysql::st execute failed: BLOB/TEXT column 'Author' used in key specification without a key length at list2sql.pl line 360, <SQL> line 9.
DBD::mysql::st execute failed: Table 'saga.authors' doesn't exist at list2sql.pl line 360, <SQL> line 12.
- 複合キーとなる項目の型が"text"になっていたため、エラーが発生していた。"text"を"varchar(20)"とすると回避できた。
SAGAでのapache設定に失敗(090215)†
SIMBADでの天体名検索について(090215)†
SAGAでのデータベース旧バージョンの取得†
- dbworker@saga > cvs -d :ext:astro3:/var/cvs/astrodb checkout -D "11/20/08 00:00:00" Retrieval
- dbworker@saga > cvs -d :ext:astro3:/var/cvs/astrodb checkout -D "11/30/08 00:00:00" Registration
- dbworker@saga > cvs -d :ext:astro3:/var/cvs/astrodb checkout CSVfile
- dbworker@saga > cvs -d :ext:astro3:/var/cvs/astrodb checkout Editor
- dbworker@saga > cvs -d :ext:astro3:/var/cvs/astrodb checkout Lib
- dbworker@saga > cvs -d :ext:astro3:/var/cvs/astrodb checkout Tools
- dbworker@saga > cvs -d :ext:astro3:/var/cvs/astrodb checkout Dictionaries
データベース復旧(2008/12/21)†
- Retrieval20081123
- CSV fileの復元
> cd ~/public_html/DB/tmp/
> cvs checkout -D 11/23/08 CSVfile
> mv CSVfile ../CSVfile_112308
- Retrievalの復元
> cd ~/public_html/DB/tmp/
> cvs checkout -D 11/23/08 Retrieval
> mv Retrieval ../Retrieval_112308
> cd Retrieval_112308/
> mv Query_Mode.pm Query_Mode20081123.pm
> mv Search_Mode.pm Search_Mode20081123.pm
> mv Temporary_Table.pm Temporary_Table20081123.pm
> vi db.cgi ("use Module;"部分を変更)
- Registrationの復元
> cd ~/public_html/DB/Registration/
> cvs update -r 1.23 list2sql.pl
> cvs update -D 11/23/08
> cvs tag -b before20081123
> cvs updae -r before20081123
- データの登録
> ./regist.sh
CVSシステム修復†
JVO用CSVファイル出力スクリプトの作成、実行(2008/7/13)†
- Registrationをsaga1に対して実行
- 関連スクリプトはJVO::get_jvo.pl
- 出力ファイルはoutput
- エラーログはjvo_log.txt
誤差解析(2008/5/20)†
異なる論文での同一天体の観測に対する系統誤差の比較
- 多数の論文で観測されている天体の一覧(計20)(だいたい8編以上だがすべてではない)
- BD+17 3248: found in 9 paper(s).
- BD-18 5550: found in 11 paper(s).
- BPS BS16467-062: found in 6 paper(s).+BPS BS16934-060: found in 1 paper(s).
- BPS CS22878-101: found in 8 paper(s).
- BPS CS22885-096: found in 8 paper(s).
- BPS CS22892-052: found in 16 paper
- BPS CS22949-037: found in 9 paper(s).
- BPS CS31082-001: found in 11 paper
- CD-38245: found in 8 paper(s).
- HD108317: found in 7 paper(s).
- HD122563: found in 16 paper(s).
- HD126587: found in 9 paper(s).
- HD128279: found in 8 paper(s).
- HD140283: found in 13 paper(s).
- HD186478: found in 11 paper(s).
- HD19445: found in 7 paper(s).
- HD218857: found in 7 paper(s).
- HD2796: found in 11 paper(s).
- HD4306: found in 9 paper(s).
- LP815-43: found in 6 paper(s).
Retrieval(2008/5/12)†
- [X/Y]でのthreshould設定ができない。
- 検索を終えてから一時テーブルを参照して条件をチェックする。
- どのデータを採用したかに依存するので、条件に合わなくても表示はした方がよい。
- 条件にマッチした件数は、検索総数と並べて表示すべき。
CVS外部アクセス†
- setenv CVS_RSH ssh
- cvs -d :ext:indigo:/home/suda/cvs/paper/ checkout paper7