Skip to content

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

@mightywomble

Description

@mightywomble

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions