So if you enable the filewalker for regular startup and restart the node… it works properly? But you’re trying to leave it disabled (so it’s not triggered on start) and run it later?
Because you disabled it in the config.
You may try to enable it back in this command by adding the command line option --storage2.piece-scan-on-startup=true
Unfortunately, adding this command line option to the command starting filewalker on already running none with disabled storage2.piece-scan-on-startup doesn’t have an effect.
(the idea is to run filewalker, but not automatically and not at node startup)
Then you have only the one way: script it. I.e. enable and restart. Then disable. The next restart would be performed next time. Because this filewalker is running only on restart, so doesn’t make any sense to restart the node, when it’s disabled.
For me it is much more simplest way.