I have a 로 app apc® 컴퓨터에서 있지만 이 경우, 이 고장 난 헤로쿠 보냅니다. 오류 로그를 & H10 오류가 발생합니다. 다음과 같이 말합니다.
2012-11-21T15:26:47+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.2/lib/new_relic/control/instance_methods.rb:95:in `start_agent'
2012-11-21T15:26:48+00:00 heroku[web.1]: State changed from starting to crashed
2012-11-21T15:26:48+00:00 heroku[web.1]: Process exited with status 1
2012-11-21T15:26:59+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:27:00+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:30:08+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:30:08+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:30:59+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:31:19+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:31:19+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:32:08+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
2012-11-21T15:32:08+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=xxx.herokuapp.com fwd= dyno= queue= wait= connect= service= status=503 bytes=
편집:
2012-11-22T10:00:58+00:00 app[web.1]:
2012-11-22T10:00:59+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=xxx.herokuapp.com fwd= dyno=web.1 queue=0 wait=0ms connect=1ms service=26ms status=200 bytes=0
전에 알고 있던 적이 있으며, 이 문제의 원인은 무엇일까요? 난 해결책을 찾을 수 없습니다.
감사합니다.
App 는 위와 같은 오류가 나는 꽂으십시오 실행했음 헤로쿠 (실행 (fine) 의 개발) 에 추락한 로그온하면 헤로쿠 공개하지 않고 있지만 어떤 단서가 오류가 있었다. I read 다른 대답을 한 땀, 본 뒤 " app." 재구축합니다 여기있을 페이지에서든 발발했다. 어쩌면 내가 받을 수 있는 콘솔 및 둘러보거라 헤로쿠 생각했어요. I did it 리즈한테 심지어 콘솔입니다 크래시되었습니다, 이번엔 내가 왜. 몇 시간 동안 무명 변수 I forgot 트러블슈팅 세션용으로 전송되었기 삭제할 수 있다. I am not 실행할 것 "이라며" 하지만 난 더 많은 정보를 찾을 때 동일한 문제가 꽂으십시오 콘솔을 통해 검색하기를 찾았다. ᄋ "이번 도움이 됩니다.
$ heroku run rails console
$heroku run rails console
이 때문에 오류가 있습니다 수 있는 최고의 선택이 될 수 있는 것보다 훨씬 더 상세한 부여하느뇨 털미널 & # 39, 어플리케이션 crashed& # 39. error in your 헤로쿠 로깅합니다.
Git 으로 푸시하여 내가 이 문제를 해결했다.
git add .
git commit -am "some text"
git push
그럼 푸시할 헤로쿠:
git push heroku
그럼 내년에는 db 에 마이그레이션합니다 헤로쿠::
heroku run rake db:migrate
난 내 이기티뇨레 > 포함하지 않도록 관리됨 파일 -; 끊는 헤로쿠. # 도프
이것은 apc® 이기티뇨레 파일
/.bundle
/vendor/bundle/
/vendor/ruby/
db/*.sqlite3
/db/*.sqlite3-journal
/log/*
/tmp/*
**.war
*.rbc
*.sassc
.redcar/
.sass-cache
/config/config.yml
/config/database.yml
/coverage.data
/coverage/
/db/*.javadb/
/db/*.sqlite3
/doc/api/
/doc/app/
/doc/features.html
/doc/specs.html
/public/cache
/public/stylesheets/compiled
/public/system/*
/spec/tmp/*
/cache
/capybara*
/capybara-*.html
/gems
/specifications
rerun.txt
pickle-email-*.html
.zeus.sock
**.orig
.DS_Store
/nbproject/
.idea
/*.tmproj
**.swp
.env
.powenv
이기티뇨레 파일을 만들 수 있는 어플리케이션이 디렉토리이며 이동한 다음 명령을 사용하여 털미널
touch .gitignore
그럼 당신의 it up 의 열 수 있는 텍스트 편집기를 동일팔레트에 위의 코드는 다르거든요.
저의 경우는 있지만 내 애플리케이션 (앱) 을 사용하여 환경 변수 i was 헤로쿠 구성용 설정되지 않았습니다.
헤로쿠 콘솔입니다 제공했음 이벤트수정적절한 오류:
heroku console
`validate_options': Missing required arguments: aws_access_key_id, aws_secret_access_key (ArgumentError)
다음 set 이 환경 구성
heroku config:set AWS_ACCESS_KEY_ID='key'
헤로쿠 재시작하십시오.
heroku restart
작동하잖아!!
난 그 근본 원인을 평면가공 데이터베이스를 사용하지 못하게 되는 데 따른 것이다. 내가 처음 익스포트한 문제를 해결하기 위해 내 로컬 데이터베이스:
$ heroku addons:add heroku-postgresql:dev
$ heroku addons:add pgbackups
$ PGPASSWORD=mypassword pg_dump -Fc --no-acl --no-owner -h localhost -U myuser mydb > mydb.dump
그럼 바로 임포트된 헤로쿠:
$ heroku pgbackups:restore DATABASE 'http://site.tld/mydb.dump'
변수를 복귀시킴 이런 예는 다음과 같습니다. '마이파스워드 미우저 & mydb', ',' ',' 'http://site.tld/mydb.dump'. 참고로 난 업로드하십시오 임시 서버일 덤프합니다 했다.
나는 내 모든 문제를 해결할 수 있는 최고 빠른 안내선 작성했습니까 구축 방법에 대한 헤로쿠 때문이다 [여기에서 찾을 수 있는] [1].
[1]: //www.benji.so/articles/enki-for-heroku https://web.archive.org/web/20150219152706/http
확보하십시오 있는지 확인합니다.
bash: bin/rails: No such file or directory
실행하면서도 로깅합니다 (헤로쿠 로깅합니다 - t) 의 명령을 예이면 어졌다면 실행하십시오
bundle exec rake rails:update
create bin
create bin/bundle
create bin/rails
create bin/rake
이러한 파일을 누름식 헤로쿠 및 완료되었습니다.
제가 이 질문에 대한 거쳐 전체 목록을 빛위에 웹 사이트를 발견했다. 자세한 내용은 https://status.heroku.com/ / 사고는 헤로쿠 함께 있는 현재 상태. 항상 안전 사고에 대비한 체크 아웃하려면 정도로 전에 머리를 벽에 붙어 있다. For me, it 는 direct-attached 사건 보고서를 발간한 위에 언급된 https://partner. 초래한 오류:.
만약 이 문제가 아니라, 내가 실행할 때 하위 디렉토리에 레일 '/'. 예를 들어, 내가 가진 각 노드당 app 에서 실행 중인 앱을 실행 중인 '와' / / 꿀꺽 클라이언트 / 서버 ',' 레일 모두 동일한 추적할 수 있지만 그 중 깃 (git) 을 통해 다시 변경, 그래서 리포 프런트엔드와 끝. 내가 맡을게 error: 할 때 이를 배포하십시오 헤로쿠. 실행할 수 있는 사람이 없기 때문에 이 문제에 대한 사용자 정의 부일드파크 슬라이드에서는 레일 하위 디렉토리에.