Openvidu-call docker image not working

On dockerhub there are now only two images for openvidu-call. openvidu/openvidu-call:2.13.0-beta1 and openvidu/openvidu-call:2.13.0-beta2. I have tried them both and they both have the same problem. As they are starting up I it logs “Restarting nginx: nginx” and then does not proceed any further. Nothing is functional form that point.

I have an old docker image from over a year ago that that will start, but it has other problems so I was hoping that a newer version might be better than this old one. But I can’t even get the latest to start.

Does anyone know how to get these latest docker images to work or troubleshoot them? There is no information regarding them.

You have to bind the container port with -p 5000:80.

For example:

docker run -p 5000:80 openvidu/openvidu-call:2.13.0-beta2

And you will be able to see OpenVidu Call opening http://localhost:5000 in your browser…

You also should set environment variables with -e to set up the OpenVidu secret and OpenVidu url.

Regards

Thank you, it might be good for someone to update the documentation regarding this information as it still says to use -p 4443:4443.

As you know, it is a beta environment and we have not released it yet.

Make sure when we release it, the docs will be updated.

Regards

I have tried both beta1 and beta2. Both have the same problem. I can now get to the create room page, but once I hit the Create Room button all I get is a dark gray background and nothing else. I also notice I can only use http, not https. I suspect things are not working because I can’t run as https as I think WebRTC requires it, but not sure. For kicks I tried -p 5000:443 but that did not work. If there is anything I can do to help troubleshoot and provide more info let me know.

Try this:

docker run -p 5000:80
-e OPENVIDU_URL=https://<your-openvidu-url> -e OPENVIDU_SECRET=<Your-secret> openvidu/openvidu-call:2.13.0-beta2

Same problem. If I look at errors in the browser consoles I see this:
Chrome:
main.a0649d8c7464283d393a.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot read property ‘enumerateDevices’ of undefined
TypeError: Cannot read property ‘enumerateDevices’ of undefined
at main.a0649d8c7464283d393a.js:1
Firefox:
ERROR Error: "Uncaught (in promise): TypeError: navigator.mediaDevices is undefined
PPcv/m</e.prototype.getDevices/<@http://xxx.xxx.xxx.xxx:5000/main.a0649d8c7464283d393a.js:1:106245
I removed the actual IP address.

How are you running OpenVidu server?

Yo can try with our demos server https://demos.openvidu.io:4443 and MY_SECRET.

Yes, I have tried your hosted demo. I am trying to get the same running on my server. I have Ubuntu 18.04 with Docker. I have tried sudo docker run -p 5000:80 -e OPENVIDU_URL=http://xxx.xxx.xxx.xxx:5000/ -e OPENVIDU_SECRET=testxxx openvidu/openvidu-call:2.13.0-beta2. I have tried both URL=http… and URL=https… But everything I try gives the same result. And in the browser console I can see the errors indicated. When I google the errors it explains what I thought. That you have to be requesting over https for this to work. But the beta instances do not have https setup. It only has http. So you are going to need to get the beta setup so that it can serve https and provide a self signed certificate just like the old OpenVidu-call used to do.

OpenVidu Call docker image has been created to allow deployment of OpenVidu Call as part of official OpenVidu Platform deployment with docker-compose.

The image serves OpenVidu Call in plain http (not https) because it is designed to be accessed with reverse proxy with SSL certificate configured.

The procedure is still in the works, but it is in beta. You can try it here: https://github.com/OpenVidu/openvidu/blob/master/openvidu-server/docker/openvidu-docker-compose/readme.md

Can I use this for production server at centos7?

docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-server-kms:2.13.0

When i am running this and opening my site url, after login when I am clicking on join button this URL not getting any response: https://www.fourmodules.com:3007/api-sessions/get-token

No, you can’t use container openvidu/openvidu-server-kms in production. It is only for development environments. As stated in every tutorial:

And in Dockerhub itself, twice:

Selection_541

