Comments (16)
手元でデプロイしたところ
☁ md2inao [master] git push heroku master
Counting objects: 323, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (240/240), done.
Writing objects: 100% (323/323), 43.05 KiB | 0 bytes/s, done.
Total 323 (delta 200), reused 125 (delta 69)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: ! Cedar-10 is deprecated. Please update to Cedar-14: https://devcenter.heroku.com/articles/cedar-14-migration
remote:
To [email protected]:md2inao.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:md2inao.git'
from md2inao.
解決法: http://qiita.com/riocampos/items/f9c9b44e26d3c77d9536
from md2inao.
今度は別のエラー
☁ md2inao [master] git push heroku master
Counting objects: 324, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (240/240), done.
Writing objects: 100% (324/324), 44.34 KiB | 0 bytes/s, done.
Total 324 (delta 199), reused 126 (delta 70)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching set buildpack https://github.com/naoya/heroku-buildpack-perl.git#cpanm-with-psgi... done
remote: -----> Perl/PSGI app detected
remote: -----> Installing dependencies
remote: /usr/bin/perl: symbol lookup error: /tmp/build_95ee3d80c3448559f37516554b3020f4/local/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_Istack_sp_ptr
remote: -----> Installing Starman
remote: /usr/bin/perl: symbol lookup error: /tmp/build_95ee3d80c3448559f37516554b3020f4/local/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_Istack_sp_ptr
remote:
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote: Default types for buildpack -> web
remote:
remote: -----> Compressing... done, 4.5MB
remote: -----> Launching...
remote: Released v27
remote: https://md2inao.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy.... done.
To [email protected]:md2inao.git
500c077..5c1aa27 master -> master
from md2inao.
@inao すみません、デプロイがうまくいかずアプリケーションが落ちてしまいました。原因調査中です
from md2inao.
remote: -----> Installing dependencies
remote: cpanm options: --quiet --notest -l /tmp/build_5897793e4896f39db52d5fdefba9f33f/local
remote: /usr/bin/perl: symbol lookup error: /tmp/build_5897793e4896f39db52d5fdefba9f33f/local/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Cwd/Cwd.so: undefined symbol: Perl_Istack_sp_ptr
remote:
remote: ! Push rejected, failed to compile Perl/PSGI app
なんだろうなこれ
from md2inao.
buildpack を https://github.com/pnu/heroku-buildpack-perl/ に変えて、バージョンを 5.18.2 に固定したところデプロイは進むようになった。
が、アプリケーションエラーのまま・・・なぜだ
from md2inao.
2016-01-08T03:34:19.446855+00:00 heroku[api]: Deploy a5455dd by [email protected]
2016-01-08T03:34:19.446855+00:00 heroku[api]: Release v40 created by [email protected]
2016-01-08T03:34:19.600405+00:00 heroku[slug-compiler]: Slug compilation started
2016-01-08T03:34:19.600428+00:00 heroku[slug-compiler]: Slug compilation finished
2016-01-08T03:34:56.191848+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=md2inao.herokuapp.com request_id=0ae75cbc-ee6e-497f-9ff5-dc172f9c28cc fwd="124.35.54.242" dyno= connect= service= status=503 bytes=
デプロイの後、PSGI プロセスが起動してない。
run bash して手で起動すると立ち上がるので、buildpack の release 周りがうまく動いてないかも
from md2inao.
cedar を upgrade したときに web プロセス数が 0 に設定されてた、1 にして起動するようになった。
そして
2016-01-08T03:50:49.884915+00:00 heroku[web.1]: Starting process with command `starman --preload-app --port 36671`
2016-01-08T03:50:51.898537+00:00 app[web.1]: Error while loading /app/app.psgi: Can't locate Project/Libs.pm in @INC (you may need to install the Project::Libs module) (@INC contains: /app/vendor/perl/lib/site_perl/5.18.2/x86_64-linux /app/vendor/perl/lib/site_perl/5.18.2 /app/vendor/perl/lib/5.18.2/x86_64-linux /app/vendor/perl/lib/5.18.2 .) at /app/app.psgi line 5.
2016-01-08T03:50:51.898547+00:00 app[web.1]: BEGIN failed--compilation aborted at /app/app.psgi line 5.
2016-01-08T03:50:52.560654+00:00 heroku[web.1]: Process exited with status 2
もちょい
from md2inao.
ご調査ありがとうございます!
たくさんお手数をおかけしまして申し訳ございません 😓
from md2inao.
なんか buildpack の PERL5LIB の設定がうまくいってないもよう。ちょっと ad hoc だけど、
heroku config:add PERL5LIB: /app/local/lib/perl5:/app/vendor/lib/perl5
とした。動いた。
from md2inao.
ひとまず動きましたが master がごちゃごちゃになったので後ほど修正します。
from md2inao.
ありがとうございます 🙇
実際に動かしてみて、動作を確認させていただきました!
from md2inao.
.travis.yml の perl バージョン指定が効いてない
from md2inao.
うまくいった。
from md2inao.
@inao というわけで正常化しました & 最新版デプロイされてます
from md2inao.
@naoya
超ありがとうございます!!
from md2inao.
Related Issues (20)
- 節番号の自動化
- InDesignフォームへの配置 HOT 4
- 行頭の半角スペースが全角スペースに置き換えられないようにする HOT 2
- Markdownのfootnote記法に対応してほしい
- 旧記法への変換機能を削除する?
- コードブロック中に不要な全角スペースが入る HOT 1
- コードブロック中の`[]:`がなくなる HOT 1
- 数式を使い始めました。UseMath: true HOT 2
- ...
- 表のキャプションに「表1::」などがない場合、キャプションが消える
- コラムのコードブロック中の`<tag>`がなくなる
- ulタグ単体だと変換されない
- リポジトリ招待のお礼
- Webアプリケーション版の自動デプロイ HOT 4
- 不要な半角スペースの除去 HOT 4
- 段落字下げ HOT 5
- タブ区切りのテーブル記法 HOT 1
- 注釈内のバッククォートで囲まれた中の閉じカッコは無視する
- 自動段落分け機能を削除する HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from md2inao.