Problems getting Linux CLI to run

Greetings,

I currently have one Win GUI node running and wanted to start a second one on a different device running CentOS 8.
However I just cant get it to start. I have to use a different port since the standard port is used by the GUI node, but when I use my noip hostname (same as for GUI) combined with port 28968 it will not connect at all and just restart the container constantly.
If I use my standard external IP instead of the hostname I get the error message “ERROR trust Failed to fetch URLs from source” in the logs and when trying to open the dashboard it will only show the node ID and then “Error: context cancelled”.
I am very new to Linux and therefore quite lost at this point.

Any help is greatly appreciated.

Just a couple of checks. Did you set up port forwarding for this new port and machine? Could you share the docker run command you are using? And please make sure no firewall is blocking the port.

This is the docker command I use:

docker run -d --restart unless-stopped --stop-timeout 300
-p 28968:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x9c0a8fa25CD83A902cBCfC1Bb04223aF69377022”
-e EMAIL=“My Email”
-e ADDRESS=“storjserver1.ddns.net:28968
-e STORAGE=“3.5TB”
–mount type=bind,source="/home/usr/.local/share/storj/identity/storagenode",destination=/app/identity
–mount type=bind,source="/mnt/Storj0",destination=/app/config
–name storagenode storjlabs/storagenode:beta

The port is forwarded exactly the same way as the standard port is for the other machine and a firewall rule has been added in Linux with:

firewall-cmd --permanent --add-port=28968/tcp

I don’t see an immediate issue there. Could you post a bit more of the log you’re getting after starting the node?

This is what the log says:

2020-04-19T08:54:18.544Z INFO Configuration loaded from: /app/config/config.yaml
2020-04-19T08:54:18.597Z INFO Operator email: My Email
2020-04-19T08:54:18.597Z INFO operator wallet: 0x9c0a8fa25CD83A902cBCfC1Bb04223aF69377022
2020-04-19T08:54:23.603Z ERROR Invalid configuration: invalid contact.external-address: lookup “storjserver1.ddns.net” failed: lookup storjserver1.ddns.net on 192.168.178.1:53: read udp 172.17.0.2:48750->192.168.178.1:53: read: no route to host
Error: invalid contact.external-address: lookup “storjserver1.ddns.net” failed: lookup storjserver1.ddns.net on 192.168.178.1:53: read udp 172.17.0.2:48750->192.168.178.1:53: read: no route to host

It then just repeats and repeats.
I also forgot to mention that I connect to my node via Remote Desktop if that has any significance.

Try to set another DNS on this PC, like Google’s 8.8.8.8. Your router doesn’t seem to resolve your ddns address.

Could you provide me with some commands to accomplish that or link me a guide?
As I said I am unfortunately not very familiar with Linux.

And Show us your Port forward on the Router

My router UI is German unfortunately but here is a screenshot:

And where is your 28967 forward?

Port 28967 is already forwarded for a different Device, my win GUI node

On another Router or where?

If you use DHCP, you can change it in your router for all PC’s in your network.
Heimnetz -> Netzwerk -> Netzwerkeinstellungen -> IPv4 Adressen -> Lokaler DNS-Server

Otherwise: https://linuxconfig.org/rhel-8-configure-static-ip-address

no same router:

You shouldn’t expose RDP to the Internet. Setup a VPN in your Fritzbox and connect to it if you want to access your LAN. It’s quite easy to setup.

Check mal die ports hier: https://www.ipfingerprints.com/portscan.php

Hast du lokal fixe IPs eingestellt?

Port 28967 wird offen angezeigt, port 28968 als zu.
Verstehe ich nicht, da beide im Router geöffnet sind…
nein keine lokalen fixen IPs.

Ja der 28968 ist natürlich closed wenn der node nicht läuft. Ich würde mal schauen ob dein Linux noch dieselbe ip hat. ip a ist dein freund

so wie es aussieht stimmt die IP mit der in der Fritz.box überein