You must deploy in production as carefully explained in deployment documentation.

Thanks for your valuable feedback, i have now deploy it on production by using deploying-on-premises link…

OpenVidu server is now started https://prnt.sc/s7t6uh
but when i open this link where node started https://www.fourmodules.com:5000
on clicking on join button it is not working and giving error on node

Error: [object Object]
at /home/fourmodules/public_html/webrtc/openvidu-tutorials/openvidu-js-node/node_modules/openvidu-node-client/lib/Session.js:422:28
at processTicksAndRejections (internal/process/task_queues.js:97:5)

This is because of fourmodules . com is not working on port 4443
but I have already started it on node as well as openVidu

node server.js https://www.fourmodules.com:4443 MY_SECRET

OpenVidu 2.13 version doesn’t allow you to change HTTPS_PORT used by OpenVidu.

You should use the port 443.

In the next version 2.14, we will allow OpenVidu port configuration.

It is showing that openVidu server is running but still not opeining:

without 443 port
openvidu-server_1  |    * OpenVidu Server: https://openvidu.fourmodules.com/
openvidu-server_1  |
openvidu-server_1  |    * OpenVidu Dashboard: https://openvidu.fourmodules.com/dashboard/


Getting a token | {sessionName}={Session 4}
New session Session 4
Error: 404
    at /home/fourmodules/public_html/webrtc/openvidu-tutorials/openvidu-js-node/node_modules/openvidu-node-client/lib/Session.js:413:32
    at processTicksAndRejections (internal/process/task_queues.js:97:5)


node server.js https://openvidu.fourmodules.com MY_SECRET
with 443 port
openvidu-server_1  |    * OpenVidu Server: https://openvidu.fourmodules.com:443/
openvidu-server_1  |
openvidu-server_1  |    * OpenVidu Dashboard: https://openvidu.fourmodules.com:443/dashboard/

node server.js https://openvidu.fourmodules.com:443 MY_SECRET

I have tried every possible thing that i can do, is it really work on production server?
And is it compatible for SIP integrate also?

Please execute the following commands and share with us the results:

sudo su
cd /opt/openvidu
docker-compose logs openvidu-server
docker-compose logs nginx
cat .env
docker-compose logs openvidu-server

