The output I get is 10.8 and not 10.8.0 ?

Outputs below hope they help!

pi@raspberrypi:~ $ uname -m
armv7l
pi@raspberrypi:~ $ cat /etc/lsb-release
cat: /etc/lsb-release: No such file or directory
pi@raspberrypi:~ $ cat /etc/debian_version
10.8
pi@raspberrypi:~ $ uname -s
Linux
pi@raspberrypi:~ $ uname -r
5.10.11-v7+
pi@raspberrypi:~ $ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux

Simon - Hestor Ltd

On 3 Mar 2021, at 14:43, Adam Armstrong via observium <observium@observium.org> wrote:

I assume this is because the current Debian version is 10.8.0, which would match 8.0 if you’re careless J
 
Adam.
 
From: Simon Smith <simonsmith5521@gmail.com> 
Sent: 03 March 2021 14:37
To: Observium <observium@observium.org>
Cc: Adam Armstrong <adama@observium.org>
Subject: Re: [Observium] Observium Installation on Raspberry Pi 4 (Raspbian GNU/Linux 10 (buster))
 
Hi Adam,
 
The issue seems to be the bash script itself I think?
 
The script is indeed detecting the distro and version correctly!
 
It just seems to be marking the statement as true when it gets the
‘if Debian and version 8.x’ step and marks it as true even tho the version is set as 10.x and not 8.x which is my eye would say its false, but it seems to think its true?
 
Regards
 
Simon - Hestor Ltd


On 3 Mar 2021, at 14:32, Adam Armstrong via observium <observium@observium.org> wrote:
 
I’m sure I recently updated the script for Debian 8.x, and it should probably be using newer packages.
 
I’ll have a look. Damn distros and their moving targets!
 
Adam.
 
From: observium <observium-bounces@observium.org> On Behalf Of Polaris Networks Support via observium
Sent: 03 March 2021 11:48
To: Observium <observium@observium.org>
Cc: Polaris Networks Support <support@polarisnetworks.co.uk>
Subject: Re: [Observium] Observium Installation on Raspberry Pi 4 (Raspbian GNU/Linux 10 (buster))
 
Hi Simon,
 
Thanks for your input - I have the run these devices on premises so I can't move this instance into AWS or alternatives.
Until recently (I suspect the Dec/Jan update to Raspbian), installations on Raspberry Pi have gone smoothly.
 

Perhaps the issue lies on the OS detection within the script?

<snip>
 [*] We are on Debian 8.x, installing packages...
</snip>
 
Adam kindly updated the script about a year ago after a Raspbian update so it may be a similar thing this time.

Thank you,
 
Jon Bennell
Polaris Networks Support
 
T:             +44 203 397 3535
W:        www.polarisnetworks.co.uk
 
<~WRD0002.jpg>
The e-mail and any attachments to it are confidential.  Unless you are the intended recipient, you may not use, copy or disclose either the message or any information contained in the message. If you are not the intended recipient, you should delete this e-mail and notify the sender immediately.  
Any views or opinions expressed in this e-mail are those of the sender only, unless otherwise stated.  All copyright in any Polaris Networks Limited material in this e-mail is reserved.
All e-mails, incoming and outgoing, may be recorded by Polaris Networks Limited and monitored for legitimate business purposes.
Polaris Networks Limited exclude all liability for any loss or damage arising or resulting from the receipt, use or transmission of this e-mail to the fullest extent permitted by law.
 
 
On Wed, 3 Mar 2021 at 11:43, Simon Smith via observium <observium@observium.org> wrote:
Hi,
 
Ive just had great progress in moving our Observium from self hosted Intel to AWS ec2 ARM!
 
Im running ubuntu 20.04 on EC2 t4g.small 2 core, 2gb ram
 
It might be the script doesn't support the 32bit OS
 
Try running the script on the Raspbian 64 bit version,
OR
ubuntu 20.04 64bit OS
 
Regards
 
Simon - Hestor Ltd 



On 3 Mar 2021, at 11:38, Polaris Networks Support via observium <observium@observium.org> wrote:
 
Hi,
 
I'm having trouble installing Observium, from the script, on a Raspberry Pi 4 running:
 
root@raspberrypi:~# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
 
Does anyone have any ideas on what could be wrong, based on the output below please?
 
root@raspberrypi:~# wget http://www.observium.org/observium_installscript.sh
--2021-03-03 11:31:53--  
http://www.observium.org/observium_installscript.sh
Resolving 
www.observium.org (www.observium.org)... 185.94.140.56
Connecting to 
www.observium.org (www.observium.org)|185.94.140.56|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: 
https://www.observium.org/observium_installscript.sh [following]
--2021-03-03 11:31:53--  
https://www.observium.org/observium_installscript.sh
Connecting to 
www.observium.org (www.observium.org)|185.94.140.56|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17916 (17K) [text/x-sh]
Saving to: ‘observium_installscript.sh’

observium_installsc 100%[===================>]  17.50K  --.-KB/s    in 0.002s  

2021-03-03 11:31:53 (10.1 MB/s) - ‘observium_installscript.sh’ saved [17916/17916]

root@raspberrypi:~# chmod +x observium_installscript.sh
root@raspberrypi:~# ./observium_installscript.sh
WARNING: Apache default config found, this script will overwrite that config and your current config will be lost
Continue?
1) Yes
2) No
#? 1
Apache config will be overwritten...
  ___  _                         _
 / _ \| |__  ___  ___ _ ____   _(_)_   _ _ __ ___
| | | | '_ \/ __|/ _ \ '__\ \ / / | | | | '_ ` _ \
| |_| | |_) \__ \  __/ |   \ V /| | |_| | | | | | |
 \___/|_.__/|___/\___|_|    \_/ |_|\__,_|_| |_| |_|
Welcome to Observium automatic installscript

Please choose which verision of Observium you would like to install

1. Observium Community Edition
2. Observium Pro Edition stable (requires account at 
https://www.observium.org/subs/)
3. Observium Pro Edition rolling (requires account at 
https://www.observium.org/subs/)
4. Install the UNIX-Agent
5. Install the SNMPD (snmpd-config will be overwritten)
(1-5):1you choose 1
 
dpkg-query: no packages found matching mysql-server
dpkg-query: no packages found matching mariadb-server
 [*] No MySQL server detected in this server, installing MySQL...
Choose a MySQL root password
 [*] Beginning package installtion, this might take up to 30min
 [*] We are on Debian 8.x, installing packages...
E: Unable to locate package libapache2-mod-php7.0
E: Couldn't find any package by glob 'libapache2-mod-php7.0'
E: Couldn't find any package by regex 'libapache2-mod-php7.0'
E: Unable to locate package php7.0-cli
E: Couldn't find any package by glob 'php7.0-cli'
E: Couldn't find any package by regex 'php7.0-cli'
E: Unable to locate package php7.0-mysql
E: Couldn't find any package by glob 'php7.0-mysql'
E: Couldn't find any package by regex 'php7.0-mysql'
E: Unable to locate package php7.0-mysqli
E: Couldn't find any package by glob 'php7.0-mysqli'
E: Couldn't find any package by regex 'php7.0-mysqli'
E: Unable to locate package php7.0-gd
E: Couldn't find any package by glob 'php7.0-gd'
E: Couldn't find any package by regex 'php7.0-gd'
E: Unable to locate package php7.0-mcrypt
E: Couldn't find any package by glob 'php7.0-mcrypt'
E: Couldn't find any package by regex 'php7.0-mcrypt'
E: Unable to locate package php7.0-json
E: Couldn't find any package by glob 'php7.0-json'
E: Couldn't find any package by regex 'php7.0-json'
E: Package 'mysql-server' has no installation candidate
E: Package 'mysql-client' has no installation candidate
root@raspberrypi:~# 
 
Thank you,
 
Jon Bennell
Polaris Networks Support
 
T: +44 203 397 3535
 
<~WRD0002.jpg>
The e-mail and any attachments to it are confidential.  Unless you are the intended recipient, you may not use, copy or disclose either the message or any information contained in the message. If you are not the intended recipient, you should delete this e-mail and notify the sender immediately.  
Any views or opinions expressed in this e-mail are those of the sender only, unless otherwise stated.  All copyright in any Polaris Networks Limited material in this e-mail is reserved.
All e-mails, incoming and outgoing, may be recorded by Polaris Networks Limited and monitored for legitimate business purposes.
Polaris Networks Limited exclude all liability for any loss or damage arising or resulting from the receipt, use or transmission of this e-mail to the fullest extent permitted by law.
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
 
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
 
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium