Docker restart fail after changing env 1tb to 2tb

I was running out of space and wanted to add space to node. Docker restart fails after changing env STORAGE 1tb to 2tb.
now i get this error

You changed more than that, maybe a typo in your docker command. “failed to load identity” is the clue. Post your docker command.

1 Like

I did it through portainer and litteraly stopped node changed 1TB to 2TB and restarted.

*docker run -d --restart unless-stopped --stop-timeout 300 *

*-p 28967:28967/tcp *

*-p 28967:28967/udp *

*-p “192.168.2.2:14002:14002” *

*-e WALLET=“x” *

-e EMAIL="great. x**" **

*-e ADDRESS=“xx.tplinkdns.com:28967” *

*-e STORAGE=“2TB" *

*–mount type=bind,source="/volume2/docker/Mining/storj/Identity",destination=/app/identity *

*–mount type=bind,source="/volume2/storj",destination=/app/config *

–name storagenode2tb storjlabs/storagenode:latest --operator.wallet-features=zksync

Just retried with portainer and reverted to env Storage=1TB, it started again and it works fine but only got 50GB left.

How do I expand my storage the correct way then ?

These look like 2 different types of quotes to me.

I don’t know if that’s the cause but it might be.

2 Likes

Just make sure that you have not use any word processors to form your docker run command, they can change quotes to curly ones, double dashes to hyphen and so on. Use only plain text editors or code editors like Visual Studio Code.