heroku

Deploy war file to heroku including additional files

六月ゝ 毕业季﹏ 提交于 2020-06-22 04:00:34
问题 I am deploying a war file to heroku and want to include additional properties file to the slug as described here: Configuring WAR Deployment with the Heroku CLI $ heroku war:deploy application.war --app awesomeapp --jdk 14 --includes app1.properties It deploys war file successfully, but in any subfolder of the expanded application I can't find app1.properties file. At the same time all other files from war archive are on their places, additional tomcat war-tracker file, and nothing more. I

Installing pdftotext library on heroku

无人久伴 提交于 2020-06-22 03:45:24
问题 pdftotext library is a requirement in requirements.txt. While trying to push to heroku, I get the following error: remote: Running setup.py install for pdftotext: started remote: Running setup.py install for pdftotext: finished with status 'error' remote: Complete output from command /app/.heroku/python/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-rnbekz45/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close()

Heroku building app fail: error to load gem 'graphicsmagick'

末鹿安然 提交于 2020-06-18 13:12:49
问题 when I push my rails app to heroku it always fails. On the stage "Build App" the logs show me following message: checking for gm... no ! rake aborted! ! Bundler::GemRequireError: There was an error while trying to load the gem 'graphicsmagick'. I have required this gem in the Gemfile and I don't know why building app on heroku always fails. Local running and running on CircleCI are ok. Did someone have similar issue? Please let me know what I've missed. Thank you. 回答1: Do you have the

Heroku building app fail: error to load gem 'graphicsmagick'

笑着哭i 提交于 2020-06-18 13:10:21
问题 when I push my rails app to heroku it always fails. On the stage "Build App" the logs show me following message: checking for gm... no ! rake aborted! ! Bundler::GemRequireError: There was an error while trying to load the gem 'graphicsmagick'. I have required this gem in the Gemfile and I don't know why building app on heroku always fails. Local running and running on CircleCI are ok. Did someone have similar issue? Please let me know what I've missed. Thank you. 回答1: Do you have the

Heroku building app fail: error to load gem 'graphicsmagick'

孤街浪徒 提交于 2020-06-18 13:10:07
问题 when I push my rails app to heroku it always fails. On the stage "Build App" the logs show me following message: checking for gm... no ! rake aborted! ! Bundler::GemRequireError: There was an error while trying to load the gem 'graphicsmagick'. I have required this gem in the Gemfile and I don't know why building app on heroku always fails. Local running and running on CircleCI are ok. Did someone have similar issue? Please let me know what I've missed. Thank you. 回答1: Do you have the

Credentials can't be located for S3 Flask app in Heroku

廉价感情. 提交于 2020-06-18 10:47:53
问题 My flask app works locally with AWS S3 bucket, but when I try to get it to work in Heroku, I keep getting this error 2020-06-07T00:58:29.174989+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/botocore/signers.py", line 160, in sign 2020-06-07T00:58:29.174989+00:00 app[web.1]: auth.add_auth(request) 2020-06-07T00:58:29.174989+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/botocore/auth.py", line 357, in add_auth 2020-06-07T00:58:29.174989+00:00

Credentials can't be located for S3 Flask app in Heroku

人走茶凉 提交于 2020-06-18 10:45:25
问题 My flask app works locally with AWS S3 bucket, but when I try to get it to work in Heroku, I keep getting this error 2020-06-07T00:58:29.174989+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/botocore/signers.py", line 160, in sign 2020-06-07T00:58:29.174989+00:00 app[web.1]: auth.add_auth(request) 2020-06-07T00:58:29.174989+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/botocore/auth.py", line 357, in add_auth 2020-06-07T00:58:29.174989+00:00

Strapi Heroku deployment fails to connect to MongoDB

六月ゝ 毕业季﹏ 提交于 2020-06-17 15:49:49
问题 I am trying to deploy my Strapi app to Heroku with a mongoDB but receive this error every time I try to deploy. debug ⛔️ Server wasn't able to start properly. 2020-06-11T10:38:53.257748+00:00 app[web.1]: [2020-06-11T10:38:53.257Z] error Error connecting to the Mongo database. Server selection timed out after 30000 ms 2020-06-11T10:38:53.268085+00:00 app[web.1]: npm ERR! code ELIFECYCLE 2020-06-11T10:38:53.268583+00:00 app[web.1]: npm ERR! errno 1 2020-06-11T10:38:53.270443+00:00 app[web.1]:

Django Heroku Server Error (500) when I set Debug - False on True it is working fine

梦想的初衷 提交于 2020-06-17 09:37:12
问题 I know that there are a lot of questions about that, but to be honest most of them stays unanswered or the solutions do not work. I have "simple" problem. When I set Debug to False and push it to heroku I get "Server Error (500)". I read those topics: Heroku server error (500) when Debug = False , whitenoise could not find style.css Whenever debug=False in django, Heroku gives Server Error (500) and when debug=True no error https://www.reddit.com/r/djangolearning/comments/acj65x/why_am_i

Sending SMTP email with Django and Sendgrid on Heroku

£可爱£侵袭症+ 提交于 2020-06-16 18:13:40
问题 I'm trying to send email using SMTP and sendgrid for a Django app. I'm able to send emails on my local server, but on my heroku app I get an "SMTPServerDisconnected" error saying "connection unexpectedly closed. Is there a way to send SMTP email with sendgrid once deployed to Heroku? I can't seem to find any documentation on this. Here are my settings for email in settings.py: EMAIL_HOST = 'smtp.sendgrid.net' EMAIL_HOST_USER = 'EMAIL_HOST_USER' EMAIL_HOST_PASSWORD = 'EMAIL_HOST_PASSWORD'