Skip to content

[puppeth] deploy 'Dashboard' failed #22439

Closed
@rymuff

Description

@rymuff

System information

Geth version: geth version

Geth
Version: 1.10.0-stable
Architecture: amd64
Go Version: go1.16
Operating System: linux
GOPATH=
GOROOT=go

OS & Version: Linux & ubuntu 18.04
Commit hash : (if develop)

Expected behaviour

Actual behaviour

Found orphan containers (test_nginx_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Building dashboard
Sending build context to Docker daemon  215.6kB

Step 1/11 : FROM mhart/alpine-node:latest
 ---> c110a2637f35
Step 2/11 : RUN 	npm install connect serve-static && 		echo 'var connect = require("connect");'                                > server.js && 	echo 'var serveStatic = require("serve-static");'                      >> server.js && 	echo 'connect().use(serveStatic("/dashboard")).listen(80, function(){' >> server.js && 	echo '    console.log("Server running on 80...");'                     >> server.js && 	echo '});'                                                             >> server.js
 ---> Running in 6974f5ce4c15
npm notice
npm notice New patch version of npm available! 7.6.0 -> 7.6.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.6.1>
npm notice Run `npm install -g npm@7.6.1` to update!
npm notice
npm ERR! Tracker "idealTree" already exists

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-03-05T10_12_57_642Z-debug.log
The command '/bin/sh -c npm install connect serve-static && 		echo 'var connect = require("connect");'                                > server.js && 	echo 'var serveStatic = require("serve-static");'                      >> server.js && 	echo 'connect().use(serveStatic("/dashboard")).listen(80, function(){' >> server.js && 	echo '    console.log("Server running on 80...");'                     >> server.js && 	echo '});'                                                             >> server.js' returned a non-zero code: 1
Service 'dashboard' failed to build
ERROR[03-05|19:12:57.899] Failed to deploy dashboard container     err="Process exited with status 1"

Steps to reproduce the behaviour

What would you like to do? (default = stats)
 1. Show network stats
 2. Manage existing genesis
 3. Manage tracked machines
 4. Manage network components
> 4

 1. Tear down Nginx on directional@192.168.0.10
 2. Tear down Ethstats on directional@192.168.0.10
 3. Tear down Bootnode on directional@192.168.0.40
 4. Tear down Sealnode on directional@192.168.0.39
 5. Deploy new network component
> 5

What would you like to deploy? (recommended order)
 1. Ethstats  - Network monitoring tool
 2. Bootnode  - Entry point of the network
 3. Sealer    - Full node minting new blocks
 4. Explorer  - Chain analysis webservice
 5. Wallet    - Browser wallet for quick sends
 6. Faucet    - Crypto faucet to give away funds
 7. Dashboard - Website listing above web-services
> 7

Which server do you want to interact with?
 1. directional@192.168.0.10
 2. directional@192.168.0.11
 3. directional@192.168.0.39
 4. directional@192.168.0.40
 5. Connect another server
> 2

Which port should the dashboard listen on? (default = 80)
>

Shared port, which domain to assign? (default = 192.168.0.11)
>

Which ethstats service to list? (default = 192.168.0.10)
 1. 192.168.0.10
 2. List external ethstats service
 3. Don't list any ethstats service
> 1

Which explorer service to list? (default = don't list)
 1. List external explorer service
 2. Don't list any explorer service
> 2

Which wallet service to list? (default = don't list)
 1. List external wallet service
 2. Don't list any wallet service
> 2

Which faucet service to list? (default = don't list)
 1. List external faucet service
 2. Don't list any faucet service
> 2

Include ethstats secret on dashboard (y/n)? (default = yes)
>

Backtrace

[backtrace]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions