Unknown flag: --storage2.piece-scan-on-startup

Something changed on this flag?

Depends on how you trying to pass it.
The correct options are:

  • after the image name (docker)
  • in the storagenode run command (service)
  • as an environment variable STORJ_STORAGE2_PIECE_SCAN_ON_STARTUP
  • as an option storage2.piece-scan-on-startup: in the config.yaml file

So please provide your docker run command (you may mask the private info).

Sorry. I will clarify my question. I’m using --storage2.piece-scan-on-startup=false in my docker run settings and I have an unknown flag error.

Passing via RUN_PARAMS will lead to a various errors, because it’s now passed differently, see

and storagenode-updater did not recognize most of storagenode options, include this one.

1 Like

Thanks. I was using it before image name (docker) :unamused:

2 Likes