Hello, im having some problems creating my 2nd node with Toolbox.
I think database is not created and getting errors because of that.
This is the log.
2021-01-31T21:23:40.987+0100 FATAL Unrecoverable error {"error": "Error starting master database on storagenode: group:\n--- CreateFile F:\\blobs: El sistema no puede encontrar el archivo especificado.\n--- CreateFile F:\\temp: El sistema no puede encontrar el archivo especificado.\n--- CreateFile F:\\garbage: El sistema no puede encontrar el archivo especificado.\n--- CreateFile F:\\trash: El sistema no puede encontrar el archivo especificado.", "errorVerbose": "Error starting master database on storagenode: group:\n--- CreateFile F:\\blobs: El sistema no puede encontrar el archivo especificado.\n--- CreateFile F:\\temp: El sistema no puede encontrar el archivo especificado.\n--- CreateFile F:\\garbage: El sistema no puede encontrar el archivo especificado.\n--- CreateFile F:\\trash: El sistema no puede encontrar el archivo especificado.\n\tmain.cmdRun:162\n\tstorj.io/private/process.cleanup.func1.4:363\n\tstorj.io/private/process.cleanup.func1:381\n\tgithub.com/spf13/cobra.(*Command).execute:842\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:950\n\tgithub.com/spf13/cobra.(*Command).Execute:887\n\tstorj.io/private/process.ExecWithCustomConfig:88\n\tstorj.io/private/process.Exec:65\n\tmain.(*service).Execute.func1:66\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
Hello, i tried with the newest version of toolbox.
Now, thats what i have.
2021-01-31T23:41:52.783+0100 FATAL Unrecoverable error {"error": "piecestore monitor: error verifying location and/or readability of storage directory: open F:\\storage-dir-verification: El sistema no puede encontrar el archivo especificado.", "errorVerbose": "piecestore monitor: error verifying location and/or readability of storage directory: open F:\\storage-dir-verification: El sistema no puede encontrar el archivo especificado.\n\tstorj.io/storj/storagenode/monitor.(*Service).Run.func1.1:131\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/storj/storagenode/monitor.(*Service).Run.func1:128\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
Looks like the file storage-dir-verification doesn’t exist. the databases are already ok.
This should be :28968.
Also, make sure that the server.private-address: have a different port from the default 7778.
This is a bad idea - you will expose your personal information to the internet like your email, wallet, your earnings, capacity and usage.
Please, remove this rule or replace the 14002 with 28968 since you confused them.
If you want to have a remote access to your dashboard use this method instead: How to remote access the web dashboard - Storj Docs
It will confuse with dashboard. But if that port is free on your router you can do it.
You should not forward it ever. The only needed port is 28968. But you want to publish it as 14002 for some unknown reason.
I should make it more clear:
the console.address: should contain an internal address and port of your dashboard. It never should be forwarded and better to bind it to the localhost only, i.e. console.address: 127.0.0.1:14002. Since it’s a second node, the binding port for the dashboard must be a different, i.e. console.address: 127.0.0.1:14003. It’s acceptable to make it listen on all addresses of your PC if you want to have an access to your dashboard from the local network. If so, you can make it as console.address: :14003 or console.address: 0.0.0.0:14003
the server.address: should contain an internal address and port where node should listen for incoming traffic from the customers or satellites. Since it’s a second node, it should be different from the default 28967, i.e. server.address: :28968.
the contact.external-address: should contain your external address and port. Since you want to publish your node not on 28968 but 14002, then it should be contact.external-address: ddnsUrl:14002. This address will be used by satellites and customers to contact your node. Thus you should forward 14002 port on your router to the 28968 port and IP of your PC with node and make sure that ddnsUrl:14002 is available from the internet. You can do it here: Open Port Check Tool - Test Port Forwarding on Your Router, put your ddnsUrl to the Remote Address and 14002 to the Port Number and click Check (the storagenode should be running to be able to answer).
the server.private-address: should contain local address and port where storagenode will listen for requests for the CLI dashboard. Since it’s a second node, it should be different from the default 7778, i.e. server.private-address: 127.0.0.1:7779. So, this port should never be forwarded too, as a web-dashboard’s one.