I have completed the setup up until running the following command :
docker run --rm -e SETUP=“true” --mount type=bind,source="",destination=/app/identity --mount type=bind,source="",destination=/app/config --name storagenode storjlabs/storagenode:latest
Although upon execution, I get a permission denied status message. Can anyone assist please?
So this is the full command :
docker run --rm -e SETUP=“true” --mount type=bind,source=C:\Users\***\AppData\Roaming\Storj\Identity\storagenode,destination=/app/identity --mount type=bind,source=C:\,destination=/app/config --name storagenode storjlabs/storagenode:latest
And get this error :
Error: open /app/config/config.yaml3848382200: permission denied
Although now when I try to run the following command :
docker run -d --restart unless-stopped --stop-timeout 300 -p 28967:28967/tcp -p 28967:28967/udp -p 127.0.0.1:14002:14002 -e WALLET=“0xMYWALLET_ADDRESS” -e EMAIL=“MY_EMAIL_ADDRESS” -e ADDRESS=“MY_PUBLIC_IP_ADDRESS:28967” -e STORAGE=“1TB” --mount type=bind,source=C:\Users\***\AppData\Roaming\Storj\Identity\storagenode,destination=/app/identity --mount type=bind,source=C:\StorjNode01,destination=/app/config --name storagenode storjlabs/storagenode:latest
I receive an access denied status message. Please help.
Hi, I also get the same error “Error: open /app/config/config.yaml165682803: permission denied”. What was the fix? I am unable to see any useful replies.
I think that it worked but now running in a different issues when I am tailing the logs
2023-04-28T12:21:40.649Z INFO Invalid configuration file value for key {“Process”: “storagenode-updater”, “Key”: “log.caller”}
2023-04-28T12:21:40.649Z INFO Invalid configuration file value for key {“Process”: “storagenode-updater”, “Key”: “log.output”}
2023-04-28T12:21:40.649Z INFO Anonymized tracing enabled {“Process”: “storagenode-updater”}
2023-04-28T12:21:40.651Z FATAL Error loading identity. {“Process”: “storagenode-updater”, “error”: “file or directory not found: open identity/identity.cert: not a directory”, “errorVerbose”: “file or directory not found: open identity/identity.cert: not a directory\n\tstorj.io/common/identity.Config.Load:326\n\tmain.cmdRun:108\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tmain.main:20\n\truntime.main:250”}
2023-04-28 12:21:40,655 INFO exited: storagenode-updater (exit status 1; not expected)
2023-04-28T12:21:40.739Z INFO Anonymized tracing enabled {“Process”: “storagenode”}
2023-04-28 12:21:40,740 INFO gave up: storagenode-updater entered FATAL state, too many start retries too quickly
2023-04-28T12:21:40.741Z ERROR Failed to load identity. {“Process”: “storagenode”, “error”: “file or directory not found: open identity/identity.cert: not a directory”, “errorVerbose”: “file or directory not found: open identity/identity.cert: not a directory\n\tstorj.io/common/identity.Config.Load:326\n\tmain.cmdRun:182\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tmain.main:478\n\truntime.main:250”}
Error: Failed to load identity: file or directory not found: open identity/identity.cert: not a directory storj.io/common/identity.Config.Load:326
main.cmdRun:182 storj.io/private/process.cleanup.func1.4:377 storj.io/private/process.cleanup.func1:395 github.com/spf13/cobra.(*Command).execute:852 github.com/spf13/cobra.(*Command).ExecuteC:960 github.com/spf13/cobra.(*Command).Execute:897 storj.io/private/process.ExecWithCustomConfigAndLogger:92
main.main:478
runtime.main:250
2023-04-28 12:21:40,742 WARN received SIGQUIT indicating exit request
2023-04-28 12:21:40,742 INFO waiting for storagenode, processes-exit-eventlistener to die
2023-04-28 12:21:40,745 INFO exited: storagenode (exit status 1; not expected)
2023-04-28 12:21:41,748 INFO stopped: processes-exit-eventlistener (terminated by SIGTERM)
~/.local/share/storj/identity/storagenode $ ls -l
total 24
-rw-r–r-- 1 pi pi 558 Apr 27 19:10 ca.1682619013.cert
-rw-r–r-- 1 pi pi 1088 Apr 27 19:10 ca.cert
-rw------- 1 pi pi 241 Apr 27 01:45 ca.key
-rw-r–r-- 1 pi pi 1096 Apr 27 19:10 identity.1682619013.cert
-rw-r–r-- 1 pi pi 1626 Apr 27 19:10 identity.cert
-rw------- 1 pi pi 241 Apr 27 01:45 identity.key