Migrating of Windows node to Docker node

Ok, clear. What is a proper algoritm to move node from Win to Docker? Just run the Docker run command with files location paths from Win folder structure?

Looks something is broken. After moving of files to “storage” folder, node is not starting. Run command is same is previous.


Does it mean data base is corrupted?

The proper way is to use this guide:

TL’DR

  1. Stop the node
  2. Move content of data location to the storage subfolder
  3. Move orders from C:\Program Files\Storj\Storage Node\ to the data location
  4. Run docker node using the data location path (do not add storage to the path).

Perhaps your docker run command is not the same.
Please copy it here between two new lines with three backticks like this

```
docker run -d ...
```

you may mask your private info.

Here it is:

docker run -d --restart unless-stopped --stop-timeout 300 -p 192.168.1.66:28971:28967/tcp -p 192.168.1.66:28971:28967/udp -p 127.0.0.1:14004:14002 -e WALLET="0x8675290882f594227d9b69d1fc434bf54b2b5e6f" -e EMAIL="7437493@gmail.com" -e ADDRESS="xxx.xxx.xxx.179:28971" -e STORAGE="16.3TB" --mount type=bind,source="F:\Identity\storagenode D1.3",destination=/app/identity --mount type=bind,source="F:\Storj D1.3",destination=/app/config --name storagenodeD1.3 storjlabs/storagenode:latest

If you did configure the port forwarding rule on your router - it should work.
Please post the last 20 lines from your logs here between two new lines with three backticks as before.

Make sure that you do not use 28971 TCP/UDP port somewhere else.

