deploy-rs icon indicating copy to clipboard operation
deploy-rs copied to clipboard

Found argument '--profile-user' which wasn't expected, or isn't valid in this context

Open NoneTirex opened this issue 1 year ago • 2 comments

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?

NoneTirex avatar Sep 29 '23 11:09 NoneTirex

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:

carlossless avatar Sep 30 '23 13:09 carlossless

See also https://github.com/serokell/deploy-rs/issues/232

cpu avatar Sep 30 '23 14:09 cpu