#rampion-stripeCLI-appsInstall
1 messages · Page 1 of 1 (latest)
👋 jumping in to help out
What platform are you running the CLI on?
Is it macOS?
moving rest of the message in the thread
stripe-cli-apps exists and is executable, but doesn't seem to be found by my shell when I attempt to run it:
stripe-cli➤ ls -l /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps
-rwxr-xr-x 1 rampion users 33955733 Feb 12 11:23 /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps*
stripe-cli➤ file /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps
/home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=xN-u73TH6e0AuaVgqGzM/XRL0NIpJtoTGP-x-GwUX/jqkxgmE8kUMDaJRm8Ajz/I7Us6muVU6PWmYWcFH1Z, with debug_info, not stripped
stripe-cli➤ /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps
zsh: no such file or directory: /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps
oh okay, is that OS based on linux?
yeah
gotcha.
What steps did you follow for installation?
I just used the OS's package manager to install stripe https://search.nixos.org/packages?channel=23.11&from=0&size=50&sort=relevance&type=packages&query=stripe-cli
Are you running x86/x64 architecture or something else like aarch64 etc?
and then used stripe plugin install apps to install the apps plugin; which seemed to complete happily
x86
stripe-cli➤ stripe plugin install apps --log-level=debug
[Mon, 12 Feb 2024 11:36:04 EST] DEBUG config.Config.InitConfig: Using profiles file path=/home/rampion/.config/stripe/config.toml
[Mon, 12 Feb 2024 11:36:04 EST] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
[Mon, 12 Feb 2024 11:36:05 EST] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
[Mon, 12 Feb 2024 11:36:05 EST] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
⢿ installing 'apps' v1.5.14...[Mon, 12 Feb 2024 11:36:14 EST] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
[Mon, 12 Feb 2024 11:36:14 EST] DEBUG plugins.plugin.Install: installing apps to /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps...
â¡¿ installing 'apps' v1.5.14...[Mon, 12 Feb 2024 11:36:14 EST] DEBUG plugins.plugin.cleanUpPluginPath: Cleaning up other plugin versions...
[Mon, 12 Feb 2024 11:36:14 EST] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
[Mon, 12 Feb 2024 11:36:14 EST] DEBUG plugins.plugin.cleanUpPluginPath: Skipping directory: /home/rampion/.config/stripe/plugins/apps
[Mon, 12 Feb 2024 11:36:14 EST] DEBUG plugins.plugin.cleanUpPluginPath: Skipping directory: /home/rampion/.config/stripe/plugins/apps/1.5.14
✔ installation complete.
Gotcha. Can you try uninstalling it from the package manager and install it manually as described in the docs here?
https://stripe.com/docs/stripe-cli#install
the linux steps retty much
will do
- Download the latest linux tar.gz file from GitHub.
- Unzip the file: tar -xvf stripe_X.X.X_linux_x86_64.tar.gz.
- Move ./stripe to your execution path.
➤ tar xf stripe_1.19.2_linux_x86_64.tar.gz
➤ md5sum stripe
9e36396dd44e33111e4183d9db198316 stripe
➤ ./stripe plugin install apps
✔ installation complete.
➤ ./stripe apps --log-level=debug
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG config.Config.InitConfig: Using profiles file path=/home/rampion/.config/stripe/config.toml
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG cmd.pluginCmd.runPluginCmd: Running plugin...
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/home/rampion/.config/stripe
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG plugins.plugin.Run: Could not connect to plugin: fork/exec /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps: no such file or directory
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG Tearing down plugin before exit
[Mon, 12 Feb 2024 16:39:38 UTC] DEBUG pluginTemplateCmd.runPluginCmd: Plugin command 'apps' exited with error: fork/exec /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps: no such file or directory
➤ ./stripe version
stripe version 1.19.2
hmm okay, thinking...
Hmm I'm not finding much on my end regarding this.
For x86 systems it should just work afaik. Doesn't seem like a permissions issue either.
if you run
ls /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps then you see the plugin there right?
yup!
➤ ls /home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps
/home/rampion/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps*
ok, well thanks for looking into it on your end. I'll let you know if I figure anything out.
HI 👋
I'm stepping in as my colleague needs to go soon. Does NixOS support running Docker containers?
yeah, I can do that
We do support the installation and running of the CLI in a docker container
docker run --rm -it stripe/stripe-cli:latest
Same result running inside the docker container
➤ docker run --entrypoint /bin/sh -it stripe/stripe-cli:latest
/ # stripe login
Your pairing code is: adored-glee-famed-awards
This pairing code verifies your authentication with Stripe.
To authenticate with Stripe, please go to: https://dashboard.stripe.com/stripecli/confirm_auth?t=GTy66jMnUQU7lPVckQsxoU1EFlwJvbGV
> Done! The Stripe CLI is configured for your account with account id acct_1Oj1iOKBZFs1Z17i
Please note: this key will expire after 90 days, at which point you'll need to re-authenticate.
/ # stripe plugin install apps
✔ installation complete.
/ # stripe apps version
/ # stripe apps --help
/ # stripe apps --log-level=debug version
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG config.Config.InitConfig: Using profiles file path=/root/.config/stripe/config.toml
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/root/.config/stripe
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG cmd.pluginCmd.runPluginCmd: Running plugin...
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/root/.config/stripe
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG config.Config.GetProfilesFolder: Using profiles file path=/root/.config/stripe
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG plugins.plugin.Run: Could not connect to plugin: fork/exec /root/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps: no such file or directory
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG Tearing down plugin before exit
[Mon, 12 Feb 2024 17:14:19 UTC] DEBUG pluginTemplateCmd.runPluginCmd: Plugin command 'apps' exited with error: fork/exec /root/.config/stripe/plugins/apps/1.5.14/stripe-cli-apps: no such file or directory
Hmmm .... 🤔
Okay I have not been able to replicate this issue myself but I have raised it internally. You can write in to Support https://support.stripe.com/contact or post an Issue on Github to get updates: https://github.com/stripe/stripe-cli-apps-plugin/issues