heroku

Heroku/Rails/Devise: The change you wanted was rejected

烈酒焚心 提交于 2020-05-13 04:12:06
问题 I'm having a problem with my Rails 4.2 app running the latest version of Devise on Heroku. I'm going to preface this by stating that I have not pushed any code changes to production in quite some time and that this issue only started recently. When I go to log in, I receive an error saying "The change you wanted was rejected." When I view the logs, I can see that it's a problem with the CSRF token. 2015-04-04T19:52:22.430533+00:00 app[web.1]: Started POST "/users/sign_in" for 76.119.72.58 at

Heroku docker spring boot image error 503 H14

这一生的挚爱 提交于 2020-05-12 05:19:24
问题 I few days ago I was trying to deploy a docker image of a spring boot app into heroku. I have the following docker file: FROM openjdk:8-jdk-alpine LABEL maintainer="gabigarciagar@gmail.com" VOLUME /tmp COPY ./target/*.jar PetApp_Auth.jar CMD [ "java","-Xmx300m","-Xss512k","-XX:CICompilerCount=2","-Dfile.encoding=UTF-8","-Dspring.profiles.active=heroku","-Djava.security.egd=file:/dev/./urandom","-jar","/PetApp_Auth.jar" ] also in my application.properties for a heroku profile i have: spring

Heroku docker spring boot image error 503 H14

↘锁芯ラ 提交于 2020-05-12 05:18:17
问题 I few days ago I was trying to deploy a docker image of a spring boot app into heroku. I have the following docker file: FROM openjdk:8-jdk-alpine LABEL maintainer="gabigarciagar@gmail.com" VOLUME /tmp COPY ./target/*.jar PetApp_Auth.jar CMD [ "java","-Xmx300m","-Xss512k","-XX:CICompilerCount=2","-Dfile.encoding=UTF-8","-Dspring.profiles.active=heroku","-Djava.security.egd=file:/dev/./urandom","-jar","/PetApp_Auth.jar" ] also in my application.properties for a heroku profile i have: spring

React Routing works in locally but not Heroku

假如想象 提交于 2020-05-11 07:28:48
问题 My issue here is incredibly similar if not exactly the same as the one outlined in this issue. Unfortunately, I haven't been able to resolve it using the strategy it provides. So here are my own details: I am using Create React App , React Router 4 , Express , and Heroku and have followed the instructions here with regards to setting up a server with CRA. Locally, I am able to access routes such as myapp/about , yet after building and pushing to heroku, these 404. I can navigate to this route

Running bash on heroku won't work

时光怂恿深爱的人放手 提交于 2020-05-11 03:26:44
问题 I am trying to run bash on heroku to test it out and it is failing $ heroku run bash ▸ Error: No app specified ▸ Usage: heroku run --app APP ▸ We don't know which app to run this on. ▸ Run this command from inside an app folder or specify which app to use with --app APP ▸ ▸ https://devcenter.heroku.com/articles/using-the-cli#app-commands $ heroku run --app bash ▸ Usage: heroku run COMMAND ▸ ▸ Example: heroku run bash So, the example says heroku run bash will work but it doesn't. I have no

Permission denied for relation django_migrations using Heroku

﹥>﹥吖頭↗ 提交于 2020-05-11 02:40:33
问题 While attempting to migrate database changes using django on Heroku, I get: psycopg2.ProgrammingError: permission denied for relation django_migrations Other people have been able to resolve this issue by granting the appropriate privileges (e.g., Permission denied for relation). Unfortunately, I can't grant permissions or create a new user on the Heroku hobby tier. I was able to roll back a few migrations, but eventually I got: django.db.utils.ProgrammingError: table "labs_branch_tests" does

Permission denied for relation django_migrations using Heroku

ぃ、小莉子 提交于 2020-05-11 02:36:34
问题 While attempting to migrate database changes using django on Heroku, I get: psycopg2.ProgrammingError: permission denied for relation django_migrations Other people have been able to resolve this issue by granting the appropriate privileges (e.g., Permission denied for relation). Unfortunately, I can't grant permissions or create a new user on the Heroku hobby tier. I was able to roll back a few migrations, but eventually I got: django.db.utils.ProgrammingError: table "labs_branch_tests" does

Permission denied for relation django_migrations using Heroku

大城市里の小女人 提交于 2020-05-11 02:32:51
问题 While attempting to migrate database changes using django on Heroku, I get: psycopg2.ProgrammingError: permission denied for relation django_migrations Other people have been able to resolve this issue by granting the appropriate privileges (e.g., Permission denied for relation). Unfortunately, I can't grant permissions or create a new user on the Heroku hobby tier. I was able to roll back a few migrations, but eventually I got: django.db.utils.ProgrammingError: table "labs_branch_tests" does

Permission denied for relation django_migrations using Heroku

筅森魡賤 提交于 2020-05-11 02:32:08
问题 While attempting to migrate database changes using django on Heroku, I get: psycopg2.ProgrammingError: permission denied for relation django_migrations Other people have been able to resolve this issue by granting the appropriate privileges (e.g., Permission denied for relation). Unfortunately, I can't grant permissions or create a new user on the Heroku hobby tier. I was able to roll back a few migrations, but eventually I got: django.db.utils.ProgrammingError: table "labs_branch_tests" does

heroku: set SSL certificates on Free Plan?

ぐ巨炮叔叔 提交于 2020-05-10 10:16:56
问题 I would like to set some SSL certificates for one app I have on heroku (a simple application based on nodeJS + Vue). I know if I upgrade to the Hobby Plan (7$ for month) I can have it automatically. But for now it would too much money for a test application, so I am wondering if I can achieve some similar goal also with a Free Plan. so: Is it possible to set SSL certificate for an app on Heroku JUST with the Free Plan? Maybe in a complicated/tricky way via CLI? From the Heroku pages and