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.
. Thank you again.