Здравствуйте, ребутнулся пк и погибло 2 ноды на Windows, 3я на другом работает дальше, не хватает знаний чтобы оживить.
Базы проверил все ОК. Удалял, чтобы создались новые, не помогает. trust-cache, Config тоже без изменений.
Нужна помощь профессионалов. в логе вот так при попытке запуска
Check the file: ‘trust-cache.json’ (in install directory) for corruption. Simply load it in a text editor like notepad. If it’s all ‘NanNanNanNan…’, just delete it, and restart the node.
2 cents,
Julio
Удали все содержимое папки filestatcache. Если причина в ней, то содержимое пересоздастся и будет все ок.
Здравствуйте @Froowow ,
Добро пожаловать на форум!
Сначала проверьте диски с данными на ошибки и исправьте их, затем - системный диск.
После этого откройте config.yaml
текстовым редактором Notepad++ и включите отображение невидимых символов.
Просмотрите, нет ли странных символов в опциях?
Ещё возможно будет проще его пересоздать. Переименуйте существующий, затем выполните команду от имени администратора в PowerShell:
& "C:\Program Files\Storj\Storage Node\storagenode.exe" config --config-dir "C:\Program Files\Storj\Storage Node\"
она должна создать конфиг в указанной папке, исправьте там значения на ваши (пути к данным и identity, размер, порты, адрес, кошелёк, email) и попробуйте запустить узел. Если пути указаны верно, узел должен запуститься. Если контактный адрес указан верно и проброс портов работает - узел должен быть онлайн.
Можно сразу указать все нужные параметры прямо в команде storagenode.exe config
, какие есть можно увидеть в справке:
& "C:\Program Files\Storj\Storage Node\storagenode.exe" setup --help
Сделал checkdisk один диск целый, второй побило. С пересозданием config.yaml поднялась одна нода, причем на битом диске.
Теперь проблемы со второй, базы целые, но все равно ошибка.
Summary
2025-03-15T00:26:23+05:00 | INFO | db.migration.57 | Create new bandwidth_usage table, backfilling data from bandwidth_usage_rollups and bandwidth_usage tables, and dropping the old tables. |
---|---|---|---|
2025-03-15T00:26:23+05:00 | ERROR | failure during run | {error: Error migrating tables for database on storagenode: migrate: v57: no such table: bandwidth_usage_rollups\n\tstorj.io/storj/private/migrate.(*Migration).Run:221\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:415\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\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: v57: no such table: bandwidth_usage_rollups\n\tstorj.io/storj/private/migrate.(*Migration).Run:221\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:415\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\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:102\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\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} |
2025-03-15T00:26:23+05:00 | FATAL | Unrecoverable error | {error: Error migrating tables for database on storagenode: migrate: v57: no such table: bandwidth_usage_rollups\n\tstorj.io/storj/private/migrate.(*Migration).Run:221\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:415\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\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: v57: no such table: bandwidth_usage_rollups\n\tstorj.io/storj/private/migrate.(*Migration).Run:221\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:415\n\tmain.cmdRun:100\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\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:102\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\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} |
У вас база данных повреждена, проверьте их все на ошибки и исправьте:
Или пересоздайте повреждённые (пока что узел нашёл повреждение в bandwidth.db
и её точно нужно пересоздавать и, к сожалению, вы потеряете статистику использования сетевого трафика):