Errors in installing Turnkey/Zoneminder container

mn124700

Member
Feb 22, 2020
28
0
6
54
I'm setting up a home server, and am trying to use Proxmox for the first time. I want to install Zoneminder as a VM or container, so I did a "create CT" and selected the Turnkey Zoneminder container.

It won't install, and I'm getting weird errors (see below). Where am I going wrong?

Thanks
Eric

Logical volume "vm-105-disk-0" created.
mke2fs 1.44.5 (15-Dec-2018)
Discarding device blocks: 4096/7864320 done
Creating filesystem with 7864320 4k blocks and 1966080 inodes
Filesystem UUID: ee6d535f-067d-433f-82b5-3f86b7caa093
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000

Allocating group tables: 0/240 done
Writing inode tables: 0/240 done
Creating journal (32768 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: 0/240 done

extracting archive '/var/lib/vz/template/cache/debian-9-turnkey-zoneminder_15.1-1_amd64.tar.gz'
tar: ./var/spool/postfix/dev/urandom: Cannot mknod: Operation not permitted
tar: ./var/spool/postfix/dev/random: Cannot mknod: Operation not permitted
Total bytes read: 1034424320 (987MiB, 37MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-105-disk-0" successfully removed
TASK ERROR: unable to create CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - -z --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
 
the turnkey templates are expecting to be run as privileged containers - create a privileged container (the default in the GUI changed a while ago to create unprivileged containers)

or alternatively create a plain debian container and setup zoneminder inside that

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!