[root@server openvidu]# docker-compose logs openvidu-server
Attaching to openvidu_openvidu-server_1
openvidu-server_1  |
openvidu-server_1  | ______________________________________________
openvidu-server_1  |    ____               __      ___     _
openvidu-server_1  |   / __ \              \ \    / (_)   | |
openvidu-server_1  |  | |  | |_ __   ___ _ _\ \  / / _  __| |_   _
openvidu-server_1  |  | |  | | '_ \ / _ \ '_ \ \/ / | |/ _` | | | |
openvidu-server_1  |  | |__| | |_) |  __/ | | \  /  | | (_| | |_| |
openvidu-server_1  |   \____/| .__/ \___|_| |_|\/   |_|\__,_|\__,_|
openvidu-server_1  |         | |
openvidu-server_1  |         |_|             version 2.13.0
openvidu-server_1  | ______________________________________________             
openvidu-server_1  |
openvidu-server_1  | [INFO] 2020-05-02 12:59:57,748 [main] io.openvidu.server.OpenViduServer - Starting OpenViduServer on server.fourmodules.com with PID 20 (/openvidu-server.jar started by root in /)
openvidu-server_1  | [INFO] 2020-05-02 12:59:57,751 [main] io.openvidu.server.OpenViduServer - No active profile set, falling back to default profiles: default
openvidu-server_1  | [ERROR] 2020-05-02 12:59:57,879 [main] io.openvidu.server.config.OpenviduConfig - .env file not found at /./.env
openvidu-server_1  | [INFO] 2020-05-02 12:59:57,942 [main] io.openvidu.server.OpenViduServer - Started OpenViduServer in 0.862 seconds (JVM running for 1.369)
openvidu-server_1  | [INFO] 2020-05-02 12:59:57,943 [main] io.openvidu.server.OpenViduServer -
openvidu-server_1  |
openvidu-server_1  |
openvidu-server_1  |    Configuration properties
openvidu-server_1  |    ------------------------
openvidu-server_1  |
openvidu-server_1  |    * CERTIFICATE_TYPE=selfsigned
openvidu-server_1  |    * OPENVIDU_CDR=false
openvidu-server_1  |    * OPENVIDU_CDR_PATH=/opt/openvidu/cdr
openvidu-server_1  |    * OPENVIDU_DOMAIN_OR_PUBLIC_IP=openvidu.fourmodules.com
openvidu-server_1  |    * OPENVIDU_RECORDING=false
openvidu-server_1  |    * OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT=120
openvidu-server_1  |    * OPENVIDU_RECORDING_COMPOSED_URL=
openvidu-server_1  |    * OPENVIDU_RECORDING_CUSTOM_LAYOUT=/opt/openvidu/custom-layout
openvidu-server_1  |    * OPENVIDU_RECORDING_NOTIFICATION=publisher_moderator
openvidu-server_1  |    * OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings
openvidu-server_1  |    * OPENVIDU_RECORDING_PUBLIC_ACCESS=false
openvidu-server_1  |    * OPENVIDU_RECORDING_VERSION=2.9.0
openvidu-server_1  |    * OPENVIDU_SECRET=MY_SECRET
openvidu-server_1  |    * OPENVIDU_SESSIONS_GARBAGE_INTERVAL=900
openvidu-server_1  |    * OPENVIDU_SESSIONS_GARBAGE_THRESHOLD=3600
openvidu-server_1  |    * OPENVIDU_STREAMS_VIDEO_MAX_RECV_BANDWIDTH=1000
openvidu-server_1  |    * OPENVIDU_STREAMS_VIDEO_MAX_SEND_BANDWIDTH=1000
openvidu-server_1  |    * OPENVIDU_STREAMS_VIDEO_MIN_RECV_BANDWIDTH=300
openvidu-server_1  |    * OPENVIDU_STREAMS_VIDEO_MIN_SEND_BANDWIDTH=300
openvidu-server_1  |    * OPENVIDU_WEBHOOK=false
openvidu-server_1  |    * OPENVIDU_WEBHOOK_ENDPOINT=
openvidu-server_1  |    * OPENVIDU_WEBHOOK_EVENTS=[sessionCreated,sessionDestroyed,participantJoined,participantLeft,webrtcConnectionCreated,webrtcConnectionDestroyed,recordingStatusChanged,filterEventDispatched,mediaNodeStatusChanged]
openvidu-server_1  |    * OPENVIDU_WEBHOOK_HEADERS=[]
openvidu-server_1  |
openvidu-server_1  |
openvidu-server_1  |
openvidu-server_1  | [INFO] 2020-05-02 12:59:57,944 [main] io.openvidu.server.OpenViduServer - Using /dev/urandom for secure random generation
openvidu-server_1  | [INFO] 2020-05-02 12:59:57,993 [main] io.openvidu.server.OpenViduServer - Starting OpenViduServer on server.fourmodules.com with PID 20 (/openvidu-server.jar started by root in /)
openvidu-server_1  | [INFO] 2020-05-02 12:59:57,994 [main] io.openvidu.server.OpenViduServer - No active profile set, falling back to default profiles: default
openvidu-server_1  | [ERROR] 2020-05-02 12:59:58,725 [main] io.openvidu.server.config.OpenviduConfig - .env file not found at /./.env
openvidu-server_1  | [INFO] 2020-05-02 12:59:58,924 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 5443 (http)
openvidu-server_1  | [INFO] 2020-05-02 12:59:58,935 [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5443"]
openvidu-server_1  | [INFO] 2020-05-02 12:59:58,935 [main] org.apache.catalina.core.StandardService - Starting service [Tomcat]
openvidu-server_1  | [INFO] 2020-05-02 12:59:58,936 [main] org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.30]
openvidu-server_1  | [INFO] 2020-05-02 12:59:58,996 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
openvidu-server_1  | [INFO] 2020-05-02 12:59:58,997 [main] org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 981 ms
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,222 [main] io.openvidu.server.OpenViduServer - OpenVidu CDR service is disabled (may be enable with 'OPENVIDU_CDR=true')
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,222 [main] io.openvidu.server.OpenViduServer - OpenVidu Webhook service is disabled (may be enabled with 'OPENVIDU_WEBHOOK=true')
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,230 [main] io.openvidu.server.OpenViduServer - OpenVidu Server using one KMS: ws://localhost:8888/kurento
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,245 [rbeatExec-e1-t0] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient]  Connecting native client
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,245 [rbeatExec-e1-t0] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient]  Creating new NioEventLoopGroup
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,352 [ntLoopGroup-2-1] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient]  Initiating new Netty channel. Will create new handler too!
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,440 [EventExec-e2-t0] io.openvidu.server.kurento.kms.KmsManager - Kurento Client "connected" event for KMS ws://localhost:8888/kurento [org.kurento.client.KurentoClient@167be285]
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,442 [main] io.openvidu.server.recording.service.RecordingManager - OpenVidu recording service is disabled
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,471 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN IP: 69.10.52.178
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,471 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN Redis DB accessible with string "ip=127.0.0.1 dbname=0 password=turn connect_timeout=30"
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,471 [main] io.openvidu.server.coturn.CoturnCredentialsService - Cleaning COTURN DB...
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,472 [main] io.openvidu.server.coturn.CoturnCredentialsService - Path of COTURN log files: /var/log/
openvidu-server_1  | [ERROR] 2020-05-02 12:59:59,474 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN DB is not empty
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,474 [main] io.openvidu.server.coturn.CoturnCredentialsService - Using COTURN credentials service for BASH environment
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,482 [main] io.openvidu.server.core.SessionManager - Garbage collector for non active sessions initialized. Running every 900 seconds and cleaning up non active Sessions more than 3600 seconds old
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,507 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'jsonrpcTaskScheduler'
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,636 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor'
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,735 [main] org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html]
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,892 [main] org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3246fb96, org.springframework.security.web.context.SecurityContextPersistenceFilter@776b83cc, org.springframework.security.web.header.HeaderWriterFilter@524d6d96, org.springframework.web.filter.CorsFilter@8dbdac1, org.springframework.security.web.authentication.logout.LogoutFilter@3541cb24, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7690781, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4e268090, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2beee7ff, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2e222612, org.springframework.security.web.session.SessionManagementFilter@44a7bfbc, org.springframework.security.web.access.ExceptionTranslationFilter@61d6015a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@140c9f39]
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,924 [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-0.0.0.0-5443"]
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,939 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 5443 (http) with context path ''
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,940 [main] io.openvidu.server.OpenViduServer - Started OpenViduServer in 1.983 seconds (JVM running for 3.367)
openvidu-server_1  | [INFO] 2020-05-02 12:59:59,941 [main] io.openvidu.server.OpenViduServer -
openvidu-server_1  |
openvidu-server_1  | ----------------------------------------------------
openvidu-server_1  |
openvidu-server_1  |    OpenVidu is ready!
openvidu-server_1  |    ---------------------------
openvidu-server_1  |
openvidu-server_1  |    * OpenVidu Server: https://openvidu.fourmodules.com/
openvidu-server_1  |
openvidu-server_1  |    * OpenVidu Dashboard: https://openvidu.fourmodules.com/dashboard/
openvidu-server_1  |
openvidu-server_1  | ----------------------------------------------------
openvidu-server_1  |
[root@server openvidu]#



docker-compose logs nginx
[root@server openvidu]# docker-compose logs nginx
Attaching to openvidu_nginx_1
nginx_1            | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:55 [emerg] 14#14: still could not bind()
nginx_1            | nginx: [emerg] still could not bind()
nginx_1            | Domain name: openvidu.fourmodules.com
nginx_1            | Certificated: selfsigned
nginx_1            | Letsencrypt Email: rahul.nagpal@exoways.com
nginx_1            | Proxy mode: CE
nginx_1            | Demos mode: true
nginx_1            | ===Mode selfsigned===
nginx_1            | The certificate already exists, using them...
nginx_1            | 2020/05/02 12:59:58 [warn] 31#31: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1            | nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1            | 2020/05/02 12:59:58 [warn] 34#34: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1            | nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1            | 2020/05/02 12:59:58 [emerg] 34#34: still could not bind()
nginx_1            | nginx: [emerg] still could not bind()
nginx_1            | Restarting nginx: nginx failed!
[root@server openvidu]#

cat .env

[root@server openvidu]# cat .env
# OpenVidu configuration
# ----------------------
# Documentation: https://docs.openvidu.io/en/stable/reference-docs/openvidu-config/

# NOTE: This file doesn't need to quote assignment values, like most shells do.
# All values are stored as-is, even if they contain spaces, so don't quote them.

# Domain name. If you do not have one, the public IP of the machine.
# For example: 198.51.100.1, or openvidu.example.com
OPENVIDU_DOMAIN_OR_PUBLIC_IP=openvidu.fourmodules.com

# OpenVidu SECRET used for apps to connect to OpenVidu server and users to access to OpenVidu Dashboard
OPENVIDU_SECRET=MY_SECRET

# Certificate type:
# - selfsigned:  Self signed certificate. Not recommended for production use.
#                Users will see an ERROR when connected to web page.
# - owncert:     Valid certificate purchased in a Internet services company.
#                Please put the certificates files inside folder ./owncert
#                with names certificate.key and certificate.cert
# - letsencrypt: Generate a new certificate using letsencrypt. Please set the
#                required contact email for Let's Encrypt in LETSENCRYPT_EMAIL
#                variable.
CERTIFICATE_TYPE=selfsigned

# If CERTIFICATE_TYPE=letsencrypt, you need to configure a valid email for notifications
LETSENCRYPT_EMAIL=rahul.nagpal@exoways.com

# Whether to enable recording module or not
OPENVIDU_RECORDING=false

# Openvidu Folder Record used for save the openvidu recording videos. Change it
# with the folder you want to use from your host.
OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings

# System path where OpenVidu Server should look for custom recording layouts
OPENVIDU_RECORDING_CUSTOM_LAYOUT=/opt/openvidu/custom-layout

# if true any client can connect to
# https://OPENVIDU_SERVER_IP:OPENVIDU_PORT/recordings/any_session_file.mp4
# and access any recorded video file. If false this path will be secured with
# OPENVIDU_SECRET param just as OpenVidu Server dashboard at
# https://OPENVIDU_SERVER_IP:OPENVIDU_PORT
# Values: true | false
OPENVIDU_RECORDING_PUBLIC_ACCESS=false

# Which users should receive the recording events in the client side
# (recordingStarted, recordingStopped). Can be all (every user connected to
# the session), publisher_moderator (users with role 'PUBLISHER' or
# 'MODERATOR'), moderator (only users with role 'MODERATOR') or none
# (no user will receive these events)
OPENVIDU_RECORDING_NOTIFICATION=publisher_moderator

# Timeout in seconds for recordings to automatically stop (and the session involved to be closed)
# when conditions are met: a session recording is started but no user is publishing to it or a session
# is being recorded and last user disconnects. If a user publishes within the timeout in either case,
# the automatic stop of the recording is cancelled
# 0 means no timeout
OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT=120

# Maximum video bandwidth sent from clients to OpenVidu Server, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MAX_RECV_BANDWIDTH=1000

# Minimum video bandwidth sent from clients to OpenVidu Server, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MIN_RECV_BANDWIDTH=300

# Maximum video bandwidth sent from OpenVidu Server to clients, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MAX_SEND_BANDWIDTH=1000

# Minimum video bandwidth sent from OpenVidu Server to clients, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MIN_SEND_BANDWIDTH=300

# true to enable OpenVidu Webhook service. false' otherwise
# Values: true | false
OPENVIDU_WEBHOOK=false

# HTTP endpoint where OpenVidu Server will send Webhook HTTP POST messages
# Must be a valid URL: http(s)://ENDPOINT
#OPENVIDU_WEBHOOK_ENDPOINT=

# List of headers that OpenVidu Webhook service will attach to HTTP POST messages
#OPENVIDU_WEBHOOK_HEADERS=

# List of events that will be sent by OpenVidu Webhook service
# Leave blank if all events.
OPENVIDU_WEBHOOK_EVENTS=[sessionCreated,sessionDestroyed,participantJoined,participantLeft,webrtcConnectionCreated,webrtcConnectionDestroyed,recordingStatusChanged,filterEventDispatched,mediaNodeStatusChanged]

# How often the garbage collector of non active sessions runs.
# This helps cleaning up sessions that have been initialized through
# REST API (and maybe tokens have been created for them) but have had no users connected.
# Default to 900s (15 mins). 0 to disable non active sessions garbage collector
OPENVIDU_SESSIONS_GARBAGE_INTERVAL=900

# Minimum time in seconds that a non active session must have been in existence
# for the garbage collector of non active sessions to remove it. Default to 3600s (1 hour).
# If non active sessions garbage collector is disabled
# (property 'OPENVIDU_SESSIONS_GARBAGE_INTERVAL' to 0) this property is ignored
OPENVIDU_SESSIONS_GARBAGE_THRESHOLD=3600

# Call Detail Record enabled
# Whether to enable Call Detail Record or not
# Values: true | false
OPENVIDU_CDR=false

# Path where the cdr log files are hosted
OPENVIDU_CDR_PATH=/opt/openvidu/cdr

# Kurento Media Server image
# --------------------------
# Docker hub kurento media server: https://hub.docker.com/r/kurento/kurento-media-server-dev
# Uncomment the next line and define this variable with KMS image that you want use
# KMS_IMAGE=kurento/kurento-media-server-dev:6.13

# Kurento Media Server Level logs
# -------------------------------
# Uncomment the next line and define this variable to change
# the verbosity level of the logs of KMS
# Documentation: https://doc-kurento.readthedocs.io/en/stable/features/logging.html
# KMS_DEBUG_LEVEL=3,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,*rtpendpoint:4,rtp*handler:4,rtpsynchronizer:4,agnosticbin:4

# Openvidu Server Level logs
# --------------------------
# Uncomment the next line and define this variable to change
# the verbosity level of the logs of Openvidu Service
# RECOMENDED VALUES: INFO for normal logs DEBUG for more verbose logs
# OV_CE_DEBUG_LEVEL=INFO

# Java Options
# --------------------------
# Uncomment the next line and define this to add
# options to java command
# Documentation: https://docs.oracle.com/cd/E37116_01/install.111210/e23737/configuring_jvm.htm#OUDIG00058
# JAVA_OPTIONS=-Xms2048m -Xmx4096m
[root@server openvidu]#

You have a problem with your installation.

As it can be seen in the logs, NGINX can not start correctly because ports 80 and 443 are in use in the machine.

Please be sure port 80 and 443 is free before launching OpenVidu.

These ports are by default used by TCP, because our main site is working on the same server.

Then you have to wait to 2.14 version in which you will be able to change OpenVidu ports.

Also, you can use the NGINX installed with OpenVidu and configure your app behind it in the port 5442 as described here: https://docs.openvidu.io/en/2.13.0/deployment/deploying-on-premises/#videoconference-application