# Upgrade version

**URL:** <https://openvidu.discourse.group/t/upgrade-version/2260>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [November 13, 2020, 10:37am UTC](https://openvidu.discourse.group/t/upgrade-version/2260 "2020-11-13T10:37:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Youness\_Atouani](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/youness_atouani/32/477_2.png) [@Youness\_Atouani](https://openvidu.discourse.group/u/Youness_Atouani)\
**Post date:** [November 13, 2020, 10:37am UTC](https://openvidu.discourse.group/t/upgrade-version/2260/1 "2020-11-13T10:37:13Z")

</div>

Hello,  
after upgrade from 2.14 version to 2.15 version we have this error when enter to openvidu server or dashboard in port 4443.

 ![image (2)](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/6/6efef89016eba41a88da5f4d760864aea67bfa37.png)

Thank you

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [November 13, 2020, 12:02pm UTC](https://openvidu.discourse.group/t/upgrade-version/2260/2 "2020-11-13T12:02:33Z")

</div>

Hi @Youness_Atouani please don’t spam the same question in differnet posts. How did you do the upgrade? Did you follow the official instructions of upgrading? Can you share the output of `./openvidu version` and the content of your `/opt/openvidu/.env` file?

---

<div class="post-metadata">

**Author:** ![Youness\_Atouani](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/youness_atouani/32/477_2.png) [@Youness\_Atouani](https://openvidu.discourse.group/u/Youness_Atouani)\
**Post date:** [November 13, 2020, 1:50pm UTC](https://openvidu.discourse.group/t/upgrade-version/2260/3 "2020-11-13T13:50:11Z")

</div>

## I followed this instructions [https://docs.openvidu.io/en/2.15.0/deployment/upgrading/](https://docs.openvidu.io/en/2.15.0/deployment/upgrading/) Output of ./openvidu version

Openvidu Information:

Installation Type: On Premises  
Openvidu Version: 2.15.0  
Openvidu Call Version: No present

System Information:

Linux Version:  
- Description: Ubuntu 18.04.4 LTS  
Docker Version: 19.03.11  
Docker Compose Version: 1.26.0

Installation Information:

Installation Folder: /opt/openvidu  
Installation Folder Tree:

```
     |-.env
     |-openvidu
     |-.old-2.14.0
     | |-.env
     | |-openvidu
     | |-readme.md
     | |-docker-compose.yml
     |-recordings
     |-readme.md
     |-kms-crashes
     |-custom-layout
     | |-index.html
     | |-openvidu-browser-2.14.0.js
     | |-openvidu-browser-2.15.0.js
     | |-__index.html
     |-.env-v2.15.0
     |-cdr
     |-docker-compose.yml
     |-owncert
     | |-certificate.key
     | |-_certificate.key
     | |-certificate.cert
     | |-_certificate.cert
     |-certificates
     | |-accounts
     | | |-acme-v02.api.letsencrypt.org
     | | | |-directory
     | | | | |-84465c180a51763163d399dc09fcfa5c
     | | | | | |-private_key.json
     | | | | | |-meta.json
     | | | | | |-regr.json
     | |-csr
     | | |-0001_csr-certbot.pem
     | | |-0000_csr-certbot.pem
     | | |-0003_csr-certbot.pem
     | | |-0002_csr-certbot.pem
     | |-renewal
     | |-live
     | | |-51.75.200.222
     | | | |-fullchain.pem
     | | | |-privkey.pem
     | | |-formify.tv
     | | | |-fullchain.pem
     | | | |-privkey.pem
     | | |-certificates.conf
     | |-keys
     | | |-0002_key-certbot.pem
     | | |-0003_key-certbot.pem
     | | |-0001_key-certbot.pem
     | | |-0000_key-certbot.pem
     | |-renewal-hooks
     | | |-pre
     | | |-deploy
     | | |-post
     |-openvidu-report-13-11-2020-12-52.txt

```

Docker Running Services:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
ec12039ee9c7 kurento/kurento-media-server:6.14.0 “/entrypoint.sh” 4 minutes ago Up 4 minutes (healthy) openvidu\_kms\_1  
b5688802c74a openvidu/openvidu-coturn:1.0.0 “/bin/sh -c /usr/loc…” 4 minutes ago Up 4 minutes openvidu\_coturn\_1  
ad5359a5cea2 openvidu/openvidu-server:2.15.0 “/bin/bash -c 'expor…” 4 minutes ago Up 4 minutes openvidu\_openvidu-server\_1  
fe0439378433 openvidu/openvidu-proxy:3.0.0 “/bin/sh -c /usr/loc…” 4 minutes ago Up 4 minutes openvidu\_nginx\_1  
503e41e13ec0 openvidu/openvidu-redis:1.0.0 “docker-entrypoint.s…” 4 minutes ago Restarting (1) 23 seconds ago openvidu\_redis\_1

---

<div class="post-metadata">

**Author:** ![Youness\_Atouani](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/youness_atouani/32/477_2.png) [@Youness\_Atouani](https://openvidu.discourse.group/u/Youness_Atouani)\
**Post date:** [November 13, 2020, 2:11pm UTC](https://openvidu.discourse.group/t/upgrade-version/2260/5 "2020-11-13T14:11:47Z")

</div>

## content of .env file

# OpenVidu configuration

# ----------------------

# Documentation: [https://docs.openvidu.io/en/stable/reference-docs/openvidu-config/](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](http://openvidu.example.com)

DOMAIN\_OR\_PUBLIC\_IP=[NOMDOMAINE.COM](http://NOMDOMAINE.COM)

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

OPENVIDU\_SECRET=PASSWORD

# 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=owncert

# If CERTIFICATE\_TYPE=letsencrypt, you need to configure a valid email for notifications

[LETSENCRYPT\_EMAIL=mail@gmail.com](mailto:LETSENCRYPT_EMAIL=mail@gmail.com)

# Proxy configuration

# If you want to change the ports on which openvidu listens, uncomment the following lines

# Allows any request to http://DOMAIN\_OR\_PUBLIC\_IP:HTTP\_PORT/ to be automatically

# redirected to https://DOMAIN\_OR\_PUBLIC\_IP:HTTPS\_PORT/.

# WARNING: the default port 80 cannot be changed during the first boot

# if you have chosen to deploy with the option CERTIFICATE\_TYPE=letsencrypt

# HTTP\_PORT=80

# Changes the port of all services exposed by OpenVidu.

# SDKs, REST clients and browsers will have to connect to this port

HTTPS\_PORT=4443

# Access restrictions

# In this section you will be able to restrict the IPs from which you can access to

# Openvidu API and the Administration Panel

# WARNING! If you touch this configuration you can lose access to the platform from some IPs.

# Use it carefully.

# This section limits access to the /dashboard (OpenVidu CE) and /inspector (OpenVidu Pro) pages.

# The form for a single IP or an IP range is:

# ALLOWED\_ACCESS\_TO\_DASHBOARD=198.51.100.1 and ALLOWED\_ACCESS\_TO\_DASHBOARD=198.51.100.0/24

# To limit multiple IPs or IP ranges, separate by commas like this:

# ALLOWED\_ACCESS\_TO\_DASHBOARD=198.51.100.1, 198.51.100.0/24

# ALLOWED\_ACCESS\_TO\_DASHBOARD=

# This section limits access to the Openvidu REST API.

# The form for a single IP or an IP range is:

# ALLOWED\_ACCESS\_TO\_RESTAPI=198.51.100.1 and ALLOWED\_ACCESS\_TO\_RESTAPI=198.51.100.0/24

# To limit multiple IPs or or IP ranges, separate by commas like this:

# ALLOWED\_ACCESS\_TO\_RESTAPI=198.51.100.1, 198.51.100.0/24

# ALLOWED\_ACCESS\_TO\_RESTAPI=

# Whether to enable recording module or not

OPENVIDU\_RECORDING=true

# Use recording module with debug mode.

OPENVIDU\_RECORDING\_DEBUG=true

# 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=true

# 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=0

# Maximum video bandwidth sent from clients to OpenVidu Server, in kbps.

# 0 means unconstrained

OPENVIDU\_STREAMS\_VIDEO\_MAX\_RECV\_BANDWIDTH=0

# Minimum video bandwidth sent from clients to OpenVidu Server, in kbps.

# 0 means unconstrained

OPENVIDU\_STREAMS\_VIDEO\_MIN\_RECV\_BANDWIDTH=0

# Maximum video bandwidth sent from OpenVidu Server to clients, in kbps.

# 0 means unconstrained

OPENVIDU\_STREAMS\_VIDEO\_MAX\_SEND\_BANDWIDTH=0

# Minimum video bandwidth sent from OpenVidu Server to clients, in kbps.

# 0 means unconstrained

OPENVIDU\_STREAMS\_VIDEO\_MIN\_SEND\_BANDWIDTH=0

# 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](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.14.0

# 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](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](https://docs.oracle.com/cd/E37116_01/install.111210/e23737/configuring_jvm.htm#OUDIG00058)

# JAVA\_OPTIONS=-Xms2048m -Xmx4096m -Duser.timezone=UTC

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [November 13, 2020, 4:19pm UTC](https://openvidu.discourse.group/t/upgrade-version/2260/6 "2020-11-13T16:19:14Z")

</div>

I’m thinking that maybe the problem is related with the browser cache not loading updated frontend from “YOUR\_DOMAIN:4443/dashboard”, when you change the version. Can you try by removing the cache or access via incognito in the browser?

Best Regards,  
Carlos
