LoginSignup
1
0

More than 5 years have passed since last update.

.keterファイルの解凍でエラーになる時は

Posted at

現象

Yesodアプリをデプロイするのに便利なketerだが、サーバ上で.keterファイルを解凍に失敗し、デプロイできないことがある。

次のようなログが出力される。

Unpacking bundle '/opt/keter/incoming/Main.keter'
  Error occured when launching bundle Main: Codec.Compression.Zlib: incorrect header check

原因

config/keter.ymlファイルの設定値に不備がある場合に、このようなエラーが出る。
自分の場合、exec の値が間違っていた。

stanzas:
  - type: webapp
    exec: <誤ったパスを書いていた>

エラーログから推測される原因とかけ離れており、なかなか解消に苦労した。

以下のページで解決策を見つけた。
http://stackoverflow.com/questions/29359038/error-occured-when-launching-bundle-main-keter

さすがStackOverFlow。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0