I had tried to play with Storj last year, and just recently thought I’d try again. I made a new identity and everything. My container won’t start. Here’s my info:
sudo rm -r /data/Storj && sudo mkdir /data/Storj && sudo chmod -R 777 /data/Storj
docker run --rm -e \
SETUP="true" \
--mount type=bind,source="/home/nephele/.local/share/storj/identity/storagenode",destination=/app/identity \
--mount type=bind,source="/data/Storj",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
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="0x----" \
-e EMAIL="----" \
-e ADDRESS="----:28967" \
-e STORAGE="2TB" \
--mount type=bind,source="/home/nephele/.local/share/storj/identity/storagenode",destination=/app/identity \
--mount type=bind,source="/data/Storj",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
docker logs storagenode
2021-08-27T01:54:08.092Z INFO Configuration loaded {"Location": "/app/config/config.yaml"}
2021-08-27T01:54:08.132Z INFO Operator email {"Address": "----"}
2021-08-27T01:54:08.132Z INFO Operator wallet {"Address": "0x----"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "info"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "bandwidth"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "orders"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "piece_expiration"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "pieceinfo"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "piece_spaced_used"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "reputation"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "storage_usage"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "used_serial"}
2021-08-27T01:54:08.656Z INFO db database does not exists {"database": "satellites"}
2021-08-27T01:54:08.660Z INFO db database does not exists {"database": "notifications"}
2021-08-27T01:54:08.660Z INFO db database does not exists {"database": "heldamount"}
2021-08-27T01:54:08.968Z INFO db database does not exists {"database": "pricing"}
2021-08-27T01:54:08.968Z INFO db database does not exists {"database": "secret"}
Error: Error creating revocation database: revocation database: boltdb: no such device
storj.io/storj/storage/boltdb.New:44
storj.io/storj/private/revocation.openDBBolt:52
storj.io/storj/private/revocation.OpenDB:35
storj.io/storj/private/revocation.OpenDBFromCfg:23
main.cmdRun:169
storj.io/private/process.cleanup.func1.4:363
storj.io/private/process.cleanup.func1:381
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.ExecWithCustomConfig:88
storj.io/private/process.ExecCustomDebug:70
main.main:385
runtime.main:204
ls ~/.local/share/storj/identity/
revocations.db storagenode
ls ~/.local/share/storj/identity/storagenode/
ca.----.cert ca.cert ca.key identity.----.cert identity.cert identity.key
When I try to mount my identity directory one level higher, I get errors about not having an identity. When I try to copy the revocation.db into the storagenode directory, I still get errors. What am I doing wrong?