deploy-rs
deploy-rs copied to clipboard
Found argument '--profile-user' which wasn't expected, or isn't valid in this context
Hello, I didn't update server configuration recently. And today I got error while trying to deploy new configuration:
🚀 ℹ️ [deploy] [INFO] Creating activation waiter
error: Found argument '--profile-user' which wasn't expected, or isn't valid in this context
If you tried to supply `--profile-user` as a PATTERN use `-- --profile-user`
USAGE:
activate activate [FLAGS] <closure> <profile-path> --confirm-timeout <confirm-timeout> --temp-path <temp-path>
For more information try --help
What actions do you recommend to prevent these types of situations from happening now and in the future?
I had a similar issue occur recently. It turned out that I was using a different version of deploy-rs on the machine I was deploying from and the version of deploy-rs I was deploying to the machines (particularly the activate
binary).
Making sure the versions were in sync fixed my problem.
Perhaps that's relevant to your issue also :v:
See also https://github.com/serokell/deploy-rs/issues/232