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
error 500: this app is not Heroku friendly #1893
Comments
You need to run |
I have done that @jbrooksuk with |
the real issue is this: for some reason, it looks for |
it seems like ENV variables are not read from Heroku |
That's how Laravel works. Laravel reads the Unfortunately, we don't support Heroku out of the box :) |
there seems to be a solution to this. not exactly sure how should this apply it to Cachet |
this is not how you should use Dotenv. I don't know why you're loading it here for example. I'm going to fork this and fix it. |
Like I said, this is how Laravel works. During the setup we have to write to the file, so we do have to load Dotenv. If you have a PR that can fix this on Heroku and remain working for everybody else, I'm happy to take a look :) |
It would be really good if Heroku was supported. |
I can take a swing at this. |
Sure, thanks. |
Sure wish I'd seen this before I wasted two hours setting it up. |
@cjthomp did you manage to get setup? We dropped Heroku support over a year ago now. |
Cachet version 2.2.2
Database Postgres
PHP version 7.0.7
I'm running into all kinds of issues with Cachet. I managed to solve most issues myself but have no idea how to solve this one.
it seems like Cachet relies on dotenv package to load environment variables even in production. This is creating issue with Heroku.
in order to get over dotenv issue I committed an empty .env, but still can't manage to fix this 500 error
[2016-06-04 13:39:47] production.ERROR: InvalidArgumentException: View [setup] not found. in /app/bootstrap/cache/compiled.php:14326
The text was updated successfully, but these errors were encountered: