Web dashboard shows storagenode on FreeBSD as offline

Having a similar issue here. Just moved my node from an Ubuntu system running in docker over to FreeBSD. According to logs and bandwidth usage the node appears to be running just fine, however the dashboard doesn’t load any information. The page comes up but shows status offline, version v0.0.0, doesn’t list any satellites and bandwidth / data statistics read all 0’s. Any idea what would cause this? Is this a bug or maybe a configuration error on my part?

I think that could be it. Can you make sure your paths are correct ?
Check if your identity folder has 6 files in it.

Identity folder has 6 files. I’m not using the default paths, but identity and storage paths are correct. Is there another one I’m missing? That’s all I ever had to configure with docker.

Show last 20 lines of the log

orj.io/drpc/drpcserver.(*Server).HandleRPC:173\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:124\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:161\n\tstorj.io/drpc/drpcctx.(*Tracker).track:51"}
2020-03-22T23:14:41.010-0700 INFO piecestore upload started {“Piece ID”: “NDXN5RMQYG5JS3NUNVBUUINWMKHLWB2Z67NYMWJG24U3YVKORTHQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Available Space”: 1225172565433}
2020-03-22T23:14:47.931-0700 INFO piecestore upload canceled {“Piece ID”: “NDXN5RMQYG5JS3NUNVBUUINWMKHLWB2Z67NYMWJG24U3YVKORTHQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “error”: “context canceled”, “errorVerbose”: “context canceled\n\tstorj.io/common/pb/pbgrpc.init.0.func3:70\n\tstorj.io/common/rpc/rpcstatus.Wrap:77\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:362\n\tstorj.io/storj/storagenode/piecestore.(*drpcEndpoint).Upload:215\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:988\n\tstorj.io/drpc/drpcserver.(*Server).doHandle:199\n\tstorj.io/drpc/drpcserver.(*Server).HandleRPC:173\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:124\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:161\n\tstorj.io/drpc/drpcctx.(*Tracker).track:51”}
2020-03-22T23:14:50.760-0700 INFO piecestore upload started {“Piece ID”: “Z7PGIGQVRWSX2VXLMFRXFSLN3CSAD7NZQL5FIEYPWHKMO4MA34MA”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Available Space”: 1225172565433}
2020-03-22T23:14:57.737-0700 INFO piecestore upload canceled {“Piece ID”: “Z7PGIGQVRWSX2VXLMFRXFSLN3CSAD7NZQL5FIEYPWHKMO4MA34MA”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “error”: “context canceled”, “errorVerbose”: “context canceled\n\tstorj.io/common/pb/pbgrpc.init.0.func3:70\n\tstorj.io/common/rpc/rpcstatus.Wrap:77\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).doUpload:362\n\tstorj.io/storj/storagenode/piecestore.(*drpcEndpoint).Upload:215\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func1:988\n\tstorj.io/drpc/drpcserver.(*Server).doHandle:199\n\tstorj.io/drpc/drpcserver.(*Server).HandleRPC:173\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:124\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:161\n\tstorj.io/drpc/drpcctx.(*Tracker).track:51”}
2020-03-22T23:15:04.746-0700 INFO piecestore upload started {“Piece ID”: “JOCIUEOLCOCKG2XEVO22GYKEC2TWK5RCJSONM2GFKPUYR6YC7NOQ”, “Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “Action”: “PUT”, “Available Space”: 1225172565433}

Can you show your docker run command and remove any personal info from it

Not using docker. I moved the node from docker to FreeBSD binary.

How do you see your dashboard ?

Dashboard looks normal other and showing offline and not being populated with any info. I access it over local network in firefox.

Can you screenshot the dashboard

I appreciate the help but I have to get some sleep. Can’t put it off any longer. It seems the node is running though so I will continue this in the morning.

If your paths are correct then it should NOT show zero stats. Double check your storage path. Did you include the storage folder in the path ?

It’s better to use a FreeBSD binary from the release tab on the GitHub instead of copying the binary from the docker. It could have not all dependencies in place.
The image was built for Linux, not for FreeBSD. They are different OSes

1 Like

I did not copy the binaries from docker. I am using the binary for FreeBSD.

The dashboard relies on quite a lot of client-server stuff in HTML. Don’t remember browser or version but my dashboard showed my node as offline, when it was actually ONLINE, but the browser didn’t load the javascript properly.

Please, check the CLI dashboard

./storagenode dashboard --config-dir /path/to/dir/with/config

CLI dashboard works and says it’s online.

1 Like

Then it’s just missed some js files for the web dashboard.
Could you please test it on Chrome?

Same result with chrome.