Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NoneTirex opened this issue Sep 29, 2023 · 2 comments

Comments

@NoneTirex
Copy link

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?

@carlossless
Copy link

carlossless commented Sep 30, 2023

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 ✌️

@cpu
Copy link

cpu commented Sep 30, 2023

See also #232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants