Hello,
We are trying to install OPENVIDU Single Node 3.1.0 on a Linux Ubuntu 24.04.1 LTS server. The installation process completes without any errors.
We utilized the command:
sh <(curl -fsSL http://get.openvidu.io/community/singlenode/3.1.0/install.sh)
However, after the installation, when attempting to run OpenVidu, we encounter an error (Failed to start openvidu.service). The logs are in the end.
Does anyone have any insights on what might be going wrong?
------------------- LOGS --------------------
sh <(curl -fsSL http://get.openvidu.io/community/singlenode/3.1.0/install.sh)
Docker already installed. Check you have the latest version for best compatibility
Docker Compose already installed. Check you have the latest version for best compatibility
Synchronizing state of docker.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable docker
Stopping ‘docker.service’, but its triggering units are still active:
docker.socket
Waiting for Docker to start…
Docker started successfully.
3.1.0: Pulling from openvidu/openvidu-installer
Digest: sha256:9b8be46ca4953bdea9d15f0069067dcde3cc6ada64470b0d8ac6b75bd66dd9c7
Status: Image is up to date for openvidu/openvidu-installer:3.1.0
docker.io/openvidu/openvidu-installer:3.1.0
OpenVidu deployment installer
- OpenVidu version: 3.1.0
- Edition: COMMUNITY
- Deployment type: single_node
Welcome to the ‘OpenVidu Community’ installer.
You are going to install the ‘Single Node’ deployment of the ‘OpenVidu Community’ edition.
Make sure of the following things before installing:
1. This installer is being executed in the machine where OpenVidu will be installed.
2. You have a FQDN (Fully Qualified Domain Name) pointing to the IP of this machine.
Do you want to continue? … Yes
Select which certificate type to use … Own Certificate
Write the domain name or IP address of your cluster … telemedicina.vskysamu.com.br
Certificates for domain: telemedicina.vskysamu.com.br
Write the private key of your own certificate … …(1711 bytes)
Write the public key of your own certificate … …(2219 bytes)
(Optional) Write the domain name of your TURN server to allow TLS over TURN …
Which modules do you want to enable? … Observability, Default App
Write the Public IP of this node (If empty, the public IP will be detected automatically) … 54.94.30.253
Write the LiveKit API Key (Generated if empty) …
Write the LiveKit API Secret (Generated if empty) …
Write the Dashboard Admin User (‘admin’ if empty) …
Write the Dashboard Admin Password (Generated if empty) …
Write the Redis Password (Generated if empty) …
Write the Minio Access Key (‘minioadmin’ if empty) …
Write the Minio Secret Key (Generated if empty) …
Write the Mongo Admin User (‘mongoadmin’ if empty) …
Write the Mongo Admin Password (Generated if empty) …
Write the Mongo Replica Set Key (Generated if empty. It is a password for the replica set) …
Write the Grafana Admin User (‘admin’ if empty) …
Write the Grafana Admin Password (Generated if empty) …
Write the default app (OpenVidu Call) admin username (‘calladmin’ if empty) …
Write the default app (OpenVidu Call) admin password (Generated if empty) …
Write the default app (OpenVidu Call) to access the app (‘calluser’ if empty) …
Write the default app (OpenVidu Call) password for the user (Generated if empty) …
Do you want to continue? … Yes
Docker already installed. Check you have the latest version for best compatibility
Docker Compose already installed. Check you have the latest version for best compatibility
Synchronizing state of docker.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable docker
Pulling setup-volumes … done
Pulling openvidu-init … done
Pulling dashboard … done
Pulling loki … done
Pulling minio … done
Pulling promtail … done
Pulling egress … done
Pulling ingress … done
Pulling openvidu … done
Pulling prometheus … done
Pulling grafana … done
Pulling caddy … done
Pulling mongo … done
Pulling redis … done
Pulling app … done
Increasing network buffer size for media traffic
net.core.rmem_max = 33554432
net.core.wmem_max = 33554432
net.core.rmem_default = 2500000
net.core.wmem_default = 2500000
net.ipv4.udp_wmem_min = 2500000
net.ipv4.udp_rmem_min = 2500000
Network buffer size adjustments applied and persisted.
It has been has been installed as a systemd service and it is not started yet.
To start OpenVidu Community, run:
systemctl start openvidu
OpenVidu Community is installed at /opt/openvidu.
cd /opt/openvidu
To check the status of OpenVidu Community and its logs, run:
cd /opt/openvidu
docker ps
docker-compose logs -f
To stop OpenVidu Community, run:
systemctl stop openvidu
root@ip-172-31-100-12:/opt/openvidu# systemctl start openvidu
Job for openvidu.service failed because the control process exited with error code.
See “systemctl status openvidu.service” and “journalctl -xeu openvidu.service” for details.
root@ip-172-31-100-12:/opt/openvidu# systemctl status openvidu.service
× openvidu.service - OpenVidu Community - Single Node
Loaded: loaded (/etc/systemd/system/openvidu.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-03-25 16:45:15 -03; 58s ago
Duration: 17min 50.649s
Process: 82647 ExecStartPre=/usr/local/bin/docker-compose down (code=exited, status=1/FAILURE)
CPU: 363ms
Mar 25 16:45:14 ip-172-31-100-12 systemd[1]: Failed to start openvidu.service - OpenVidu Community - Single Node.
Mar 25 16:45:15 ip-172-31-100-12 systemd[1]: openvidu.service: Scheduled restart job, restart counter is at 5.
Mar 25 16:45:15 ip-172-31-100-12 systemd[1]: openvidu.service: Start request repeated too quickly.
Mar 25 16:45:15 ip-172-31-100-12 systemd[1]: openvidu.service: Failed with result ‘exit-code’.
Mar 25 16:45:15 ip-172-31-100-12 systemd[1]: Failed to start openvidu.service - OpenVidu Community - Single Node.
root@ip-172-31-100-12:/opt/openvidu# docker-compose logs -f
ERROR: Missing mandatory value for “command” option interpolating /bin/sh -c "
mkdir -p /data/egress_data/home/egress/backup_storage &&
chown 1001:1001 /data/egress_data/home &&
chown 1001:1001 /data/egress_data/home/egress &&
chown 1001:1001 /data/egress_data/home/egress/backup_storage &&
mkdir -p /data/minio_data/data &&
mkdir -p /data/mongo_data/data &&
echo ${MONGO_REPLICA_SET_KEY:?mandatory} > /data/mongo_data/replica.key &&
chown 999:999 /data/mongo_data /data/mongo_data/data /data/mongo_data/replica.key &&
chmod 600 /data/mongo_data/replica.key &&
chown 1001:1001 /data/minio_data /data/minio_data/data &&
mkdir -p /data/prometheus_data/prometheus &&
chown 65534:65534 /data/prometheus_data/prometheus &&
mkdir -p /data/loki_data/data &&
chown 10001:10001 /data/loki_data /data/loki_data/data &&
mkdir -p /data/grafana_data/data &&
chown 472:0 /data/grafana_data /data/grafana_data/data
"
in service “setup-volumes”: mandatory