Build Storj from Source for arch armel/ARMv5 builderror: "build constraints exclude all Go files"

I build storj for my ARMv5 stroage node myself, so far without any problems. But after version 1.37.2 I always get the following error message while building:

package storj.io/storj/cmd/connect-test
        imports storj.io/common/rpc/quic: build constraints exclude all Go files in /home/maxl95/go/pkg/mod/storj.io/common@v0.0.0-20210915201516-56ad343b6a7e/rpc/quic

This is how I build:

CGO_ENABLED=1 CC=arm-linux-gnueabi-gcc GOOS=linux GOARCH=arm GOARM=5 go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o bin/ ./cmd/...

Unfortunately, I have no idea how to fix the error. Maybe someone can help me?

I used such Dockerfile to build a storagenode:

FROM --platform=linux/arm/v5 golang:1.17-alpine as build
# RUN apt update && apt dist-upgrade -y && apt install npm -y
RUN apk add npm git bash gcc libc-dev
RUN git clone https://github.com/storj/storj.git && cd storj && git checkout v1.39.6
RUN cd storj/web/storagenode && npm install && npm run build && cd ../.. \
    && go get github.com/go-bindata/go-bindata/go-bindata \
    && go-bindata -prefix web/storagenode/ -fs -o storagenode/console/consoleassets/bindata.resource.go -pkg consoleassets web/storagenode/dist/... web/storagenode/static/... \
    && /usr/bin/env echo -e '\nfunc init() { FileSystem = AssetFile() }' >> storagenode/console/consoleassets/bindata.resource.go \
    && gofmt -w -s storagenode/console/consoleassets/bindata.resource.go \
    && git checkout .
RUN cd storj && ./scripts/release.sh install ./cmd/storagenode

FROM --platform=linux/arm/v5 alpine
RUN apk add libc6-compat
WORKDIR /app
COPY --from=build /go/bin/storagenode /app/storagenode
COPY --from=build /go/storj/cmd/storagenode/dashboard.sh /app/
COPY --from=build /go/storj/cmd/storagenode/entrypoint /
EXPOSE 28967
EXPOSE 14002
ENTRYPOINT [ "/entrypoint" ]

And this docker-compose.yaml to build and run it:

version: "3.7"
services:
  storagenode6:
    container_name: storagenode6
    restart: always
    stop_grace_period: 300s
    image: storagenode:arm
    build: .
    ports:
      - "28971:28967/tcp"
      - "28971:28967/udp"
      - "14006:14002"
    volumes:
      - type: bind
        source: /mnt/storj/storagenode6/identity/
        target: /app/identity
      - type: bind
        source: /mnt/storj/storagenode6/
        target: /app/config
    environment:
      - WALLET=0x000...
      - EMAIL=email
      - ADDRESS=external.address:28971
      - STORAGE=500GB
    command:
      - "--operator.wallet-features=zksync"
      - "--storage2.trust.sources=https://www.storj.io/dcs-satellites"
      # - "--log.level=info"
      # - "--log.development=false"
      # - "--log.caller=false"

So you can try to do it like this:

git clone https://github.com/storj/storj.git
cd storj
git checkout v1.39.6
cd web/storagenode
npm install
npm build
cd -
go get github.com/go-bindata/go-bindata/go-bindata
go-bindata -prefix web/storagenode/ -fs -o storagenode/console/consoleassets/bindata.resource.go -pkg consoleassets web/storagenode/dist/... web/storagenode/static/...
/usr/bin/env echo -e '\nfunc init() { FileSystem = AssetFile() }' >> storagenode/console/consoleassets/bindata.resource.go
gofmt -w -s storagenode/console/consoleassets/bindata.resource.go
git checkout .
./scripts/release.sh install ./cmd/storagenode

in ../bin you would have a binary

@Alexey thank you. that worked.

1 Like

Hey Alexey,
unfortunately I have a new problem since version 1.42.4. The build of the web interface runs without any problems, but then the following error occurs:

/home/maxl95/Schreibtisch/storj
Build timestamp: 1636362982
Git commit: 0265c10abb98c5dbe10aade180d272a3ae42f5f0-dirty
Tagged version: v1.42.4
v1.42.4
Running go install ./cmd/storagenode
# storj.io/storj/storagenode/console/consoleassets
storagenode/console/consoleassets/bindata.resource.go:1827:28: undefined: AssetFile

