Pages:
Author

Topic: Official FutureBit Apollo BTC Software/Image and Support thread - page 6. (Read 39380 times)

newbie
Activity: 8
Merit: 0
For testing I use an OrangePi 4 LTS with internal 16 GB ECC memory.
I have to mount my 1 TB SSD with fully synchronized blockchain manually. I took the start file from my old V1 Apollo because the new one unfortunately doesn't work. I connected the Apollo1 to the SBC board via USB.

miner_start.sh

chmod 755 miner_start.sh


Code:
#!/bin/bash

cd /opt/apolloapi/backend/apollo-miner
settings=$(cat miner_config)

start_hashboards()
{
    while [ $1 ];
            do
            screen -dmS miner ./futurebit-miner -comport $1 -ao_mode 1 $settings
            sleep 1
            shift
    done
}

#clear old log files
rm apollo-miner.*

#reset internal hashboard
gpio write 0 0
sleep .5
gpio write 0 1

sleep 30
#start internal hashboard

screen -dmS miner ./futurebit-miner -comport /dev/ttyS1 -ao_mode 1 $settings

#find and start external hashboards

ports=$(ls /dev/ttyACM*)
start_hashboards $ports

echo "Started"



https://duse.de/Node.png

https://duse.de/Miner.png

https://duse.de/Apollo.png
newbie
Activity: 7
Merit: 0
What did you have to adjust in the miner_start.sh file? I've got my node up and running on the v2.0.2-beta, but can't get the miner started.


The miner_start.sh didn't work and I had to adjust the start file. I then connected the Apollo to the MCU 2 version of the SCB board via USB. The power consumption of "only" 80 watts doesn't seem to be correct. A fully synced SSD 1 TB from the Apollo 1 doesn't seem to work either. I'm really looking forward to the V2, which will be released tomorrow, and I'm looking forward to being able to repair more of your devices.

jr. member
Activity: 14
Merit: 0
Add more lines to pool url  with 3 (or more) default options. Fallback is very important in mining.

Been waiting a couple years for this feature any idea if it will get added?

I'm using miningrigrentals to handle this. I think you can setup up to 5 pools.
hero member
Activity: 721
Merit: 504
Add more lines to pool url  with 3 (or more) default options. Fallback is very important in mining.

Been waiting a couple years for this feature any idea if it will get added?
full member
Activity: 206
Merit: 100
Hi All,
I'm new to this community, I've just received my Founder Apollo II.
I'm trying to sync the node. It's going very slow.
After 24hrs I'm still at half chain (490,225/836.701)
It shows 10/32 connections.

Am I doing something wrong?
I'd appreciate any help.

Thank you

Tk

Hey TK - you need to allow 8333 to the LAN IP of your node from the internet. Check your firewall settings.
newbie
Activity: 8
Merit: 0


This is completely normal... the first sync of my Apollo 1 took several days.
There is a trick...I sync my Apollos with an existing blockchain in my network. So I transfer the blockchain from one device to the Apollo. This only takes a few hours
newbie
Activity: 1
Merit: 0
Hi All,
I'm new to this community, I've just received my Founder Apollo II.
I'm trying to sync the node. It's going very slow.
After 24hrs I'm still at half chain (490,225/836.701)
It shows 10/32 connections.

Am I doing something wrong?
I'd appreciate any help.

Thank you

Tk
newbie
Activity: 8
Merit: 0
...next step I will try Armbian with kernel 6.6...

Armbian_24.2.1_Orangepi4-lts_jammy_current_6.6.16_xfce_desktop.img

newbie
Activity: 8
Merit: 0

The miner_start.sh didn't work and I had to adjust the start file. I then connected the Apollo to the MCU 2 version of the SCB board via USB. The power consumption of "only" 80 watts doesn't seem to be correct. A fully synced SSD 1 TB from the Apollo 1 doesn't seem to work either. I'm really looking forward to the V2, which will be released tomorrow, and I'm looking forward to being able to repair more of your devices.

I made the following notes during installation.

Orangepi4-lts_3.0.6_ubuntu_jammy_desktop_xfce_linux5.18.5.img # flash SD-Card
root/orangepi # user/pass
apt-get update
apt-get upgrade
reboot

# Download and start Image-install
wget https://raw.githubusercontent.com/jstefanop/apolloapi-v2/dev/backend/image_install
chmod 755 image_install
./image_install dev

Yes, there still seem to be a lot of bugs in the code and the bash installation cannot work because the "dev" attribute is missing. You are welcome to integrate me as a beta tester, as I currently have two devices here to be repaired.

curl -o- https://raw.githubusercontent.com/jstefanop/apolloapi-v2/dev/backend/install-v2 | sudo bash   # "dev" attribute is missing

but in Code need attribute "dev"

if [ "$1" = "dev" ]; then

legendary
Activity: 2061
Merit: 1388
FYI dev branch still has a bunch of bugs we are working through which is why we havent released anything yet.

Actually surprised you were even able to install it yourself, on the current OS since we have designed it for ubuntu 22.04 and 6.x kernel...

Should have a beta image out for all MCU2 Apollos by Friday, and MCU1 next week.
hero member
Activity: 1143
Merit: 925
newbie
Activity: 8
Merit: 0
newbie
Activity: 0
Merit: 0
edited: nvm fixed my problem Tongue

note to selfs

Dont turn computer down first without first powering down apollo miner
on standalone miners
im 10 days old mining with the miner and turned my computer off while apollo was not mining but still running.
as soon as i turned off my computer becuase it crashed. and had to hold power button on computer.  the apollo power supply now makes a buzzing noise since doing that, and its  not from the fan on power supply
newbie
Activity: 8
Merit: 0
i change code in

/opt/apolloapi/backend/install

Line 33
git clone --single-branch --branch dev-BTC https://github.com/jstefanop/apolloapi-v2.git $APOLLO_DIR

line 35
git clone --single-branch --branch dev-BTC https://github.com/jstefanop/apolloui-v2.git $APOLLO_DIR/apolloui

and start the Install with #./install dev

Code:
root@futurebitbtc:/opt/apolloapi/backend# ./install dev
 ---> Installing required system packages
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease                                                                             
Hit:4 http://ppa.launchpadcontent.net/saiarcot895/chromium-beta/ubuntu focal InRelease                                             
Hit:5 http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu focal InRelease                                                       
Hit:6 http://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu focal InRelease                                               
Hit:7 http://ports.ubuntu.com focal-updates InRelease                                                                             
Hit:8 http://ports.ubuntu.com focal-backports InRelease                 
Hit:3 https://box64.debian.ryanfortner.dev/debian ./ InRelease           
Ign:9 http://mirrors.xtom.de/armbian focal InRelease           
Err:10 http://fi.mirror.armbian.de/apt focal Release   
  404  Not Found [IP: 65.21.120.247 80]
Reading package lists... Done                         
E: The repository 'http://apt.armbian.com focal Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  chromium-browser chromium-codecs-ffmpeg-extra python3-software-properties python3-update-manager software-properties-common software-properties-gtk ubuntu-advantage-tools update-manager
  update-manager-core
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libreadline-dev is already the newest version (8.0-4).
net-tools is already the newest version (1.60+git20180626.aebd88e-1ubuntu1).
whois is already the newest version (5.5.6).
zip is already the newest version (3.0-11build1).
python-dev-is-python2 is already the newest version (2.7.17-4).
tor is already the newest version (0.4.2.7-1).
traceroute is already the newest version (1:2.1.0-2).
curl is already the newest version (7.68.0-1ubuntu2.21).
git is already the newest version (1:2.25.1-1ubuntu3.11).
libpq-dev is already the newest version (12.18-0ubuntu0.20.04.1).
libsqlite3-dev is already the newest version (3.31.1-4ubuntu0.6).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.22).
libxml2-dev is already the newest version (2.9.10+dfsg-5ubuntu0.20.04.7).
libxslt1-dev is already the newest version (1.1.34-4ubuntu0.20.04.1).
network-manager is already the newest version (1.22.10-1ubuntu2.4).
openssh-server is already the newest version (1:8.2p1-4ubuntu0.11).
sudo is already the newest version (1.8.31-1ubuntu1.5).
vim is already the newest version (2:8.1.2269-1ubuntu5.22).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu1.5).
imagemagick is already the newest version (8:6.9.10.23+dfsg-2.1ubuntu11.9).
libmagickwand-dev is already the newest version (8:6.9.10.23+dfsg-2.1ubuntu11.9).
build-essential is already the newest version (12.8ubuntu1.1).
iptables is already the newest version (1.8.4-3ubuntu2.1).
iputils-ping is already the newest version (3:20190709-3ubuntu1).
unzip is already the newest version (6.0-25ubuntu1.2).
htop is already the newest version (3.1.0-0~armbian20.08.2+1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
 ---> Adding futurebit user
adduser: The user `futurebit' already exists.
 ---> Cloning Apollo app
 ---> Using DEV branch
fatal: destination path '/opt/apolloapi' already exists and is not an empty directory.
Cloning into '/opt/apolloapi/apolloui'...
warning: Could not find remote branch dev-BTC to clone.
fatal: Remote branch dev-BTC not found in upstream origin
 ---> Installing firewall
 ---> Installing NVM
Installing nvm
mkdir: cannot create directory ‘/usr/local/nvm’: File exists
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14926  100 14926    0     0  66337      0 --:--:-- --:--:-- --:--:-- 66337
=> nvm is already installed in /usr/local/nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> nvm source string already in /root/.bashrc
=> bash_completion source string already in /root/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="/usr/local/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
v14.16.1 is already installed.
Now using node v14.16.1 (npm v6.14.12)
default -> 14.16.1 (-> v14.16.1)
 ---> Installing API modules

> [email protected] preinstall /usr/local/nvm/versions/node/v14.16.1/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)

/usr/local/nvm/versions/node/v14.16.1/bin/yarn -> /usr/local/nvm/versions/node/v14.16.1/lib/node_modules/yarn/bin/yarn.js
/usr/local/nvm/versions/node/v14.16.1/bin/yarnpkg -> /usr/local/nvm/versions/node/v14.16.1/lib/node_modules/yarn/bin/yarn.js
+ [email protected]
updated 1 package in 2.161s
yarn install v1.22.22
warning package.json: License should be a valid SPDX license expression
warning [email protected]: License should be a valid SPDX license expression
[1/5] Validating package.json...
warning [email protected]: License should be a valid SPDX license expression
[2/5] Resolving packages...
success Already up-to-date.
Done in 1.06s.
 ---> Installing UI modules
./install: line 79: cd: /opt/apolloapi/apolloui: No such file or directory
yarn install v1.22.22
warning package.json: License should be a valid SPDX license expression
warning [email protected]: License should be a valid SPDX license expression
[1/5] Validating package.json...
warning [email protected]: License should be a valid SPDX license expression
[2/5] Resolving packages...
success Already up-to-date.
Done in 1.11s.
 ---> Building UI (could take few minutes)
yarn run v1.22.22
warning package.json: License should be a valid SPDX license expression
$ pkg . --targets node8-linux-armv7 --no-bytecode
> [email protected]
> Fetching base Node.js binaries to PKG_CACHE_PATH
  fetched-v8.17.0-linux-armv7  [                    ] 0%
> Error! 404 Not Found
  https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v8.17.0-linux-armv7
> Asset not found by direct link:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v8.17.0-linux-armv7"}
> Not found in GitHub releases:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v8.17.0-linux-armv7"}
> Building base binary from source:
  built-v8.17.0-linux-armv7
> Error! Not able to build for 'armv7' here, only for 'arm64'
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
 ---> Starting firewall
 ---> Installing miner binaries
cp: cannot create regular file '/opt/apolloapi/backend/apollo-miner/futurebit-miner': Text file busy
 ---> Installing systemd files
 Installation complete
jr. member
Activity: 49
Merit: 5

https://github.com/jstefanop/apolloui-v2/tree/dev

Is it possible to integrate this dev branch into a current Apollo Miner?
I tried to install the new Web Ui V2 on the miner using git clone and checkout dev via npm...Unfortunately I get an error message when building

whats your error?
newbie
Activity: 8
Merit: 0

https://github.com/jstefanop/apolloui-v2/tree/dev

Is it possible to integrate this dev branch into a current Apollo Miner?
I tried to install the new Web Ui V2 on the miner using git clone and checkout dev via npm...Unfortunately I get an error message when building
hero member
Activity: 1143
Merit: 925
Hi I am New to futurebit mining

on my standard apollo It is blinking on and off Red light

is that normal? I am mining bitcoin with it currently
not sure if I am mining as fast as I should be.
thanks!

Yes, the blinking light means the unit is operating correctly and mining
newbie
Activity: 0
Merit: 0
Hi I am New to futurebit mining

on my standard apollo It is blinking on and off Red light

is that normal? I am mining bitcoin with it currently
not sure if I am mining as fast as I should be.
thanks!
hero member
Activity: 952
Merit: 938
I'm looking for a guide that helps tune the apollo btc to improve watts/TH.  I can't seem to find any kind of link or article in this thread or from an actual internet search engine.  Anyone done any work on this made public?


The most efficient default mode is ECO. That means you get the most TH per Watt in that mode out of the box.

You can then start fine tuning the startup script with different setting to get what you want. Personally I like to run it even lower than ECO to be able to basically run the whole miner virtually silent and still get around 1TH/s.
newbie
Activity: 9
Merit: 0
I'm looking for a guide that helps tune the apollo btc to improve watts/TH.  I can't seem to find any kind of link or article in this thread or from an actual internet search engine.  Anyone done any work on this made public?
Pages:
Jump to: