---
title: "Install on Proxmox"
description: "Run Vigiora Server in its own Proxmox VE container with one script, or set the container up by hand."
url: https://vigiora.com/docs/getting-started/install-proxmox
updated: 2026-11-24T16:49:28.000Z
---

# Install on Proxmox

> Run Vigiora Server in its own Proxmox VE container with one script, or set the container up by hand.

If you run [Proxmox VE](https://www.proxmox.com/en/proxmox-virtual-environment/overview), you can give Vigiora Server a small container of its own. A helper script creates the container, installs the server in it with the normal installer, and prints the address to open.

> **New, and not yet tried on many setups**
>
> This install path is new. The script's commands are checked by an automated test and run on Proxmox VE 8.4, but not yet on a wide range of hosts. Read the script before you run it, try `--dry-run` first (it prints every command and changes nothing), and tell us at support@vigiora.com what you find, working or not.

## What you need

- Proxmox VE 8, and a root shell on the Proxmox host (**Datacenter → your node → Shell**, or SSH as root).
- A storage that can hold container disks, with room for the disk size you choose (32 GB by default) and your recordings. See [recordings storage](#recordings-storage) below.
- A network bridge (`vmbr0` by default) that gives the container an address by DHCP, or a free address you pass with `--ip`. The script stops before creating anything if the bridge does not exist.
- Internet access from the container: the installer downloads the signed release.

The container is a plain, unprivileged Debian 12 container with nesting on, as the Proxmox web UI does by default. If you prefer a virtual machine, make a Debian or Ubuntu VM and follow [Install on Linux](https://vigiora.com/docs/getting-started/install-linux) inside it.

## Install with the script

1. **Download the script and read it**

   On the Proxmox host shell:

   ```bash
   curl --proto '=https' --tlsv1.2 -fsSL https://downloads.vigiora.com/proxmox.sh -o proxmox.sh
   less proxmox.sh
   ```

2. **Try it without changing anything**

   ```bash
   bash proxmox.sh --dry-run
   ```

   It prints every `pct`, `pveam`, `pvesm` and `pvesh` command it would run. Only read-only queries run.

3. **Run it**

   ```bash
   bash proxmox.sh
   ```

   It asks for the container id, storage, disk size, cores, memory, bridge and address, with a default for each, then asks before it creates anything. For no questions, pass the values as options and add `--yes`:

   ```bash
   bash proxmox.sh --yes --ctid 120 --disk 64 --ram 8192 --ip 192.168.1.50/24 --gw 192.168.1.1
   ```

4. **Open the server**

   When it finishes it prints the address, for example `http://192.168.1.50:8080`. The installer shows the admin password once, in the output above that line: copy it. Then follow [First sign-in](https://vigiora.com/docs/getting-started/first-sign-in).

   To pair the server with your account while it installs, copy the code from the install command on [vigiora.com/download](https://vigiora.com/download) (the part after `--pair`) and add `--pair <code>` to the script. Otherwise pair it later, as the installer explains.

### What the script does

- Creates **one** new unprivileged Debian 12 container with nesting on, with the id you chose, and starts it. It refuses an id that any container or virtual machine already uses, and never changes another guest.
- Gets the Debian template only through `pveam`, the Proxmox tool for it.
- Installs `curl` in the container, then runs the same one-line installer as [Install on Linux](https://vigiora.com/docs/getting-started/install-linux) inside it. That installer downloads only signed, checked files. The script adds no other download.
- If ufw or firewalld is active in the container, the installer opens the web app only to private IPv4 networks and IPv6 local networks (fc00::/7 and fe80::/10), as on any Linux computer.
- Prints every command before it runs it.
- If the install fails, it leaves the container in place and prints how to look at the log, retry or remove it. It never deletes anything itself.

### Options

| Option | What it does | Default |
| --- | --- | --- |
| --ctid N | The container id. | The next free id |
| --hostname NAME | The container hostname. | vigiora |
| --storage NAME | The storage for the container disk. | The first storage that can hold container disks |
| --template-storage NAME | The storage for the Debian template. | local |
| --disk GB | The disk size in GB. Recordings need space: see below. | 32 |
| --cores N | CPU cores. | 2 |
| --ram MB | Memory in MB. | 4096 |
| --swap MB | Swap in MB. | 512 |
| --bridge NAME | The network bridge. | vmbr0 |
| --vlan ID | A VLAN tag on the bridge. | None |
| --ip dhcp\|CIDR | An address by DHCP, or a fixed one such as 192.168.1.50/24 (add --gw). | dhcp |
| --gw ADDRESS | The gateway, with a fixed --ip. |  |
| --dns ADDRESS | A DNS server for the container. | The host's |
| --addons | Turns on nesting and keyctl, which Docker needs. See below. | Off |
| --no-nesting | Turns nesting off. Vigiora still runs, but Debian 12's own login and network services fail in the container. | Nesting on |
| --pair CODE | Pairs the server with your account while it installs. |  |
| --template NAME | Use this exact Debian template. | The newest debian-12-standard |
| --yes | No questions: use the defaults and the options given. |  |
| --dry-run | Print every command and change nothing. |  |

Each option can also be set with an environment variable, for example `VIGIORA_CTID` or `VIGIORA_DISK`.

## Do it by hand

The script only automates these steps. Replace `120` with a free container id and the template name with the one `pveam` lists:

```bash
pveam update
pveam available --section system | grep debian-12-standard
pveam download local debian-12-standard_12.7-1_amd64.tar.zst

pct create 120 local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst \
  --hostname vigiora --ostype debian --unprivileged 1 \
  --features nesting=1 \
  --cores 2 --memory 4096 --swap 512 \
  --rootfs local-lvm:32 \
  --net0 name=eth0,bridge=vmbr0,ip=dhcp,firewall=0 \
  --onboot 1
pct start 120

pct exec 120 -- sh -c 'apt-get update && apt-get install -y curl ca-certificates'
pct exec 120 -- bash -c 'curl --proto "=https" --tlsv1.2 -fsSL https://downloads.vigiora.com/install.sh | sh'
pct exec 120 -- hostname -I
```

The last command shows the container's address. Open `http://<that address>:8080`.

Replace `local-lvm` with a storage that `pvesm status --content rootdir` lists; Proxmox installed on top of Debian has only `local`.

## Add-ons and Docker

Home Assistant and community add-ons run in Docker. Docker inside a container needs nesting and keyctl, which `--addons` turns on (or, by hand, `pct set 120 --features nesting=1,keyctl=1`, then restart the container).

> **Note**
>
> Proxmox itself recommends a virtual machine for Docker, and nesting weakens the container's isolation. If you plan to use add-ons, a Debian or Ubuntu VM with [Install on Linux](https://vigiora.com/docs/getting-started/install-linux) is the more conventional choice.

The script turns nesting on by default. With `--no-nesting`, Vigiora Server runs but the container reports degraded; turn nesting back on with `pct set 120 --features nesting=1` and restart the container.

## Graphics card and Coral USB

Vigiora Server records without any of this. These notes are for add-ons or your own software that use a graphics device or a Google Coral. We have not tested them with Vigiora, and the script does not do them for you.

### Intel graphics (/dev/dri)

On the Proxmox host (version 8.1 or newer), pass the render device into the container with the group id of the container's `render` group:

```bash
pct exec 120 -- getent group render
pct set 120 --dev0 /dev/dri/renderD128,gid=104
pct reboot 120
```

Replace `104` with the group id the first command prints. The program that uses the device must run as a member of that group.

### Coral USB accelerator

A USB Coral shows up under a different USB id after its first use. Allow the USB bus in the container's file `/etc/pve/lxc/120.conf`:

```text
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/bus/usb dev/bus/usb none bind,optional,create=dir
```

An unprivileged container also needs the device files to be readable by it, usually with a udev rule on the host. Restart the container afterwards.

## Recordings storage

Recordings are written to `/var/lib/theia/recordings` inside the container, on its disk. Three ways to give them more room:

- **A bigger container disk**: `pct resize 120 rootfs +100G`.
- **A disk or folder on the host**: bind-mount it into the container.
- **A NAS share**: mount the share on the Proxmox host (NFS or SMB, in **Datacenter → Storage** or `/etc/fstab`), then bind-mount that folder. An unprivileged container cannot mount network shares itself.

To bind-mount a host folder, do this before you add cameras (moving recordings that already exist is not covered here):

1. **Stop the server and find its user id**

   ```bash
   pct exec 120 -- systemctl stop vigiora
   pct exec 120 -- id -u vigiora
   ```

   Note the number the second command prints, for example `998`.

2. **Give the folder to that user**

   In an unprivileged container, user ids on the host are shifted by 100000. For the example above:

   ```bash
   chown -R 100998:100998 /mnt/recordings
   ```

3. **Mount it and start again**

   ```bash
   pct set 120 --mp0 /mnt/recordings,mp=/var/lib/theia/recordings
   pct reboot 120
   ```

Proxmox backups of the container (`vzdump`) leave bind-mounted folders out, so back those up separately. To choose the data folder at install time instead, see [put recordings on a separate disk](https://vigiora.com/docs/getting-started/install-linux#put-recordings-on-a-separate-disk).

## Update

The server [updates itself](https://vigiora.com/docs/getting-started/updates). Keep the container's own system current like any Debian machine:

```bash
pct exec 120 -- sh -c 'apt-get update && apt-get -y upgrade'
```

Do not run the Proxmox script again to update: it refuses a container id that is in use. To repair the installation, run the installer inside the container again; it is safe to repeat:

```bash
pct exec 120 -- bash -c 'curl --proto "=https" --tlsv1.2 -fsSL https://downloads.vigiora.com/install.sh | sh'
```

## Remove it

First disconnect the server from your account, as described in [Uninstall](https://vigiora.com/docs/getting-started/uninstall). Then:

```bash
pct stop 120
pct destroy 120
```

> **This deletes the container's recordings**
>
> `pct destroy` removes the container and its disk, including the recordings stored on it. Folders you bind-mounted from the host are not touched.

---

Source: https://vigiora.com/docs/getting-started/install-proxmox · Last updated 24 Nov 2026, 16:49 UTC