Maybe you have a solution for this too?

perhaps you need to use master?
In additional, could you post the whole log?
Seems the asset for web-console is not generated, or the file is not updated

Thanks for your quick replay.

I always followed your instructions from your first post. Here is the entire log:

┌──(maxl95㉿DESKTOP-SQMTDDA)-[~]
└─$ git clone https://github.com/storj/storj.git
cd storj
Klone nach 'storj' ...
remote: Enumerating objects: 93399, done.
remote: Counting objects: 100% (4666/4666), done.
remote: Compressing objects: 100% (2130/2130), done.
remote: Total 93399 (delta 2828), reused 4036 (delta 2458), pack-reused 88733
Empfange Objekte: 100% (93399/93399), 78.80 MiB | 6.20 MiB/s, fertig.
Löse Unterschiede auf: 100% (65892/65892), fertig.
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ git checkout v1.42.4                        
Hinweis: Wechsle zu 'v1.42.4'.

Sie befinden sich im Zustand eines 'losgelösten HEAD'. Sie können sich
umschauen, experimentelle Ă„nderungen vornehmen und diese committen, und
Sie können alle möglichen Commits, die Sie in diesem Zustand machen,
ohne Auswirkungen auf irgendeinen Branch verwerfen, indem Sie zu einem
anderen Branch wechseln.

Wenn Sie einen neuen Branch erstellen möchten, um Ihre erstellten Commits
zu behalten, können Sie das (jetzt oder später) durch Nutzung von
'switch' mit der Option -c tun. Beispiel:

  git switch -c <neuer-Branchname>

Oder um diese Operation rückgängig zu machen:
  git switch -

Sie können diesen Hinweis ausschalten, indem Sie die Konfigurationsvariable
'advice.detachedHead' auf 'false' setzen.

HEAD ist jetzt bei 0265c10ab release v1.42.4
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ cd web/storagenode
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj/web/storagenode]
└─$ npm install        
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

added 2293 packages, and audited 2295 packages in 24s

141 packages are looking for funding
  run `npm fund` for details

88 vulnerabilities (37 moderate, 51 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj/web/storagenode]
└─$ npm run build

> storj-storagenode@0.1.0 build
> vue-cli-service build


â ™  Building for production...Starting type checking service...
Using 1 worker with 2048MB memory limit
â ¸  Building for production...

 WARNING  Compiled with 3 warnings                                                                                      09:36:43

 warning  

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  fonts/font_regular.b396b059.ttf (251 KiB)
  fonts/font_medium.4030a28e.ttf (254 KiB)
  fonts/font_bold.97decd2b.ttf (254 KiB)
  js/app_0c5865e623c16eb953a2.js (356 KiB)
  js/vendors_0c5865e623c16eb953a2.js (599 KiB)

 warning  

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  app (1.05 MiB)
      js/vendors_0c5865e623c16eb953a2.js
      css/app.4ce344e8.css
      js/app_0c5865e623c16eb953a2.js


 warning  

webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

  File                                       Size                                    Gzipped

  dist/js/vendors_0c5865e623c16eb953a2.js    598.79 KiB                              176.35 KiB
  dist/js/app_0c5865e623c16eb953a2.js        356.26 KiB                              59.36 KiB
  dist/css/app.4ce344e8.css                  118.06 KiB                              19.39 KiB

  Images and other types of assets omitted.

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
      
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj/web/storagenode]
└─$ cd -              
~/storj
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ go get github.com/go-bindata/go-bindata/go-bindata
go get: installing executables with 'go get' in module mode is deprecated.
        To adjust and download dependencies of the current module, use 'go get -d'.
        To install using requirements of the current module, use 'go install'.
        To install ignoring the current module, use 'go install' with a version,
        like 'go install example.com/cmd@latest'.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
