Hello,
Is there a method to install apps if there is no Internet connection?
Maybe use an http proxy to access the web via? Not sure if this is an option for TrueNAS (I’d check, but my machine is offline at the moment)
edit Yeah, Network->Global Configuration->Settings, you can set an http proxy there
If your server is blocked from directly or indirectly (proxy) accessing the Internet for security reasons, you could set up a local git repo mirror. Thinking out loud here, so don’t take this as an exact step-by-step howto.
Assuming your NAS has local network access at least, you could set up a git repo on your local network, clone the container images you want into that repo, then install to your NAS from that.
There’s no way of simply downloading an installer file from the Internet and uploading it to the NAS, if that’s what you’re looking for.
Thanks for your reply.
There’s no way of simply downloading an installer file from the Internet and uploading it to the NAS, if that’s what you’re looking for.
I was indeed looking to download something and then transfer it to the NAS and install it there. Initial thought was: how hard can it be?
In which case you should feel free to implement it yourself
Ha ha. Unfortunately I might have no other choice.
Or you could attach a wifi bridge and connect it to your phones hotspot.
I’m guessing the OP’s system has no Internet access for a very good (security?) reason
A sneakernet [1] connection is all that I have.
So your NAS is not connected to any network at all? #confused
The only way I can think of would be a Custom App using a local only repository. Basically host the it on a local network. The TN box won’t need internet access but you’ll likely need at least temporary access from your repository in order to set it up.
Jailmaker might be able to do it, can you load them directly from a local source? I wonder…
Edit: Yes, it looks like you should be able to use jailmaker, download everything (debs, containers and whatnot) and transfer it to portable media elsewhere, and then copy it locally to your TN system. Good luck getting all the dependancies though.
OK. I’ll admit. There is a local network.
And no cellphone signal in that room ?
Okay, I’m out. Joking aside, if you’re going to deliberately give us false details while we’re trying to help you out there’s no point.
Good luck
I read it differently, as network does not necessarily mean internet access.
Effectively, TrueNAS apps are designed to be installed “off the internet”
Yes, you could spoof the parts of the internet needed
BUT, it’s possible to install docker apps with no network access by pushing the containers to your own registery or manually loading them.
As mentioned, Jailmaker would be a suitable approach for this, but even Jailmaker expects to be able to pull the jail’s OS image from “the internet”. Of course, you could setup the jail on an internet connected system and then replicate the dataset to the non internet connected system.