Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

drpbier's avatar
drpbier
New Contributor
3 years ago

Can't use the new Alfred 5 workflow due to CLI issue

Hi, I'm trying to run the CLI so that I can use the Alfred workflow with 1Password 8 for Mac. However it keeps telling me I'm using an old version despite installing the latest. The Alfred support admin asked me to run /usr/local/bin/op signin --force?
Terminal says:
iMac:~ davidbier$ /usr/local/bin/op signin --force
[ERROR] 2022/07/21 19:16:23 cannot create directory "/Users/davidbier/.config/op" and the parent directories: mkdir /Users/davidbier/.config/op: permission denied

The response was "You’ll have to ask 1Password about it. It’s their tool having the issue, which as you can attest happens even outside the Workflow. I did a quick search online and haven’t found anyone else affected with that exact problem."

This is over my head but I'm game...any idea?


1Password Version: 8.8.0
Extension Version: 2.3.7
OS Version: MacOS 12.4
Browser:_ Safari
Referrer: forum-search:Can't use the new Alfred 5 workflow due to CLI issue

  • Dayton_ag's avatar
    Dayton_ag
    Icon for 1Password Team rank1Password Team

    Hey drpbier, I'm sorry you're running into issues! Let's see if we can get you up and running.

    First, you mentioned that your terminal keeps telling you that you're running an older version of the CLI. Could you run the command op --version and let me know what version it says you're running? If you're running CLI 1, could you run through the steps found at the link below to upgrade to CLI 2, and let me know if you're still seeing this issue:

    Upgrade to 1Password CLI 2 Developer Documentation

    Let me know how it goes and we can keep the ball rolling from there. Thanks! 😊

  • drpbier's avatar
    drpbier
    New Contributor

    Probably helpful to post this too:

    The issue is that the 1Password command-line tool, op, is unable to create the configuration directory:

    cannot create directory "/Users/davidbier/.config/op" and the parent directories: mkdir /Users/davidbier/.config/op: permission denied