go get: added github.com/go-bindata/go-bindata v3.1.2+incompatible
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ go get -d github.com/go-bindata/go-bindata/go-bindata
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ go-bindata -prefix web/storagenode/ -o storagenode/console/consoleassets/bindata.resource.go -pkg consoleassets web/storagenode/dist/... web/storagenode/static/...
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ /usr/bin/env echo -e '\nfunc init() { FileSystem = AssetFile() }' >> storagenode/console/consoleassets/bindata.resource.go
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ gofmt -w -s storagenode/console/consoleassets/bindata.resource.go
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ ./scripts/release.sh install ./cmd/storagenode
Build timestamp: 1636533512
Git commit: 0265c10abb98c5dbe10aade180d272a3ae42f5f0-dirty
Tagged version: v1.42.4
v1.42.4
Running go install ./cmd/storagenode
# storj.io/storj/storagenode/console/consoleassets
storagenode/console/consoleassets/bindata.resource.go:1827:28: undefined: AssetFile
                                                                                                                                
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$                                                                                                                                                                                            2 ⨯

Why?

  1. Seems your directory is not clean. My instruction only for clean directory.
    Just tried - and it’s still work.
    Please, remove the repo folder and clone it again.

Thanks for your replay.

I removed the repo and go folder, changed the “go get -d” command to “go get” back again and started a new attempt. Unfortunately with the same result.

┌──(maxl95㉿DESKTOP-SQMTDDA)-[~]
└─$ git clone https://github.com/storj/storj.git
Klone nach 'storj' ...
remote: Enumerating objects: 93587, done.
remote: Counting objects: 100% (4854/4854), done.
remote: Compressing objects: 100% (2155/2155), done.
remote: Total 93587 (delta 2982), reused 4220 (delta 2620), pack-reused 88733
Empfange Objekte: 100% (93587/93587), 78.75 MiB | 1.91 MiB/s, fertig.
Löse Unterschiede auf: 100% (66046/66046), fertig.
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~]
└─$ cd storj
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ git checkout v1.42.4
Hinweis: Wechsle zu 'v1.42.4'.

Sie befinden sich im Zustand eines 'losgelösten HEAD'. Sie können sich
umschauen, experimentelle Ă„nderungen vornehmen und diese committen, und
Sie können alle möglichen Commits, die Sie in diesem Zustand machen,
ohne Auswirkungen auf irgendeinen Branch verwerfen, indem Sie zu einem
anderen Branch wechseln.

Wenn Sie einen neuen Branch erstellen möchten, um Ihre erstellten Commits
zu behalten, können Sie das (jetzt oder später) durch Nutzung von
'switch' mit der Option -c tun. Beispiel:

  git switch -c <neuer-Branchname>

Oder um diese Operation rückgängig zu machen:
  git switch -

Sie können diesen Hinweis ausschalten, indem Sie die Konfigurationsvariable
'advice.detachedHead' auf 'false' setzen.

HEAD ist jetzt bei 0265c10ab release v1.42.4
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ cd web/storagenode
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj/web/storagenode]
└─$ npm install
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

added 2293 packages, and audited 2295 packages in 30s

141 packages are looking for funding
  run `npm fund` for details

88 vulnerabilities (37 moderate, 51 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj/web/storagenode]
└─$ npm build
Unknown command: "build"

Did you mean this?
    npm run build # run the "build" package script

To see a list of supported npm commands, run:
  npm help
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj/web/storagenode]
└─$ npm run build                                                                                                                                                                              1 ⨯

> storj-storagenode@0.1.0 build
> vue-cli-service build


â ™  Building for production...Starting type checking service...
Using 1 worker with 2048MB memory limit
â ¸  Building for production...

 WARNING  Compiled with 3 warnings                                                                                                                                                         21:48:45

 warning  

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  fonts/font_regular.b396b059.ttf (251 KiB)
  fonts/font_medium.4030a28e.ttf (254 KiB)
  fonts/font_bold.97decd2b.ttf (254 KiB)
  js/app_0c5865e623c16eb953a2.js (356 KiB)
  js/vendors_0c5865e623c16eb953a2.js (599 KiB)

 warning  

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  app (1.05 MiB)
      js/vendors_0c5865e623c16eb953a2.js
      css/app.4ce344e8.css
      js/app_0c5865e623c16eb953a2.js


 warning  

webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

  File                                       Size                                                                      Gzipped

  dist/js/vendors_0c5865e623c16eb953a2.js    598.79 KiB                                                                176.35 KiB
  dist/js/app_0c5865e623c16eb953a2.js        356.26 KiB                                                                59.36 KiB
  dist/css/app.4ce344e8.css                  118.06 KiB                                                                19.39 KiB

  Images and other types of assets omitted.

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
      
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj/web/storagenode]
└─$ cd -
~/storj
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ go get github.com/go-bindata/go-bindata/go-bindata
go: downloading github.com/go-bindata/go-bindata v3.1.2+incompatible
go get: installing executables with 'go get' in module mode is deprecated.
        To adjust and download dependencies of the current module, use 'go get -d'.
        To install using requirements of the current module, use 'go install'.
        To install ignoring the current module, use 'go install' with a version,
        like 'go install example.com/cmd@latest'.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
