Hey community,
I am trying to set up my first node (on Synology NAS, but running the following on my M1 Mac), and I am having trouble getting assigned an identity, as I get the following error:
mv: rename identity to /usr/local/bin/identity: No such file or directory
This is after running
curl -L (removed cause link limitation but is ARM link) -o identity_linux_arm64.zip
unzip -o -link- (removed cause link limitation on this forum apparently)
chmod +x identity
sudo mv identity /usr/local/bin/identity
I also tried the one for MacOS (same error). I am unsure which one fits the M1 Mac.
I also tried just following the link, downloading it and running it, whereafter the terminal just gives me this:
021/09/11 17:26:15 proto: duplicate proto type registered: node.SigningRequest
2021/09/11 17:26:15 proto: duplicate proto type registered: node.SigningResponse
Identity management
Usage:
identity [command]
Available Commands:
authorize Send a certificate signing request for a serviceâs CA certificate
batch-generate generate lots of keys
certificate-authority Manage certificate authorities
create Create a new full identity for a service
help Help about any command
id Manage identities
revocations Print revocation information from a revocation database
version output the versionâs build information, if any
Flags:
âconfig-dir string service config directory (default â/Users/XXX/Library/Application Support/Storj/Identityâ)
âdb.conn_max_lifetime duration Maximum Database Connection Lifetime, -1ns means the stdlib default (default 30m0s)
âdb.max_idle_conns int Maximum Amount of Idle Database connections, -1 means the stdlib default (default 1)
âdb.max_open_conns int Maximum Amount of Open Database connections, -1 means the stdlib default (default 5)
âdebug.addr string address to listen on for debug endpoints (default â127.0.0.1:0â)
âdebug.trace-out string If set, a path to write a process trace SVG to
âdefaults string determines which set of configuration defaults to use. can either be âdevâ or âreleaseâ (default âreleaseâ)
-h, --help help for identity
âidentity-dir string root directory for identity output (default â/Users/mogens/Library/Application Support/Storj/Identityâ)
âlog.caller if true, log function filename and line number
âlog.development if true, set logging to development mode
âlog.encoding string configures log encoding. can either be âconsoleâ, âjsonâ, or âprettyâ.
âlog.level Level the minimum log level to log (default info)
âlog.output string can be stdout, stderr, or a filename (default âstderrâ)
âlog.stack if true, log stack traces
âmetrics.addr string address(es) to send telemetry to (comma-separated) (default âcollectora.storj.io:9000â)
âmetrics.app string application name for telemetry identification (default âidentityâ)
âmetrics.app-suffix string application suffix (default â-releaseâ)
âmetrics.instance-prefix string instance id prefix
âmetrics.interval duration how frequently to send up telemetry (default 1m0s)
âtracing.agent-addr string address for jaeger agent (default âagent.tracing.datasci.storj.io:5775â)
âtracing.app string application name for tracing identification (default âidentityâ)
âtracing.app-suffix string application suffix (default â-releaseâ)
âtracing.buffer-size int buffer size for collector batch packet size
âtracing.enabled whether tracing collector is enabled
âtracing.interval duration how frequently to flush traces to tracing agent (default 0s)
âtracing.queue-size int buffer size for collector queue size
âtracing.sample float how frequent to sample traces
Use âidentity [command] --helpâ for more information about a command.
Saving sessionâŚ
âŚcopying shared historyâŚ
âŚsaving historyâŚtruncating history filesâŚ
âŚcompleted.
Deleting expired sessions⌠2 completed.
[Process completed]
After this I tried opening the terminal and running: identity create storagenode
However it tells me the command identity is not found. And the file permissions seems to be in order (with âEveryoneâ being allowed to also edit).
Can someone try and push me in the right direction? Storj is a great project, that I would like to support.