Hi SImen,
I have just followed your excellent tutorial on setting straps/docker on heroku. My build goes through without any errors, but when opening my web url, I get the following message:
Application error An error occurred in the application and your page could not be served
When I look at the heroku logs with
heroku logs --tail
I am getting some errors, particularly the following:
debug: ⛔️ Server wasn't able to start properly.
error: Missing jwtSecret. Please, set configuration variable "jwtSecret" for the users-permissions plugin in config/plugins.js (ex: you can generate one using Node with `crypto.randomBytes(16).toString('base64')`).
For security reasons, prefer storing the secret in an environment variable and read it in config/plugins.js. See docs.strapi.io/developer-docs/latest/setup-deploy…
at=error code=H20 desc="App boot timeout" method=GET path="/" host=strapi4ps.herokuapp.com request_id=0cf66af8-0af5-4add-ac52-63a7ddb46c6f fwd="31.208.24.149" dyno= connect= service= status=503 bytes= protocol=https
at=error code=H10 desc="App crashed" method=GET path="/" host=strapi4ps.herokuapp.com request_id=c03a6f4f-e173-44c6-a99c-44a9091b4ea1 fwd="31.208.24.149" dyno= connect= service= status=503 bytes= protocol=https
It seems to me that when I created the straps project, there is no such file called plugins.js in the config folder. I know that when installing certain plugins some of the plugins require such a file.
And my jwt token is set in a .env file not uploaded to git as its in my .gitignore