From e3f45e1d0f15774d239d6611e0540c1b99ef8063 Mon Sep 17 00:00:00 2001 From: Stefan Kooman Date: Wed, 22 Jan 2020 10:49:00 +0100 Subject: [PATCH 1/3] Improve arch detection, add "aarch64" as arm64 platform --- scripts/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index e067e25e..14650147 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -22,6 +22,8 @@ elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then ARCH="i386" elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]]; then ARCH="arm64" +elif [[ $ARCH == *aarch64* ]] || [[ $ARCH == *armv8* ]]; then + ARCH="arm64" elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then ARCH="armhf" else From 333f0fc752295fe7b511f4f8126851f1c177bf8a Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sun, 26 Jan 2020 16:27:03 -0800 Subject: [PATCH 2/3] Update install.sh --- scripts/install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 14650147..ee025434 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -20,9 +20,7 @@ if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then ARCH="x86_64|amd64" elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then ARCH="i386" -elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]]; then - ARCH="arm64" -elif [[ $ARCH == *aarch64* ]] || [[ $ARCH == *armv8* ]]; then +elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]] || [[ $ARCH == *aarch64* ]]; then ARCH="arm64" elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then ARCH="armhf" From e088aba9c8e9766efd04376d72b738a09244dadb Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sun, 26 Jan 2020 18:36:14 -0800 Subject: [PATCH 3/3] Update up.conf.example --- examples/up.conf.example | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/examples/up.conf.example b/examples/up.conf.example index fb397501..37b20929 100644 --- a/examples/up.conf.example +++ b/examples/up.conf.example @@ -1,5 +1,13 @@ -# UniFi Poller primary configuration file. TOML FORMAT # -######################################################## +# UniFi Poller v2 primary configuration file. TOML FORMAT # +########################################################### + +### NOTICE ### 1-26-2020 ### + +# This config file, and all the config files in this same folder are for VERSION 2. +# V2 is still alpha and not released. If you use Docker, specifically `latest` you +# will get version 1.6.3. This is *not* the correct config file and will not work. +# It will also not generate errors, and you will spend hours pulling your hair out. +# Use this file for v1: https://github.com/unifi-poller/unifi-poller/blob/v1.6.3/examples/up.conf.example [poller] # Turns on line numbers, microsecond logging, and a per-device log.