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

Error: unknown command "start" for "cosmovisor" #7

Open
mightywomble opened this issue Apr 12, 2024 · 0 comments
Open

Error: unknown command "start" for "cosmovisor" #7

mightywomble opened this issue Apr 12, 2024 · 0 comments

Comments

@mightywomble
Copy link

Following on from #6 I've taken your advice and am building my own testnet server, I found the one liner

source <(curl -sL https://get.osmosis.zone/run)

I've run this, run through the script, chose the defaults in every case (except for choosing testnet, not mainnet), downloaded the 63Gb snapshot, and this morning I've got a pretty screen asking me to run

The script ends with

Please run sudo systemctl start cosmovisor
(or words to the effect)

Which i did, and it errors, why does it error I hear you ask

Error: unknown command "start" for "cosmovisor"

An investigation of

/lib/systemd/system/cosmovisor.service

shows that the service is trying to execute

ExecStart=/usr/local/bin/cosmovisor start --home /home/david/.osmosisd

Nothing funky there for sure?

I run

/usr/local/bin/cosmovisor --help

and behold

Usage:
  cosmovisor [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  init        Initializes a cosmovisor daemon home directory.
  run         Run an APP command.
  version     Prints the version of Cosmovisor.

No start function

So I'm left with 2 choices

  1. The 1 liner doesn't work, and no one bothered to test it (I doubt)
  2. The 1 liner has pulled a new version of cosmovisor which doesn't have a start command?

Any suggestions? The one liner is pretty jailed so its almost impossible to do the wrong thing..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant