1 (edited by blonde 2021-03-14 21:40:46)

Topic: Unable to update NetData on CentOS-7-x64-minimal +headless?

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2 (MARIADB edition)
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: CentOS-7-x64-minimal +headless
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
OS: CentOS-7-x64-minimal +headless


Hiya,


I found this command is presented for updating NetData as below:
> chmod +x netdata-latest.gz.run
> ./netdata-latest.gz.run --accept

This doesn't work on CentOS-7-x64-minimal +headless. I used this command below:
> yum update netdata

It does not updated anything, while I know that there is a new version available for download on GitHub? I checked if this is installed, the command below shall confirm it:
>yum install netdata

While the above command asked me to install this NetData, confirms that this service is not installed as NetData by the 'Downloadable installer'.

Then I downloaded the latest version of NetData from GitHub to my home directory and executed the command below after unzipping the downloaded content:
>  sh /netdata-v1.29.3/netdata-installer.sh
That game me error below as output:
'  netdata-v1.29.3/netdata-installer.sh: line 14: syntax error near unexpected token `<'
netdata-v1.29.3/netdata-installer.sh: line 14: `  done < <(echo "${PATH}" | tr ":" "\n")'   '

Could you please elaborate how shall I fix this error and what is the most professional and clean way to update all of the iRedMail including this NetData?


Tnx and best of luck

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.