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