#Netdata Offline install issue

1 messages · Page 1 of 1 (latest)

leaden siren
#

I have a server that I want to deploy netdata on. This server cannot access the Internet. Can I copy it from another server in the same environment that has netdata installed? What should I do?

vocal zealot
leaden siren
vocal zealot
#

this has to be run on a machine that has internet access

#

you're installing netdata into ./netdata-offline and then you copy ./netdata-offline on the offline node

brazen lantern
#

Actually, that looks like either a bug in the kickstart script, or some issue with GitHub.

#

@leaden siren Can you share whether the output you are seeing was on the system you were trying to prepare the offline install directory on, or on the system you were trying to use the prepared offline install directory to actually install things.

leaden siren
leaden siren
brazen lantern
#

I suspect it's related to similar issues we’ve had reports of from other users. Something seems to be up with GitHub that’s causing failures when trying to fetch static build artifacts.

brazen lantern
#

At the moment I’m not sure there is much you can do since we’ve not figured out what’s actually going on here. I hope this has all just been due to some issue with GitHub itself (there have been a number of incidents on their infrastructure over the past few weeks), in which case it may just work if you try again, though I’m not exceptionally optimistic that this is the case.

Info about the internet service provider being used for the system you are seeing the issues on would be helpful though, as that should help us rule out the possibility that it’s something resulting from a particular ISP doing something stupid.

leaden siren
leaden siren
#

🥹

#

anybody help

vocal zealot
#

if it was github it should be resolved by now

#

did you try again ?

magic sail
#

This is a scripting issue. I can download all the files using

curl -L

but I repro your exact issue when using the script.

In fact, I can download all files to "/tmp/netdata-offline" and the checksum error still comes up which suggests that it's not really doing what it ought to be.

leaden siren
leaden siren
brazen lantern
#

Sorry about the really slow response on this. Offline install support is unfortunately not the highest priority here.

It looks like there are two separate issues here:

  1. We’re not handling the case in the script of not actually fetching any of the static build archives (and thus the validation step is running incorrectly).
  2. We’re not handling the fact that there exist braindead firewalls that block HTTP HEAD requests (which we use to check if the files exist on the server before downloading them so that we can differentiate the file not being there (which is usually not an issue) from the download of the file failing for some other reason).

I’m working on a PR to resolve both issues right now, and it should hopefully be fixed by this Friday at the latest.

leaden siren
jovial dagger
#

I have the same problem, it seems the error when running kickstart has not been fixed, can anyone help?

jovial dagger
#

I'm having problems with the path configuration in the netdata-kickstart.sh file, because the default configuration is export NETDATA_STATIC_ARCHIVE_URL="https://github.com/netdata/netdata/releases/download/v${INSTALL_VERSION}/netdata -${arch}-v${INSTALL_VERSION}.gz.run" .
Meanwhile the path on github is https://github.com/netdata/netdata-nightlies/releases/..... different from the configuration path https://github.com/netdata/netdata/releases/download /${latest}/ in file netdata-kickstart.sh