Trying to install the agent on a cloud server on Digitalocean using an Ubuntu 18.04 droplet, with OpenLiteSpeed installed, and CyberPanel; and the error above appears.
Reinstalling does not help, same error.
Cannot post more than 2 links, so posting the error code here .
1 Like
OdysLam
January 26, 2021, 10:25am
2
Hi,
It seems to be an issue with the Google storage caching mechanism. Can you please try again and report back the results?
cc @Austin_Hemmelgarn for visibility.
Thanks!
Hi, tried twice. rebooted twice too. Same error .
OdysLam
January 26, 2021, 12:02pm
4
Hm, I see. Thanks for sending again the output.
Can you test if you can execute scripts from the /tmp folder? I think that the problem is that the /tmp folder is set as an invalid directory for the user to execute scripts. Our installer downloads everything in /tmp folder and then attempts to install from there.
As per this GitHub issue:
opened 07:47PM - 01 Sep 20 UTC
bug
area/packaging
priority/medium
I run `bash <(curl -Ss https://my-netdata.io/kickstart.sh)`
The first line o… utput says `/dev/fd/63: line 167: /tmp/netdata-test.GTtLvJePOp: Permission denied`
And it ends:
`ABORTED Cannot install netdata from source (the source directory does not include netdata-installer.sh). Leaving all files in /tmp/netdata-kickstart-Q30do8Yo21`
**It's the first time I get an error when installing Netdata. Can anyone advise me how to solve this problem?**
Full output:
`[root@daisy-5 ~]# bash <(curl -Ss https://my-netdata.io/kickstart.sh)
/dev/fd/63: line 167: /tmp/netdata-test.GTtLvJePOp: Permission denied
System : Linux
Operating System : GNU/Linux
Machine : x86_64
BASH major version:
--- Fetching script to detect required packages... ---
[/tmp/netdata-kickstart-y8DEbXhhIM]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-y8DEbXhhIM/install-required-packages.sh https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh OK
--- Running downloaded script to detect required packages... ---
[/tmp/netdata-kickstart-y8DEbXhhIM]# /usr/bin/bash /tmp/netdata-kickstart-y8DEbXhhIM/install-required-packages.sh netdata Loading /etc/os-release ...
You should have EPEL enabled to install all the prerequisites.
Check: http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/
> CentOS Version: 7 ...
> Checking for epel ...
/etc/os-release information:
NAME : CentOS Linux
VERSION : 7 (Core)
ID : centos
ID_LIKE : rhel fedora
VERSION_ID : 7
We detected these:
Distribution : centos
Version : 7
Codename : 7 (Core)
Package Manager : install_yum
Packages Tree : centos
Detection Method: /etc/os-release
Default Python v: 2 (will install python3 too)
Searching for distro_sdk ...
Searching for autoconf_archive ...
> Checking if package 'autoconf-archive' is installed...
Searching for libz_dev ...
> Checking if package 'zlib-devel' is installed...
Searching for libuuid_dev ...
> Checking if package 'libuuid-devel' is installed...
Searching for libmnl_dev ...
> Checking if package 'libmnl-devel' is installed...
Searching for json_c_dev ...
> Checking if package 'json-c-devel' is installed...
Searching for libuv ...
> Checking if package 'libuv-devel' is installed...
Searching for lz4 ...
> Checking if package 'lz4-devel' is installed...
Searching for openssl ...
> Checking if package 'openssl-devel' is installed...
Searching for judy ...
> Checking if package 'Judy-devel' is installed...
Searching for libelf ...
> Checking if package 'elfutils-libelf-devel' is installed...
All required packages are already installed. Now proceed to the next step.
OK
[/tmp/netdata-kickstart-y8DEbXhhIM]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-y8DEbXhhIM/sha256sum.txt https://storage.googleapis.com/netdata-nightlies/sha256sums.txt OK
[/tmp/netdata-kickstart-y8DEbXhhIM]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-y8DEbXhhIM/netdata-latest.tar.gz https://storage.googleapis.com/netdata-nightlies/netdata-latest.tar.gz OK
[/tmp/netdata-kickstart-y8DEbXhhIM]# tar -xf netdata-latest.tar.gz OK
ABORTED Cannot install netdata from source (the source directory does not include netdata-installer.sh). Leaving all files in /tmp/netdata-kickstart-y8DEbXhhIM
Can you please try to use the $TMPDIR variable to a location other than /tmp, e.g ~/netdata
If this doesn’t work, please try this suggestion:
opened 07:47PM - 01 Sep 20 UTC
bug
area/packaging
priority/medium
I run `bash <(curl -Ss https://my-netdata.io/kickstart.sh)`
The first line o… utput says `/dev/fd/63: line 167: /tmp/netdata-test.GTtLvJePOp: Permission denied`
And it ends:
`ABORTED Cannot install netdata from source (the source directory does not include netdata-installer.sh). Leaving all files in /tmp/netdata-kickstart-Q30do8Yo21`
**It's the first time I get an error when installing Netdata. Can anyone advise me how to solve this problem?**
Full output:
`[root@daisy-5 ~]# bash <(curl -Ss https://my-netdata.io/kickstart.sh)
/dev/fd/63: line 167: /tmp/netdata-test.GTtLvJePOp: Permission denied
System : Linux
Operating System : GNU/Linux
Machine : x86_64
BASH major version:
--- Fetching script to detect required packages... ---
[/tmp/netdata-kickstart-y8DEbXhhIM]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-y8DEbXhhIM/install-required-packages.sh https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh OK
--- Running downloaded script to detect required packages... ---
[/tmp/netdata-kickstart-y8DEbXhhIM]# /usr/bin/bash /tmp/netdata-kickstart-y8DEbXhhIM/install-required-packages.sh netdata Loading /etc/os-release ...
You should have EPEL enabled to install all the prerequisites.
Check: http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/
> CentOS Version: 7 ...
> Checking for epel ...
/etc/os-release information:
NAME : CentOS Linux
VERSION : 7 (Core)
ID : centos
ID_LIKE : rhel fedora
VERSION_ID : 7
We detected these:
Distribution : centos
Version : 7
Codename : 7 (Core)
Package Manager : install_yum
Packages Tree : centos
Detection Method: /etc/os-release
Default Python v: 2 (will install python3 too)
Searching for distro_sdk ...
Searching for autoconf_archive ...
> Checking if package 'autoconf-archive' is installed...
Searching for libz_dev ...
> Checking if package 'zlib-devel' is installed...
Searching for libuuid_dev ...
> Checking if package 'libuuid-devel' is installed...
Searching for libmnl_dev ...
> Checking if package 'libmnl-devel' is installed...
Searching for json_c_dev ...
> Checking if package 'json-c-devel' is installed...
Searching for libuv ...
> Checking if package 'libuv-devel' is installed...
Searching for lz4 ...
> Checking if package 'lz4-devel' is installed...
Searching for openssl ...
> Checking if package 'openssl-devel' is installed...
Searching for judy ...
> Checking if package 'Judy-devel' is installed...
Searching for libelf ...
> Checking if package 'elfutils-libelf-devel' is installed...
All required packages are already installed. Now proceed to the next step.
OK
[/tmp/netdata-kickstart-y8DEbXhhIM]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-y8DEbXhhIM/sha256sum.txt https://storage.googleapis.com/netdata-nightlies/sha256sums.txt OK
[/tmp/netdata-kickstart-y8DEbXhhIM]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-y8DEbXhhIM/netdata-latest.tar.gz https://storage.googleapis.com/netdata-nightlies/netdata-latest.tar.gz OK
[/tmp/netdata-kickstart-y8DEbXhhIM]# tar -xf netdata-latest.tar.gz OK
ABORTED Cannot install netdata from source (the source directory does not include netdata-installer.sh). Leaving all files in /tmp/netdata-kickstart-y8DEbXhhIM
In any case, we will get to the bottom of this!