I am new to this field and I was trying to setup the apps but looks like it has to internet. I have internet access on the VM’s and the NAS is working well but I am seeing these errors. Any help to fix this?
This may not help your situation, but I have experienced this issue if the network is not available on startup. I usually get it after we’ve had a power outage. The NAS boots quicker than the network gateway so there is no network available at boot. My solution is to reboot the NAS after the network is up and that solves it for me.
Every time it happens, I think I should work out how to make docker rescan for the network or whatever it needs. But it happens infrequently enough that I never bother to get around to it.
They may fix this in Fangtooth if Incus uses a newer Docker Compose. It was only recently added, a switch to propagate the --pull switch setting from docker compose commands, which, for example, would allow bringing up containers with pull set to “never” so it doesn’t try to pull newer images.
Assuming that’s even the problem at play here.
I tried rebooting and still does not work. I am not understanding how there is no internet connection for the Apps but all the VM’s have internet connection.
I am new to this so it might be something simple I missed but I have no idea. These are the errors I am receiving
in the alerts.
Hmmm, it seems docker cannot be configured because of the inability to determine a default interface. Maybe that’s not the problem, but let’s rule it out.
Provide a screenshot of your TrueNAS Network configuration.
I wonder if this is some kind of race condition?
Where users with certain setups (bridges appear fairly often in reports) have their network take slightly too long to become usable during boot, and that has Docker fail without being able to recover on it’s own.
If that’s the case, I wonder if iX could make the network init and the way other systems that require network capability interact more robust.
I recall occasionally seeing similar reports during the Kubernetes era.
I may be using the race condition term incorrectly.
How would I set that up? I am new to this so not entirely sure what that means.
Network>Global Configuration>Settings
Enter your Gateway IP address in the appropriate slot and Save.
Thank you that worked. Yall are the best
Thank you, this worked
Well now the Apps page says Apps Service Running, when I click discover apps, I am getting 0 available apps and getting this error.
You’re missing nameservers, so DNS lookups are failing.
In your case, your router will most likely listen for DNS and forward it on to your ISP, so you can point it at 192.168.1.210 (this is an RFC1918 IP, no need to block it out, it’s only reachable via your local network).
If you prefer using a public DNS provider like Google, OpenDNS, Cloudflare, etc you can set it to any of those. In my case I use a mix of Quad9, Cloudflare, and OpenDNS.
Using Google as an example, you could set 8.8.8.8, 8.8.4.4
, or for Cloudflare 1.1.1.1, 1.0.0.1
.
So something like this? After I put this in, and go to apps page and click discover, it loads for a couple of minutes but then still says 0 apps available and gives this error.
I am new to this field and have not got into figuring out networking yet which is why this might be a simple fix but I just personally do not understand it yet.
Could you open CLI and confirm that you are able to ping github.com?
If not there’s probably still something up with your network settings - I’d make absolutely sure your gateway IP is correct (as .210 is nonstandard, though I’m trying to read through the red so I might just be misreading it).