This is my first node so I’m still figuring everything out. I’m hoping it’s a simple issue, but when I run docker ps -a I get the following:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
xxxxxxxxxxxxx storjlabs/storagenode:beta “/entrypoint” 24 minutes ago Restarting (1) 39 seconds ago storagenode
xxxxxxxxxxxxx storjlabs/watchtower “/watchtower storage…” 2 hours ago Up 2 hours watchtower
Thanks! Here’s the output. I believe I updated the docker (followed the official install guide):
xxx-MacBook-Air:~ xxxxxxx
$ docker logs --tail 20 storagenode
–db.conn_max_lifetime duration Maximum Database Connection Lifetime, -1ns means the stdlib default (default -1ns)
–db.max_idle_conns int Maximum Amount of Idle Database connections, -1 means the stdlib default (default 20)
–db.max_open_conns int Maximum Amount of Open Database connections, -1 means the stdlib default (default 25)
–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”)
–identity-dir string main directory for storagenode identity credentials (default “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’ or ‘json’ (default “console”)
–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 to send telemetry to (default “collectora.storj.io:9000”)
–metrics.app string application name for telemetry identification (default “storagenode”)
–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)
–monkit.hw.oomlog string path to log for oom notices (default “/var/log/kern.log”)
Please, do not use any word processors to form the docker run command, they will replace the straight quotes to curly ones, double dashes to the long dash and so on. Even Notes will do it. Those special symbols are not valid for the terminal.
Use only plain text editors, nano from the CLI for example.
Stop and remove the container:
I was using Notes, so that must have cause that part of my issues, thanks.
My log now says this: 2020-01-22T17:04:29.148Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-22T17:04:29.150Z FATAL file or directory not found error: open identity/identity.cert: no such file or directory
I see the identity.cert file in the path I put into the parameters when I re ran the node setup.
Make sure that you uses a straight quotes not curly ones. The case is important too.
Just copy your actual path from the docker run command and try to list the content, as here