Domain name change

I changed the node ip and I wanted to use a new domain name but I get this error when I want to start the node

docker: Error response from daemon: Conflict. The container name “/storagenode” is already in use by container “f31d2aabd82b32d4b97a996a5933f4b16b02acbdb76a95f7cec0d42409951e1f”. You have to remove (or rename) that container to be able to reuse that name.
See ‘docker run --help’.

This happens because the container has already been made with the same name, and has to be deleted, and re-created. You first have to stop the container. Simply type docker stop -t 300 storagenode. Then, you have to delete the container. To delete the container, just type docker rm storagenode. Then, re-create the storagenode with the command that looks similar to the example here: https://pastebin.com/6rTduyrd.

2 Likes

It will take up to 2 hours until all satellites discover the config change. Doing that time you might see a low number of uploads and downloads.

If you haven’t redirected the logs to a file as explained in https://documentation.storj.io/resources/frequently-asked-questions#how-do-i-redirect-my-logs-to-a-file

Then you may want to store the container logs before you execute

For storing the logs of the container copy the file in the path reported when running docker inspect --format='{{.LogPath}}' storagenode

What is the command to see the logs, i cant find it

The logs are redirected to file but i restarted the pc and i dont remember the command to see the logs :slight_smile:

If you haven’t removed the container, it is docker logs storagenode.

1 Like

the log is to big to load :stuck_out_tongue:

https://documentation.storj.io/resources/frequently-asked-questions#why-is-my-log-so-long

link is old and broken

The post too :slight_smile:
What’s your question?