Node toolbox software setup

Hello Sirs,
I am trying to install multinode software Toolbox. I have several internet lines on same PC.
What is server.private-adress? Shall I put there local LAN card adress or?


How to explain to software which node shall use which LAN?

During installation of second node, I got such mistake:

2024-07-08T23:09:46+03:00	INFO	Configuration loaded	{"Location": "C:\\Program Files\\Storj1\\Storage Node\\config.yaml"}
2024-07-08T23:09:46+03:00	INFO	Anonymized tracing enabled
2024-07-08T23:09:46+03:00	INFO	Operator email	{"Address": "7437493@gmail.com"}
2024-07-08T23:09:46+03:00	INFO	Operator wallet	{"Address": "0xE158e01cDb77F9f220d8359335Fe0b75799829AA"}
2024-07-08T23:09:47+03:00	INFO	Telemetry enabled	{"instance ID": "12iEnRLd13zGfMLagiNo34AUT4oCRg4GVbbH4ueAbn2UMqiT74E"}
2024-07-08T23:09:47+03:00	INFO	Event collection enabled	{"instance ID": "12iEnRLd13zGfMLagiNo34AUT4oCRg4GVbbH4ueAbn2UMqiT74E"}
2024-07-08T23:09:47+03:00	INFO	db.migration.58	Remove unused trash column
2024-07-08T23:09:47+03:00	ERROR	failure during run	{"error": "Error migrating tables for database on storagenode: migrate: v58: database disk image is malformed\n\tstorj.io/storj/private/migrate.(*Migration).Run:212\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:387\n\tmain.cmdRun:98\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78", "errorVerbose": "Error migrating tables for database on storagenode: migrate: v58: database disk image is malformed\n\tstorj.io/storj/private/migrate.(*Migration).Run:212\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:387\n\tmain.cmdRun:98\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78"}
2024-07-08T23:09:47+03:00	FATAL	Unrecoverable error	{"error": "Error migrating tables for database on storagenode: migrate: v58: database disk image is malformed\n\tstorj.io/storj/private/migrate.(*Migration).Run:212\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:387\n\tmain.cmdRun:98\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78", "errorVerbose": "Error migrating tables for database on storagenode: migrate: v58: database disk image is malformed\n\tstorj.io/storj/private/migrate.(*Migration).Run:212\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:387\n\tmain.cmdRun:98\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78"}

If I run node under Docker it works well. What can be a problem?

Regards,
Alexander

no you left it as default 127.0.0.1 only port needed to be incremented in every node.
and node dashboard IP you put pc ip if you want to check dashboard inside your network
also why you need every node have different external ip? in same pc it is insane. Today traffic is enough to feed several nodes on one ip.

1 Like

You need to check all databases and fix malformed ones:

The docker node works, because it’s not tried to upgrade to 1.107.x, thus didn’t touch some databases, but you likely have this error in the logs too, it’s FATAL only for migrations. So you need to check and fix malformed databases anyway.

Alexey, If I stop Toolbox and run the same node in Docker, it starts without errors. It is not a database problem. First node in tool box working well, but 2 and 3 with what error. In case of switching to Docker - no problem.

вт, 9 июл. 2024 г. в 06:52, Alexey via Storj Community Forum (official) <storj@literatehosting.com>:

Just because I can). Is it possible with Toolbox to use different IP’s?

пн, 8 июл. 2024 г. в 23:47, Vadim via Storj Community Forum (official) <storj@literatehosting.com>:

toolbox do not run nodes, it just install it and put needed data to config file during install. I an myself using 2 wan in router, and not bothered my self divide them. Just made proper port forward, where client connect and ask information. but i have only 1 connection to pc with 1 subnet combined 2 provider connections.

@Vadim Vadim, what do you think about this issue?

Regards,
Alexander

Did you try to check databases on any case?
And please make sure that you used a correct path to the databases.

Sorry I am not db specialist. Dont know why it go broke.

The answer is different database versions, there is a migration process needed for 1.107.3. That tool ‘automatically’ will download latest version, and use it instead of the existing source version of storagenode.exe (older version). Therefore it will corrupt. Fix is to fix/overwrite the database it corrupted, replace the exe with the previous version you were running. Then restart to verify its working. Thereafter, it’s a one-time process when you do upgrade the version of that node; to update to a new database version upon first start - and is a VERY lengthy one, beware not to interrupt it. Also fix your server private-address, it’s can’t be on the same port as your external address, ie: change the port to :7779 or whatever it says, incrementally.

1 Like