“error”: “trust: malformed cache: invalid character

Здравствуйте, такая же ошибка, но в логах

2021-05-04T09:36:23.013+0300 FATAL Unrecoverable error {“error”: “trust: malformed cache: invalid character ‘\x00’ looking for beginning of value”, “errorVerbose”: “trust: malformed cache: invalid character ‘\x00’ looking for beginning of value\n\tstorj.io/storj/storagenode/trust.LoadCacheData:96\n\tstorj.io/storj/storagenode/trust.LoadCache:36\n\tstorj.io/storj/storagenode/trust.NewPool:86\n\tstorj.io/storj/storagenode.New:379\n\tmain.cmdRun:177\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:64\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}

Как можно поправить?

See here, maybe you have the same damage?

https://forum.storj.io/t/fatal-unrecoverable-error-error-trust-malformed-cache-invalid-character-x00-looking-for-beginning-of-value/13571/11

thank you, I deleted ittrust-cache.json, I am back online :slight_smile:

Cool :slight_smile:
Now the question for the development team is why does it break sometimes? @Alexey let them know

For the same reason - files got corrupted because:

  • power loss;
  • USB cable is damaged or poorly connected;
  • not enough power for the external disk and it’s shutdown from time to time;
  • unexpected reboot (reset button, power cable, USB cable, BSOD, kernel panic, etc.);
  • bad blocks;
  • so on and so forth.

Basically - any reason which could damage a file.

1 Like