Hello community,
About two months ago I configured my first Storj node (storagenode2) on a mini PC NUC running Ubuntu 24.04.3 LTS, using a 4 TB disk. Everything is working fine.
Now I want to add a second node (storagenode3) using a new 16 TB disk mounted at /media/giga/DATA2. I already created the new identity and tried to run the initial setup command:
I am not sure how to continue from here. Do I need to change permissions on the disk or use a different path?
Another question: my first node is configured with port 28967. Can I use the same port for the second node, or do I need to configure a different one (e.g. 28968)?
Thanks in advance for your help.
Greetings from Nashville,
Docker creates the mounted directories with root user (first time) if dirs don’t exist, but you try to use user $(id -u), which may not have the permission for the mounted directories.
Either create the directories yourself with the same user (too late, I guess)
Or you need to fix ownership (chown -R ...)
Choose a different port. Only one service can use one port. (Note: you need to update multiple places in config. Listening address / external address…)
I notice that when you use uid and gid in the docker command, it has problem downloading the binary, because it tries to download the binary into /tmp inside the container, which I believe is owned by root.
Once it is download in tmp, it then gets moved to bin, folder.
The solution I came up was to mount /tmp where your bin folder is located, which is in config/bin
I would like to thank everyone who replied to my first post about my Storj node. Your advice helped me move forward with the setup.
I have now opened a new thread where I explain another issue I am facing with my second node. Here is the link in case you want to check it out and share your thoughts: