Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The script terminates with an error #14

Open
ipod86 opened this issue Nov 1, 2023 · 5 comments
Open

The script terminates with an error #14

ipod86 opened this issue Nov 1, 2023 · 5 comments

Comments

@ipod86
Copy link

ipod86 commented Nov 1, 2023

root@pve:~# bash -c "$(wget -qLO - https://raw.githubusercontent.com/JedimasterRDW/proxmox_motioneye_container/master/create_container.sh)"


More than one storage locations detected.
1) local-lvm                                                  2) tank

Which storage location would you like to use? 2
[INFO] Using 'tank' for storage location.
[INFO] Container ID is 108.
Updating LXC template list...
Downloading LXC template...
bash: line 85: TEMPLATES: bad array subscript
root@pve:~#
@fredlamour
Copy link

same issue there

@MarkusDef
Copy link

same

@mleppanen
Copy link

OSTYPE=debian OSVERSION=${OSTYPE}-10 mapfile -t TEMPLATES < <(pveam available -section system | sed -n "s/.*\($OSVERSION.*\)/\1/p" | sort -t - -k 2 -V) TEMPLATE="${TEMPLATES[-1]}"

There is no debian-10 template available anymore. That part should work if that one line is changed to OSVERSION=${OSTYPE}-12 Of course should make a fix that would not break in the future.

The problem is that the setup.sh also has some problems, need to dig into those.

@mleppanen
Copy link

Ok, so debian is not offering the EOL'd python2 any more, so the python packages are a problem now.

@mleppanen
Copy link

So, use the script to install debian 11 and follow from here on the LXC https://github.com/motioneye-project/motioneye/wiki/Install-on-Debian-11-%28Bullseye%29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants