-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
β Have you read and understood the above guidelines?
yes
π What is the name of the script you are using?
https://raw.githubusercontent.com/tteck/Proxmox/main/ct/unifi.sh
π What was the exact command used to execute the script?
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/unifi.sh)"
βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
Debian 12
π Provide a clear and concise description of the issue.
When trying to run script bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/unifi.sh)", I've got an error:
This version of Proxmox Virtual Environment is not supported
Requires Proxmox Virtual Environment Version 8.1 or later.
My version:
root@pve:~# pveversion
pve-manager/8.4.1/2a5fa54a8503f96d (running kernel: 6.8.12-10-pve)
After looking at script, I can see, that in build.func script (which is included in unifi.sh) in line ~178:
if ! pveversion | grep -Eq "pve-manager/8\.[0-4](\.[0-9]+)*"; then"
there is a problem with regex. I'm not goot at it, but it seems that something like this:
grep "pve-manager/8\.[0-4]\.[0-9]*"
works.
π Steps to reproduce the issue.
Run script
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/unifi.sh)"
β Paste the full error output (if available).
__ __ _ _____
/ / / /__ (_) __(_)
/ / / / __ \/ / /_/ /
/ /_/ / / / / / __/ /
\____/_/ /_/_/_/ /_/
Loading...
β This version of Proxmox Virtual Environment is not supported
Requires Proxmox Virtual Environment Version 8.1 or later.
Exiting...
πΌοΈ Additional context (optional).
No response