I’ve come across a new error while attempting to push a new build:
--> Pushing image done
image: registry.fly.io/[REDACTED]
image size: 1.5 GB
==> Creating release
Error Processes [1] Name Process name can only include letters, numbers, and hyphens
Error: Process completed with exit code 1.
##[debug]Finishing: Run flyctl deploy --remote-only --build-arg RAILS_MASTER_KEY=$RAILS_MASTER_KEY
Strangely this occurs when simply updating a Ruby gem and the only file that changed was Gemfile.lock.
I’m wondering if it’s referencing the Procfile (if from a buildpack) or [processes] in fly.toml (if from Fly). In any case, the processes (3) match and haven’t been changed:
This likely has to do with the naming of your process, which contains underscores. Try, high-priority-worker and low-priority-worker instead of high_priority_worker and low_priority_worker
Are you referring to the Procfile, fly.toml or both? I’m not super familiar with TOML, would those keys then need to be quoted (looking at TOML: English v1.0.0-rc.3)?
I looked over your post there but in my app specifically I’m not relying on the empty strings. But I see what you’re saying (that it could be the same core issue).
Well it wasn’t the Procfile. I thought it might be it since I realized I did recently delete it then restore it. But I can confirm the same error appears with the following Procfile:
Yes, it appears to work nicely now with the modified Procfile. I am going to go ahead and test it out with the old Procfile (using underscored keys) and if it doesn’t work, I’ll go back to hyphenated keys.