Guides
VOD server on a separate machine
The VOD server keeps the movie and series files on a separate machine and serves them straight to the subscribers. The catalogue (names, posters, descriptions) stays in the panel. The panel installs, configures and updates the VOD server.
What you need
- 64-bit Linux with systemd. The VOD server is a static file and does not depend on the glibc version.
- root access over SSH with a password for the automatic install. If you log in only with a key, see "Manual install".
curlorwgetand access tonice-panel.com.- Disk for the files and bandwidth for streaming – the subscribers download the video from this server.
Who talks to whom
| Direction | Address | What for |
|---|---|---|
| VOD server → panel | Configuration → Local address (IPM3U_list) : the web management port – over http, and if the port is on https the VOD server switches to https by itself | The VOD server fetches the subscribers and the movie list from the panel to check who may watch what. |
| Panel → VOD server | the address in Vod Servers (IP:port) | Signed commands: scanning, uploading and deleting files, state, settings, restart, update. |
| Subscribers → VOD server | the same address | Movies are watched straight from the VOD server, not through the panel. |
The VOD server port must be open to the panel and to the subscribers, and the panel's web port to the VOD server. If the panel is behind NAT, Local address must be the address the VOD server reaches the panel on.
1Install from the panel
- Set the key Configuration → Web management → Wapi aes key:iv → Generate → Save if it is not set yet.
- Vod → Vod Servers → Install VOD server. Fill in the server IP, the SSH port, the user (root), the password, a name and the server port – the VOD server will listen on it.
- Start the install. The window shows the output; at the end it says
Done – VOD server installedand the server appears in the list asIP:port.
The VOD server keeps /nice/stsrv, the settings /nice/config-vod-server.json, the nice-vodserver service (systemd, restarts by itself after a crash), the log /nice/logs/vodserver.log, ffprobe for the file details and /nice/vod-update.sh.
If SSH goes over an internal address and the subscribers reach the server on another one, change the address in the list – the subscribers get that one.
2The files
- Upload: copy the files to the server folder (
/nice/vod/, with subfolders if you like) or upload them from the panel – Vod → Mass upload with the VOD server selected. - Add to the catalogue: Vod → Movies (or Series) → choose the server → Scan Movies. New files are added and the details and posters are looked up automatically.
3State and settings
The ▸ arrow on the VOD server row opens its panel: CPU, memory, traffic, disks, who is watching now, the version and the Config and Restart buttons.
| Config field | What it is |
|---|---|
| Listen IP | The address it listens on; 0.0.0.0 = all. |
| Port | The VOD server port. If you change it, change the address in the list too. |
| Files folder | The folder with the files (absolute path). |
| ffprobe folder | Where ffprobe is (/nice/ by default). |
| Panels with access | The other panels that use this VOD server (step 4). |
Saving restarts the VOD server for a few seconds.
4One VOD server for several panels
One VOD server (one process, one port, one folder) can serve several panels – each with its own subscribers. The managing panel is the one that installed it: only it uploads and deletes files, changes the settings and updates. The others only use the files.
- The easy way: run Install VOD server from the second panel to the same server. It is added as a panel with access, and the output shows the port the VOD server listens on – use it in the address.
- By hand: in the second panel add the VOD server (same address, its own id). In the managing one: ▸ → Config → Add panel – the second panel's IP and web port, its id for this server and its Wapi key and iv → Save config.
The keys of the other panels are sent encrypted and are not shown back; an empty field when editing = the old key.
5Updating
Update the panel first, then the VOD server. From the panel: ▸ on the row → the version and Update if the site has a new one. With Configuration → DVR / VOD auto update it updates by itself. The new file is accepted only with a valid signature, and the old one stays as /nice/stsrv.prev.
A VOD server installed before 20.11.2026 (it does not report a version yet) is updated once from the command line, as root:
curl -fsSL https://nice-panel.com/5.5/vod-update.sh | bashIf the server has several config-vod*.json files (the old way – a separate process and port for each panel), the script merges them into one process as panels with access. In the other panels change the VOD server address to the port of the main one. Roll back: /nice/vod-update.sh rollback.
Manual install (no SSH password)
On the VOD server, as root:
curl -fsSL https://nice-panel.com/5.5/vodserver-install.sh | bashCreate /nice/config-vod-server.json. kapi and vapi are the two fields of Wapi aes key:iv in the panel, panelip and panelport – the panel address and web port, id – the number you will add the server with in the panel:
{"kapi":"KEY_16_CHARS","vapi":"IV_16_CHARS",
"panelip":"1.2.3.4","panelport":"4300",
"srvip":"0.0.0.0","srvport":8090,"srvpath":"/nice/vod/","ffprobepath":"/nice/","id":"1"}
chmod 600 /nice/config-vod-server.json && systemctl restart nice-vodserverIn the panel: Vod → Vod Servers → Add – id (the same as in the file), name and address IP:8090.
If it does not start
| Sign | Check |
|---|---|
| The server does not answer | On it: systemctl status nice-vodserver and tail /nice/logs/vodserver.log (it should have Start HTTP server). Is the port open (firewall, cloud security group)? |
| Scanning finds no files | The folder in Config → Files folder – are the files there? |
| Subscribers cannot play a movie | Does the VOD server reach the panel (Local address and the web port)? A VOD server older than 21.11.2026 reaches the panel only over http – update it if the web port is on https. Do the subscribers reach the VOD server address from the list? |
| "Not accepted" in Config, deleting and uploading fail | This panel is not the managing one – these actions are only for the panel that installed the server. |