NebulousLabs / Sia-UI

A Graphical Frontend for Sia - https://sia.tech
MIT License
389 stars 119 forks source link

Miner not working on Ubuntu 16.04 LTS Linux #620

Open nateGeorge opened 7 years ago

nateGeorge commented 7 years ago

When I try to run the miner, either from a terminal or the sia-ui terminal:

/home/nate/sia/resources/app/Sia/siac miner start
Could not start miner: API call not recognized: /miner/start

In the sia-ui terminal I do:

miner start

and it gives the same error.

The help says:

Usage:
  /home/nate/sia/resources/app/Sia/siac miner [flags]
  /home/nate/sia/resources/app/Sia/siac miner [command]

Available Commands:
  start       Start cpu mining
  stop        Stop mining

Flags:
  -h, --help   help for miner

Global Flags:
  -a, --addr string   which host/port to communicate with (i.e. the host/port siad is listening on) (default "localhost:9980")

Use "/home/nate/sia/resources/app/Sia/siac miner [command] --help" for more information about a command.
robvanmieghem commented 7 years ago

The problem is that the miner module is no longer enabled by default in siad