[Tech Preview] Storage Node Multinode Dashboard

i like your earnings, lol
how do i get in on that deal lol

the multinode dash looks nice

3 Likes

I can’t seem to compile it

FROM ubuntu:20.10

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y npm
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y golang
RUN apt-get install -y git

RUN git clone https://github.com/storj/storj -b main multinode

RUN cd /multinode/ && \
    go install ./cmd/multinode && \
    go install ./cmd/identity

RUN cd /multinode/web/multinode && \
    npm install && \
    npm run build

output

[successful layers removed]
Step 7/8 : RUN cd /multinode/ &&     go install ./cmd/multinode &&     go install ./cmd/identity
 ---> Running in 3baa881abf2b
go: downloading github.com/zeebo/errs v1.2.2
go: downloading github.com/spf13/cobra v1.0.0
go: downloading storj.io/private v0.0.0-20210225200021-48b617cbe817
go: downloading go.uber.org/zap v1.16.0
go: downloading github.com/spacemonkeygo/monkit/v3 v3.0.10
go: downloading storj.io/common v0.0.0-20210406151410-a1147267017f
go: downloading github.com/jackc/pgtype v1.6.2
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading github.com/zeebo/structs v1.0.2
go: downloading github.com/jackc/pgx v3.2.0+incompatible
go: downloading github.com/spf13/cast v1.3.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/jtolds/monkit-hw/v2 v2.0.0-20191108235325-141a0da276b3
go: downloading storj.io/monkit-jaeger v0.0.0-20210225162224-66fb37637bf6
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572
go: downloading storj.io/drpc v0.0.20
go: downloading github.com/mattn/go-sqlite3 v2.0.3+incompatible
go: downloading github.com/spf13/viper v1.7.1
go: downloading go.uber.org/atomic v1.7.0
go: downloading github.com/zeebo/admission/v3 v3.0.2
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading github.com/jackc/pgconn v1.8.0
go: downloading github.com/jackc/pgx/v4 v4.10.1
go: downloading github.com/gorilla/mux v1.8.0
go: downloading golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
go: downloading github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/jackc/pgproto3 v1.1.0
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading github.com/jackc/chunkreader v1.0.0
go: downloading github.com/jackc/pgproto3/v2 v2.0.6
go: downloading golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
go: downloading github.com/cloudfoundry/gosigar v1.1.0
go: downloading github.com/jackc/chunkreader/v2 v2.0.1
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/jtolds/tracetagger/v2 v2.0.0-rc5
go: downloading github.com/spf13/afero v1.1.2
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
go: downloading github.com/apache/thrift v0.12.0
go: downloading github.com/zeebo/float16 v0.1.0
go: downloading github.com/jackc/pgio v1.0.0
go: downloading golang.org/x/text v0.3.3
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/calebcase/tmpfile v1.0.2
go: downloading github.com/zeebo/incenc v0.0.0-20180505221441-0d92902eec54
# storj.io/monkit-jaeger
/root/go/pkg/mod/storj.io/monkit-jaeger@v0.0.0-20210225162224-66fb37637bf6/udp.go:158:10: ticker.Reset undefined (type *time.Ticker has no field or method Reset)
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:128049:10: warning: function may return address of local variable [-Wreturn-local-addr]
128049 |   return pNew;
       |          ^~~~
sqlite3-binding.c:128009:10: note: declared here
128009 |   Select standin;
       |          ^~~~~~~
The command '/bin/sh -c cd /multinode/ &&     go install ./cmd/multinode &&     go install ./cmd/identity' returned a non-zero code: 2

Is it an issue with the code in the development branch or something on my end?

Please update your golang version. That should fix it.

2 Likes

Yes, that did fix it. Go releases were faster than I thought, thanks

1 Like

hi Is there a possibility of dashboard actually breaking something on nodes or it’s just a display tool?

It is just a display tool

Are you going to publish your Docker image? :grin:

3 Likes