Daemon-Technologies / Mining-Bot

26 stars 14 forks source link

Issues on an Ubuntu VM #91

Closed whoabuddy closed 3 years ago

whoabuddy commented 3 years ago

I know this is not a 100% supported configuration, but I wanted to give it a try anyway and report the outcome, especially with the number of VPS installations coming up in the chat.

Describe the bug

Using the Mining-Bot_V1.0.0_linux.zip I was unable to set up a miner on Ubuntu 20.04 LTS.

The mining-bot installs as expected and I can access the web interface, but the status says No Mining Local Server Running! and there is no option to start/stop mining or download the stacks-node binary.

20201219_001_Selection

Steps To Reproduce

wget https://github.com/Daemon-Technologies/Mining-Bot/releases/download/1.0.0/Mining-Bot_V1.0.0_linux.zip
unzip Mining-Bot_V1.0.0_linux.zip 
ls
 cd ./Mining-Bot_V1.0.0_linux/
yarn install
yarn start

Then with no option to download stacks-node, tried manually:

wget https://github.com/Daemon-Technologies/Mining-Bot/releases/download/1.0.0/stacks-node-linux
mv stacks-node-linux stacks-node
yarn start

This was all done on a VM, so I used the following command to connect to it and forward the relevant port:

ssh -L 8000:127.0.0.1:8000 whoabuddy@192.168.0.108

Expected behavior

The mining-bot would allow me to download stacks-node, or recognize stacks-node in the root folder.

Environment (please complete the following information):

Additional context

When downloading stacks-node-linux via wget, I had to chmod +x to make it executable.

Could be related to #47 ?

whoabuddy commented 3 years ago

After receiving direction from another community member, I was trying too hard to make this work with the port forwarding over SSH.

Simply running the Mining-Bot over ssh then accessing the VM's IP address at port 8000 worked as expected. I can see the interface and the buttons are there now.

20201219_004_Selection

Thanks again for all the improvements in the latest release!