Updating Docker and now storagenode dont work anymore

I updated docker and now storagenode doesnt work any more. I tried to install previous version of docker and still give me some errors. What can I do?

2020-02-11T18:07:15.359Z INFO process/exec_conf.go:230 Configuration loaded from: /app/config/config.yaml
2020-02-11T18:07:15.369Z INFO storagenode/dashboard.go:63 Node ID: 143BFywMhDey8ShCU1pAhpVF4FQKe6fbamnSjPQhfjCMYHTd6o
2020-02-11T18:07:15.370Z FATAL process/exec_conf.go:288 Unrecoverable error {“error”: “transport error: connection error: desc = “transport: error while dialing: dial tcp 127.0.0.1:7778: connect: connection refused””, “errorVerbose”: “transport error: connection error: desc = “transport: error while dialing: dial tcp 127.0.0.1:7778: connect: connection refused”\n\tstorj.io/storj/pkg/transport.DialAddressInsecure:31\n\tmain.dialDashboardClient:37\n\tmain.cmdDashboard:66\n\tstorj.io/storj/pkg/process.cleanup.func1.2:264\n\tstorj.io/storj/pkg/process.cleanup.func1:282\n\tgithub.com/spf13/cobra.(*Command).execute:762\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:852\n\tgithub.com/spf13/cobra.(*Command).Execute:800\n\tstorj.io/storj/pkg/process.Exec:73\n\tmain.main:296\n\truntime.main:203”}
storj.io/storj/pkg/process.cleanup.func1
/go/src/storj.io/storj/pkg/process/exec_conf.go:288
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800
storj.io/storj/pkg/process.Exec
/go/src/storj.io/storj/pkg/process/exec_conf.go:73
main.main
/go/src/storj.io/storj/cmd/storagenode/main.go:296
runtime.main
/usr/local/go/src/runtime/proc.go:203

Sometimes I got this;

C:\Users\vuli1\OneDrive\Desktop>docker exec -it storagenode /app/dashboard.sh
2020-02-11T18:10:00.606Z INFO process/exec_conf.go:230 Configuration loaded from: /app/config/config.yaml
2020-02-11T18:10:00.630Z INFO storagenode/dashboard.go:63 Node ID: 143BFywMhDey8ShCU1pAhpVF4FQKe6fbamnSjPQhfjCMYHTd6o
2020-02-11T18:10:00.717Z FATAL process/exec_conf.go:288 Unrecoverable error {“error”: “rpc error: code = Unknown desc = piecestore inspector: bandwidthdb error: no such table: bandwidth_usage_rollups”}
storj.io/storj/pkg/process.cleanup.func1
/go/src/storj.io/storj/pkg/process/exec_conf.go:288
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800
storj.io/storj/pkg/process.Exec
/go/src/storj.io/storj/pkg/process/exec_conf.go:73
main.main
/go/src/storj.io/storj/cmd/storagenode/main.go:296
runtime.main
/usr/local/go/src/runtime/proc.go:203
Press any key to continue . . .

I will repeat my sage :nerd_face: advice: Do not update stuff if you expect it to continue working!
(Disclaimer: not recommended by any security practices) :wink:

Do you have any firewall blocking stuff?

I dont think firewall is blocking

Please, show logs from the storagenode:

docker logs --tail 20 storagenode

I am seeing a similar issue. I updated my Docker and now it says this when trying to start up. Any insight?

Hello, @dankmonty,
Welcome to the forum!

Please, never use the docker kill for storagenode, use the docker stop -t 300 storagenode instead.
Please, update the tag to the :beta in your docker pull and docker run commands.

Thanks for the quick reply! I updated these but am still seeing the same error.

Please, try to remove quotes around paths and replace the \\ to \

1 Like

That fixed it. Thanks!

1 Like

hmm, i have no idea what was . When I start it I got this error
C:\Users\vuli1\OneDrive\Desktop>docker exec -it storagenode /app/dashboard.sh
2020-02-12T05:07:07.663Z INFO Configuration loaded from: /app/config/config.yaml
2020-02-12T05:07:07.709Z INFO Node ID: 143BFywMhDey8ShCU1pAhpVF4FQKe6fbamnSjPQhfjCMYHTd6o
Error: rpccompat: dial tcp 127.0.0.1:7778: connect: connection refused

Few seconds later I run only dashboard and it looks fine again

If your node has lot of data then dashboard takes time to load. Is your issue resolved now ?

Please, do not run the dashboard. Please, give me a logs:

docker logs --tail 20 storagenode

yes, now it is ok.

So,… Docker 2.2.0.3 is not a good idea to upgrade to.

1 Like