Here it is:
2023-03-26T16:33:51.224Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “WJCFF5XZFHM3TFXZR3Q6XMPIGUJPHHE342NE2ZD52HGVRDIDHY7Q”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Size”: 18176, “Remote Address”: “172.17.0.1:34294”}
2023-03-26T16:33:51.360Z ERROR piecestore failed to add bandwidth usage {“Process”: “storagenode”, “error”: “bandwidthdb: database disk image is malformed”, “errorVerbose”: “bandwidthdb: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).getSummary:171\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Summary:113\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Add:52\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).beginSaveOrder.func1:843\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:530\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:243\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:33\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:61\n\tstorj.io/common/experiment.(*Handler).HandleRPC:42\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:124\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:66\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:114\n\tstorj.io/drpc/drpcctx.(*Tracker).track:35”}
2023-03-26T16:33:51.361Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “JQHGGAX5L5MG2ZOTSSD3PC66RNAGWTVRBQAFJL4ZLWFGMSYF6JMQ”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Size”: 362752, “Remote Address”: “172.17.0.1:34216”}
2023-03-26T16:33:51.652Z INFO piecestore upload started {“Process”: “storagenode”, “Piece ID”: “OSFPB2RLAFQYTKN4GQXC7ZAN7NH5TDYPSU5X7ICJWBWYYWIQSZDA”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Available Space”: 16261368410011, “Remote Address”: “172.17.0.1:34298”}
2023-03-26T16:33:52.888Z ERROR piecestore failed to add bandwidth usage {“Process”: “storagenode”, “error”: “bandwidthdb: database disk image is malformed”, “errorVerbose”: “bandwidthdb: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).getSummary:171\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Summary:113\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Add:52\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).beginSaveOrder.func1:843\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:530\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:243\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:33\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:61\n\tstorj.io/common/experiment.(*Handler).HandleRPC:42\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:124\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:66\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:114\n\tstorj.io/drpc/drpcctx.(*Tracker).track:35”}
2023-03-26T16:33:52.894Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “OSFPB2RLAFQYTKN4GQXC7ZAN7NH5TDYPSU5X7ICJWBWYYWIQSZDA”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Size”: 7936, “Remote Address”: “172.17.0.1:34298”}
2023-03-26T16:33:53.435Z INFO piecestore upload started {“Process”: “storagenode”, “Piece ID”: “D6ZKEGLS3UFJMWEDBIB3CNHTRBMUKVWVJZIOXRQDIKPGGSKPLDVQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Available Space”: 16261368401563, “Remote Address”: “172.17.0.1:34300”}
2023-03-26T16:33:54.044Z ERROR piecestore failed to add bandwidth usage {“Process”: “storagenode”, “error”: “bandwidthdb: database disk image is malformed”, “errorVerbose”: “bandwidthdb: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).getSummary:171\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Summary:113\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Add:52\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).beginSaveOrder.func1:843\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:530\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:243\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:33\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:61\n\tstorj.io/common/experiment.(*Handler).HandleRPC:42\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:124\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:66\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:114\n\tstorj.io/drpc/drpcctx.(*Tracker).track:35”}
2023-03-26T16:33:54.045Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “IVFG3FPDJUPZ3NPHNVRJKS2ZO7HX75MCUIOUHEN2N3TPG4TM6TJQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Size”: 2319360, “Remote Address”: “172.17.0.1:34296”}
2023-03-26T16:33:54.303Z ERROR piecestore failed to add bandwidth usage {“Process”: “storagenode”, “error”: “bandwidthdb: database disk image is malformed”, “errorVerbose”: “bandwidthdb: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).getSummary:171\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Summary:113\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Add:52\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).beginSaveOrder.func1:843\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:530\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:243\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:33\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:61\n\tstorj.io/common/experiment.(*Handler).HandleRPC:42\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:124\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:66\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:114\n\tstorj.io/drpc/drpcctx.(*Tracker).track:35”}
2023-03-26T16:33:54.304Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “D6ZKEGLS3UFJMWEDBIB3CNHTRBMUKVWVJZIOXRQDIKPGGSKPLDVQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Size”: 580096, “Remote Address”: “172.17.0.1:34300”}
2023-03-26T16:33:57.747Z INFO piecestore upload started {“Process”: “storagenode”, “Piece ID”: “7C3PTMH4XMTQTPUTBKDGHKJFBLANSKS5IQ7Z5PFWQFGFPKH5YGYQ”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Available Space”: 16261365501083, “Remote Address”: “172.17.0.1:34234”}
2023-03-26T16:33:58.079Z ERROR piecestore failed to add bandwidth usage {“Process”: “storagenode”, “error”: “bandwidthdb: database disk image is malformed”, “errorVerbose”: “bandwidthdb: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).getSummary:171\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Summary:113\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Add:52\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).beginSaveOrder.func1:843\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:530\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:243\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:33\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:61\n\tstorj.io/common/experiment.(*Handler).HandleRPC:42\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:124\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:66\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:114\n\tstorj.io/drpc/drpcctx.(*Tracker).track:35”}
2023-03-26T16:33:58.080Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “7C3PTMH4XMTQTPUTBKDGHKJFBLANSKS5IQ7Z5PFWQFGFPKH5YGYQ”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Size”: 23808, “Remote Address”: “172.17.0.1:34234”}
2023-03-26T16:33:59.954Z INFO piecestore upload started {“Process”: “storagenode”, “Piece ID”: “FWPGHBZ6Q3X74Y4CFR23ZV4W76RYTKSX6ZIE2AACOIKC4RWZ34QQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Available Space”: 16261365476763, “Remote Address”: “172.17.0.1:34308”}
2023-03-26T16:34:00.571Z INFO piecestore upload started {“Process”: “storagenode”, “Piece ID”: “KTJ4HKRU2BQJQOFWV5KDDH3FYQQKSF3EDJD3357ZAKYOLK55SJ4Q”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Available Space”: 16261365476763, “Remote Address”: “172.17.0.1:34292”}
2023-03-26T16:34:00.894Z ERROR piecestore failed to add bandwidth usage {“Process”: “storagenode”, “error”: “bandwidthdb: database disk image is malformed”, “errorVerbose”: “bandwidthdb: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).getSummary:171\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Summary:113\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Add:52\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).beginSaveOrder.func1:843\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:530\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:243\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:33\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:61\n\tstorj.io/common/experiment.(*Handler).HandleRPC:42\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:124\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:66\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:114\n\tstorj.io/drpc/drpcctx.(*Tracker).track:35”}
2023-03-26T16:34:00.895Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “FWPGHBZ6Q3X74Y4CFR23ZV4W76RYTKSX6ZIE2AACOIKC4RWZ34QQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Size”: 580096, “Remote Address”: “172.17.0.1:34308”}
2023-03-26T16:34:01.315Z ERROR piecestore failed to add bandwidth usage {“Process”: “storagenode”, “error”: “bandwidthdb: database disk image is malformed”, “errorVerbose”: “bandwidthdb: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).getSummary:171\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Summary:113\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Add:52\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).beginSaveOrder.func1:843\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Upload:530\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:243\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:33\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:61\n\tstorj.io/common/experiment.(*Handler).HandleRPC:42\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:124\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:66\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:114\n\tstorj.io/drpc/drpcctx.(*Tracker).track:35”}
2023-03-26T16:34:01.315Z INFO piecestore uploaded {“Process”: “storagenode”, “Piece ID”: “KTJ4HKRU2BQJQOFWV5KDDH3FYQQKSF3EDJD3357ZAKYOLK55SJ4Q”, “Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “Action”: “PUT”, “Size”: 33024, “Remote Address”: “172.17.0.1:34292”}