#rampion-stripeCLI-appsInstall

1 messages · Page 1 of 1 (latest)

ruby heraldBOT
opaque night
#

👋 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

pastel meadow
#

I'm on NixOS

#

(not the most supported OS, I know)

opaque night
#

oh okay, is that OS based on linux?

pastel meadow
#

yeah

opaque night
#

gotcha.
What steps did you follow for installation?

pastel meadow
opaque night
#

Are you running x86/x64 architecture or something else like aarch64 etc?

pastel meadow
#

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.
opaque night
pastel meadow
#

will do

opaque night
#
  1. Download the latest linux tar.gz file from GitHub.
  2. Unzip the file: tar -xvf stripe_X.X.X_linux_x86_64.tar.gz.
  3. Move ./stripe to your execution path.
pastel meadow
#
➤ 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
opaque night
#

hmm okay, thinking...

ruby heraldBOT
opaque night
#

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?

pastel meadow
#

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.

warm spire
#

HI 👋

I'm stepping in as my colleague needs to go soon. Does NixOS support running Docker containers?

pastel meadow
#

yeah, I can do that

warm spire
#

We do support the installation and running of the CLI in a docker container

#

docker run --rm -it stripe/stripe-cli:latest

pastel meadow
#

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
warm spire
#

Hmmm .... 🤔

ruby heraldBOT
warm spire