Skip to main content
April 24, 2024
Question

1Password CLI Beta no longer works

  • April 24, 2024
  • 10 replies
  • 447 views

1Password CLI Beta no longer works after update 1Password to version 8.10.30
1Password CLI version 2.23.0-beta.01

I am using this bundle with terraform plugin and now I can't use it after update

How can I download previous version of 1Password? Or how to fix this issue?
Or update 1Password CLI Beta please

[ERROR] 2024/04/24 22:27:58 connecting to desktop app: 1Password CLI couldn't connect to the 1Password desktop app. To fix this, update the desktop app to the latest version. If you're still having trouble connecting, restart the app. If you're using version 8.10.12 or earlier of the app, the 1Password CLI binary must be located in /usr/local/bin/op.


1Password Version: 8.10.30
Extension Version: 2.23.0-beta.01
OS Version: macOS 14.4.1
Browser: Not Provided

10 replies

1P_Dave
1Password Employee
April 26, 2024

Hello @leva0887! 👋

I'm sorry that the CLI isn't working on your Mac. It looks like you're using an old version of the CLI, the latest version is 2.27.0. You can update using this guide:

Let me know if you still see the issue after updating. 🙂

-Dave

leva0887Author
April 28, 2024

Sorry for misunderstanding, but I need only beta version of CLI, because only beta works with terraform plugin. Please update beta version or tell me how to use terraform plugin with 2.27.0

Also please take a look on instruction. It says only beta will work with terraform plugin
https://developer.1password.com/docs/cli/shell-plugins/terraform/

Dayton_ag
1Password Employee
May 3, 2024

Hey there @leva0887, I took a closer look at the beta on MacOS and I'm seeing the same thing; the beta version of the CLI tool immediately errors out when attempting to sign in. I've reached out to the Development team to bring this to their attention. I apologize for the inconvenience here!

In the meantime, it should still be possible to sign into the terminal manually, so you can continue using it. To do so, sign into the 1Password desktop app, navigate to Settings -> Developer, and toggle off the Integrate with 1Password CLI option. This should allow you to add your account to the CLI manually.

May 6, 2024

When signing in manually, we're still unable to use the terraform plugin:

Shell Plugins can only be used with the 1Password app integration enabled.

So the Terraform plugin is unusable at the moment.

Is the issue with an update of the 1password MacOS app or an update to the cli? i.e. what should I downgrade to get this to work?

May 15, 2024

Hi there, just bumping this thread. Also running into this issue:

connecting to desktop app: connection reset, make sure 1Password CLI is installed correctly, then open the 1Password app, select 1Password > Settings > Developer and make sure the 'Integrate with 1Password CLI' setting is turned on. If you're still having trouble connecting, restart the app.

I believe the latest 1Password app update broke the integration with 1Password CLI version 2.23.0-beta.01. We're using this for the Terraform plugin and the issue occurs before we even get to the login step in the CLI. We may end up not using 1Pass for anything Terraform.

May 21, 2024

Hey all - we've run into the same issue: the latest Mac app seems to have broken the integration.

We love this integration and would very much like to keep using it.

@Dayton_ag @1P_Dave any update on a fix or workaround?

May 24, 2024

Same issue here. I uninstalled the terraform plugin, and still get this error when running the 2.23.0-beta.01 CLI against the current 1P app. So is this just an incompatibility of the 1P CLI? If so, perhaps we could get a current build having the same terraform beta?

Joshua_ag
1Password Employee
June 5, 2024

Hello @leva0887, @joshburton, @jarodlustreperetua, @iaz, and @Tom_Harrison ,

We have released a new CLI beta: 2.30.0-beta.02.

You can download it now https://app-updates.agilebits.com/product_history/CLI2#v2300002

(if you do not see the beta on the release page you need to click the check box "show betas").

The beta fixes the connection issue with the 1Password desktop app.

Let us know if you notice any issues or if you have any questions.

June 6, 2024

Hi @Joshua_ag - thank you so much for letting us know! I can confirm that the CLI integration appears to be working as expected.

Your speedy response is deeply appreciated!

1P_Tommy
1Password Employee
June 6, 2024

Nice! Thank you for updating us.