go get: added github.com/go-bindata/go-bindata v3.1.2+incompatible
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ go-bindata -prefix web/storagenode/ -o storagenode/console/consoleassets/bindata.resource.go -pkg consoleassets web/storagenode/dist/... web/storagenode/static/...
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ /usr/bin/env echo -e '\nfunc init() { FileSystem = AssetFile() }' >> storagenode/console/consoleassets/bindata.resource.go
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ gofmt -w -s storagenode/console/consoleassets/bindata.resource.go
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$ ./scripts/release.sh install ./cmd/storagenode
Build timestamp: 1636663814
Git commit: 0265c10abb98c5dbe10aade180d272a3ae42f5f0-dirty
Tagged version: v1.42.4
v1.42.4
Running go install ./cmd/storagenode
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/zeebo/errs v1.2.2
go: downloading github.com/spf13/cobra v1.1.3
go: downloading go.uber.org/zap v1.16.0
go: downloading storj.io/common v0.0.0-20211021003554-f155346ccc11
go: downloading storj.io/private v0.0.0-20211029202355-a7eae71c382a
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/spacemonkeygo/monkit/v3 v3.0.17
go: downloading storj.io/drpc v0.0.26
go: downloading github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/google/go-cmp v0.5.5
go: downloading github.com/mattn/go-sqlite3 v1.14.8
go: downloading golang.org/x/sys v0.0.0-20211020064051-0ec99a608a1b
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/spf13/viper v1.7.1
go: downloading github.com/zeebo/admission/v3 v3.0.2
go: downloading github.com/zeebo/structs v1.0.2
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading storj.io/monkit-jaeger v0.0.0-20210426161729-debb1cbcbbd7
go: downloading go.etcd.io/bbolt v1.3.5
go: downloading github.com/go-redis/redis/v8 v8.7.1
go: downloading github.com/gorilla/mux v1.8.0
go: downloading storj.io/uplink v1.7.1-0.20211012154306-65bb87992c7c
go: downloading github.com/zeebo/float16 v0.1.0
go: downloading github.com/zeebo/incenc v0.0.0-20180505221441-0d92902eec54
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/magiconair/properties v1.8.5
go: downloading github.com/mitchellh/mapstructure v1.4.1
go: downloading github.com/pelletier/go-toml v1.9.0
go: downloading github.com/spf13/afero v1.6.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/ini.v1 v1.62.0
go: downloading github.com/apache/thrift v0.12.0
go: downloading github.com/calebcase/tmpfile v1.0.3
go: downloading github.com/jtolds/tracetagger/v2 v2.0.0-rc5
go: downloading github.com/lucas-clemente/quic-go v0.23.0
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
go: downloading go.opentelemetry.io/otel v0.18.0
go: downloading go.opentelemetry.io/otel/trace v0.18.0
go: downloading golang.org/x/text v0.3.6
go: downloading go.opentelemetry.io/otel/metric v0.18.0
go: downloading github.com/cheekybits/genny v1.0.0
go: downloading golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
go: downloading github.com/vivint/infectious v0.0.0-20200605153912-25a574ae18a3
go: downloading github.com/marten-seemann/qtls-go1-17 v0.1.0
# storj.io/storj/storagenode/console/consoleassets
storagenode/console/consoleassets/bindata.resource.go:1827:28: undefined: AssetFile
                                                                                                                                                                                                   
┌──(maxl95㉿DESKTOP-SQMTDDA)-[~/storj]
└─$                                                                                                                                                                          

Should be

go-bindata -prefix web/storagenode/ -fs -o storagenode/console/consoleassets/bindata.resource.go -pkg consoleassets web/storagenode/dist/... web/storagenode/static/...

@maxl95 You need to add git checkout . before

See

I updated my post

Thinking about upgrading to a new version a working node…

are the above both needed?

Yes, if you want to use a web-dashboard.

1 Like