Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh Heroku install does not connect to Redis #1802

Open
evanliewer opened this issue Dec 12, 2024 · 5 comments
Open

Fresh Heroku install does not connect to Redis #1802

evanliewer opened this issue Dec 12, 2024 · 5 comments

Comments

@evanliewer
Copy link

two initializer files have a "if heroku?" conditional. Heroku is not respecting this. By removing the condition and leaving the code, it all works

@jagthedrummer
Copy link
Contributor

Hey @evanliewer, can you describe the exact problem you were running into? Was an error being thrown, or was the if heroku? conditional evaluating to an incorrect value? I'm running a couple of BT apps in heroku and those bits of the initializers are doing what I expect.

@evanliewer
Copy link
Author

evanliewer commented Dec 13, 2024 via email

@jagthedrummer
Copy link
Contributor

If you used the deploy to heroku button it should have automatically provisioned redis for you. Did you remove it after deploying? (BT depends on redis for a number of things internally, so you'll definitely want to have a redis instance connected to your app.)

@evanliewer
Copy link
Author

evanliewer commented Dec 13, 2024 via email

@jagthedrummer
Copy link
Contributor

Ah, OK, I think I'm understanding now. Can you run heroku config on your app and see if there's a config for HEROKU_APP_NAME? If not, are there any other HEROKU_ configs present?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants