-
Hello. I'm trying to deploy a rails app that's using the GoodJob gem for queuing. I keep on getting a failed deploy when I add Error output:
Procfile:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
The process that is failing is the web command, not the worker one. Are you sure that one starts on it's own correctly? If you remove the |
Beta Was this translation helpful? Give feedback.
-
@josegonzalez I have experienced a similar issue after upgrading dokku (0.33.5) and finding an existing django app deployed with git wouldn't start. I tried to redeploy (with Eventually, I tried destroying and recreating the app afresh. This did not help. With The earlier Editing while read -r line || [[ -n "$line" ]]; do
PROC_TYPE=${line%%=*}
# Added following line to trim trailing spaces to enable deploy
PROC_TYPE="${PROC_TYPE%"${PROC_TYPE##*[![:space:]]}"}"
LISTENERS="$(plugn trigger network-get-listeners "$APP" "$PROC_TYPE" | xargs)" However, I could not scale these workers. $ ps:scale $APP beat=1 worker=1
-----> Scaling $APP processes: beat=1 worker=1
! beat is not a valid process name to scale up In
I manually editing this file to remove spaces and set the instances. Running I've not tried to look where these spaces are coming from yet, but sharing now in case it's helpful to anyone else as I'm unlikely to get a chance to look or debug further for several days. Thank you for all the work that goes into Dokku. |
Beta Was this translation helpful? Give feedback.
Issue had to do with line separator of the Procfile being CRLF. Changed it to LF and deploy worked.