How can I upgrade or downgrade my EMS installation to version 1.7.1?

How can I upgrade or downgrade my EMS installation to version 1.7.1?

Support ForumCategory: Installation and Basic OperationHow can I upgrade or downgrade my EMS installation to version 1.7.1?
admin Staff asked 7 years ago
To Tech Support,I have a different version of EMS. How can I upgrade or downgrade the EMS to version 1.7.1?Thanks



2 Answers
Don answered 7 years ago

Hi,
Please find the upgrade/downgrade installation procedure for EMS version 1.7.1 in the document below:
———————————————————————————————————-
UPGRADING OR DOWNGRADING TO EVOSTREAM MEDIA SERVER 1.7.1
To use the Linux installers, you must follow these instructions.
Please note that Steps B-2 and B-3 must be executed only once.
A. UNINSTALL EMS
If the Evostream Media Server is not already installed, skip this section and proceed to section B.
Important!
If you have installed an earlier or later version of Evostream Media Server, this procedure is required.
1) Prerequisites: Administrative privileges are required. This can be accomplished in many ways.
  a. If sudo utility is available:
      $ sudo su –
      Or, if sudo utility is NOT available:
      $ su –
  b. Stop all running EMS processes.
      # service evostreamms stop
     # pkill -9 evostreamms
     # pkill -9 evo-node
  c. Backup configuration files and license file
      # cd /etc/evostreamms
     # zip /var/tmp/config-yymmdd.zip *
      Note: Replace yymmdd with the year-month-day.
2) Debian based Linux distributions
    # apt-get purge --auto-remove evostream-mediaserver
   # apt-get purge --auto-remove evostream-web
   # apt-get purge --auto-remove evostream-keys
   # apt-get purge --auto-remove evostream-libavbin
3) Redhat based Linux distributions
    # yum remove evostream-mediaserver
   # yum remove evostream-web
   # yum remove evostream-keys
   # yum remove evostream-libavbin
   # yum clean all
B. PREPARE EMS INSTALL
1) Prerequisite: Administrator privileges are required. Refer to step A-1-a above for details.
2) Retrieve the script used to install the EvoStream software repository and store it
  a. Debian based Linux distributions (Ubuntu or Debian)
      # wget http://apt171.evostream.com/installkeys.sh -O /tmp/installkeys.sh
  b. RedHat based Linux distributions (CentOS, Fedora, RHEL 6)
      # curl http://yum171.evostream.com/installkeys.sh -o /tmp/installkeys.sh
3) Execute the script to install the EvoStream software repository
  a. Debian or RedHat based Linux distributions (Ubuntu, Debian; CentOS, Fedora, RHEL 6)
      # sh /tmp/installkeys.sh
  If successful, the following message should be printed on the console:
      EvoStream keys installed successfully
  If errors occur, please report back the error message to:  support@evostream.com
At this stage, the EvoStream software repository is successfully installed and you can install packages from it. Please note that Steps B-2 and B-3 must be executed only once.
C. INSTALL EMS
The following steps are used to install the EvoStream Media Server.
This section can be repeated to update the EMS to the most recent release.
1) Prerequisite: Administrator privileges are required. Refer to step A-1-a above for details.
2) Install EvoStream Media Server.
Note:
When prompted, type “Y” to overwrite the old configuration files when upgrading/downgrading versions. If necessary, backup configuration files and license file before installing. See step A-1-c above for details.
  a. Debian based Linux distributions (Ubuntu or Debian)
      # apt-get install evostream-mediaserver
  b. RedHat based Linux distributions (CentOS, Fedora, RHEL 6)
      # yum install evostream-mediaserver
3) Install the license file. Still having the administrative privileges (see step A-1-a above), copy the license file into /etc/evostream
      # cp /path/to/License.lic /etc/evostream/License.lic
D. RUN EMS
Run/stop/restart/check the EvoStream Media Server.
1) Start the EMS as a daemon/background process
     # service evostreamms start
2) Stop the EMS
     # service evostreamms stop
3) Restart the EMS
     # service evostreamms restart
4) Start/restart the EMS in console mode
     # service evostreamms start_console
5) Check the EMS
     # service evostreamms status
6) Check all EMS processes
     # ps -axo pid,command | grep "\(evos\|evo-\|node-\)"
———————————————————————————————————-
Regards,
Don

Don answered 7 years ago

Notes:
1. Older versions of Ubuntu may not accept the commands in step A-2. Use the following commands instead:
# apt-get purge evostream-mediaserver
# apt-get purge evostream-web
# apt-get purge evostream-keys
# apt-get purge evostream-libavbin
# apt-get autoremove
2. The commands in step B-2 are for installing EMS 1.7.1 (not EMS 2.0.0). To install the EMS 2.0.0 (or later versions), use the following commands instead:
a. Debian based Linux distributions (Ubuntu or Debian)
# wget http://apt.evostream.com/installkeys.sh -O /tmp/installkeys.sh
b. RedHat based Linux distributions (CentOS, Fedora, RHEL 6)
# curl http://yum.evostream.com/installkeys.sh -o /tmp/installkeys.sh

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.