Migrating Heroku app fails to deploy

Django application - I tried to follow the Migration Guide with Dockerfile.render and render.yaml.

I see an error with collectstatic, but the build continues.
Finally fails with /render/process/web: line 2: gunicorn: command not found

In the scrollback I see that gunicorn was built, but I don’t know which file is line 2.

Is there anything special about your application here? Whilst the Heroku migrator does work, sometimes we find that having customers try our native environments actually work better? If it’s just python then with a few tweaks of the render.yaml we can get you running in a native env as opposed to having to be using Docker,


John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.