SCALE 25.04 Storj App Graceful Exit identity issues

So I unfortunately need to reimage this server and want to gracefully exit my storj node to re add it after I wipe it (data is going to be wiped as well). This is a bit of a weird one, I go into the docker shell directly and run the normal command:

./storagenode exit-satellite --identity-dir /identity --config-dir /config

Apparently it does not or cannot read those files running from within the shell:

{“Process”: “storagenode”, “error”: “file or directory not found: open /identity/identity.cert: no such file or directory”, “errorVerbose”: “file or directory not found: open /identity/identity.cert: no such file or directory\n\tstorj.io/common/identity.Config.Load:326\n\tmain.cmdGracefulExitInit:110\n\tmain.newGracefulExitInitCmd.func1:44\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\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:115\n\tmain.main:34\n\truntime.main:283”}

The files are certainly there and readable, same with the config directory. Not really sure what else to try since this is obviously supposed to be a pretty straight forward process.

For anyone having this same issue it was a PEBKAC issue. just run the binary from container shell root with the full path to the binary:

./bin/storagenode exit-satellite --identity-dir identity --config-dir config