Git Product home page Git Product logo

Comments (16)

naoya avatar naoya commented on July 20, 2024

手元でデプロイしたところ

☁  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.

naoya avatar naoya commented on July 20, 2024

解決法: http://qiita.com/riocampos/items/f9c9b44e26d3c77d9536

from md2inao.

naoya avatar naoya commented on July 20, 2024

今度は別のエラー

☁  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.

naoya avatar naoya commented on July 20, 2024

@inao すみません、デプロイがうまくいかずアプリケーションが落ちてしまいました。原因調査中です

from md2inao.

naoya avatar naoya commented on July 20, 2024
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.

naoya avatar naoya commented on July 20, 2024

buildpack を https://github.com/pnu/heroku-buildpack-perl/ に変えて、バージョンを 5.18.2 に固定したところデプロイは進むようになった。

が、アプリケーションエラーのまま・・・なぜだ

from md2inao.

naoya avatar naoya commented on July 20, 2024
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.

naoya avatar naoya commented on July 20, 2024

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.

inao avatar inao commented on July 20, 2024

@naoya

ご調査ありがとうございます!
たくさんお手数をおかけしまして申し訳ございません 😓

from md2inao.

naoya avatar naoya commented on July 20, 2024

なんか buildpack の PERL5LIB の設定がうまくいってないもよう。ちょっと ad hoc だけど、

heroku config:add PERL5LIB: /app/local/lib/perl5:/app/vendor/lib/perl5

とした。動いた。

from md2inao.

naoya avatar naoya commented on July 20, 2024

ひとまず動きましたが master がごちゃごちゃになったので後ほど修正します。

from md2inao.

inao avatar inao commented on July 20, 2024

@naoya

ありがとうございます 🙇
実際に動かしてみて、動作を確認させていただきました!

from md2inao.

naoya avatar naoya commented on July 20, 2024

.travis.yml の perl バージョン指定が効いてない

from md2inao.

naoya avatar naoya commented on July 20, 2024

うまくいった。

from md2inao.

naoya avatar naoya commented on July 20, 2024

@inao というわけで正常化しました & 最新版デプロイされてます

from md2inao.

inao avatar inao commented on July 20, 2024

@naoya
超ありがとうございます!!

from md2inao.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.