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

"Failed to check environment" & "Failed to list store" after fresh install #2798

Open
LeonGeorgi opened this issue Feb 8, 2024 · 1 comment
Labels
bug Defects

Comments

@LeonGeorgi
Copy link

Summary

I am already using pass, but wanted to give gopass a try, so I installed gopass via homebrew. Running gopass gave the following output:

2024-02-08 12:22:59.974 defaults[42905:76386752]
The domain/default pair of (org.gpgtools.common, UseKeychain) does not exist
⚠ Failed to check environment: exit status 1
🚥 Syncing with all remotes ...
[<root>] ❌ Failed to list store: lstat /System/Volumes/Data/home/leon: no such file or directory

   gitfs pull and push ... OK❌ Failed to list store: lstat /System/Volumes/Data/home/leon: no such file or directory
 (no changes)
   done
✅ All done

   __     _    _ _      _ _   ___   ___
 /'_ '\ /'_'\ ( '_'\  /'_' )/',__)/',__)
( (_) |( (_) )| (_) )( (_| |\__, \\__, \
'\__  |'\___/'| ,__/''\__,_)(____/(____/
( )_) |       | |
 \___/'       (_)

🌟 Welcome to gopass!
⚠ This is the built-in shell. Type 'help' for a list of commands.

Since then, all commands just return

❯ gopass ls
Error: failed to list store: lstat /System/Volumes/Data/home/leon: no such file or directory

I feel like the problem might have started with Failed to check environment: exit status 1. I couldn't find where the error is coming from and I don't know how to fix that.

Steps To Reproduce

Not sure, if reproducable. For me, all I had to do was:

homebrew install gopass
gopass

Expected behavior

gopass just works like a replacement for pass, without any errors and warnings.

Environment

  • OS: macOS (with Apple M1 Pro chip)
  • OS version: 14.1.1
  • gopass Version: gopass 1.15.11 go1.21.4 darwin arm64
  • Installation method: homebrew

Additional context

@dominikschulz dominikschulz added the bug Defects label Mar 30, 2024
@dominikschulz
Copy link
Member

The error might be a red herring. I'll try to improve the error message but other than that I would need more log output to diagnose this further.

Please run gopass with GOPASS_DEBUG=true set in the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defects
2 participants