Upgrade Wowza 4.4.x to 4.5.0

I made some posts before about the upgrade process. I decided to create a new post on it.

Release Notes 4.5.0: https://www.wowza.com/forums/content.php?836-Wowza-Streaming-Engine-4-5-0-Release-Notes
Download package: https://www.wowza.com/portal/account
You need a wowza acccount now (Don’t worry its free)

NOTE: Before you start the upgrade make sure you have manually backupped all configuration files (applications) of your wowza server. The update of wowza will create a backup, but it won’t backup the applications. You could manually backup them by backing up your entire /usr/local/WowzaStreamingEngine/ directory

*Note. first the download was freely available. now you need a wowza account first. From the My Downloads tab you can select the new zipfile
Current build: WowzaStreamingEngine-Update-4.5.0.zip
wowza_mydownload_page

 

 

 

 

You dont need a new developer license when upgrading, it won’t ask you for the license at an upgrade. It looks like it should be easier to upgrade Wowza now to a newer version. I am using a developer license in this process to show how to upgrade.

My WowzaStreamingEngine server is running on: Ubuntu server 16.04 64 bit (older versions will work too)

From this point i will start the upgrade. This is a guide as is. Always try to upgrade in a test environment.

Note: Always make an extra backup of your wowza system.

Step1: download update

Go to the tmp folder

Download the zip package to your server:

Where WOWZADOWNLOAD is the link you can copy from the My Downloads tab

I assume you have zip installed on your server. If not:

Step3: copy update file
Copy the zip file  to the update directory (/usr/local/WowzaStreamingEngine/updates/)

 Step4: update directory
Go the update directory:

and unzip the file to a newly made directory based on the same name as the zip file. The -d says it should be unzipped to a directory

You will now see the zip file but also a directory with all the files unzipped

Step5: linux update
Time to start the update process. In this case im using the linux version, so we have to go to the linux update directory

Step6: permissions update.sh
Before we can run the update we have to set some permissions on the update.sh file

Step7: run the update

Make sure to stop the StreamingEngine and StreamingEngineManager first. If you don’t you will get a notice about it (see step 8 + 9)

Time to run the update and see if we are getting issues

Step8: error:
First error: Streaming Engine still running:

We have to stop the running server first. The command depends on the distro you are using. use the command you normally use to stop the wowza server

After the server has stopped. we start again from Step7. Run the update.sh again

Step9: error 2
Second error: Streaming Engine Manager still running

So also with the previous one we have to stop the service first

Ok. let’s try it again from Step7 to run the update.sh again

Step10: upgrade process

This is the result im looking for:

Are you sure you want to continue?: Y

And again some information:

Press Enter several times

The backup and upgrade process will start

and… it should be done?

Yes it is. In the message it says a backup has been made. Lets check if it did.

And yes, the 4.5.0.zip file is there. The update is completed. Time to start the services again

NOTE: After the upgrade i noticed it made a symlink from my /usr/local/WowzaStreamingEngine directory to /WowzaStreamingEngine-4.4.1
Don’t know why they have done that
wowza-update-symlink

 

 

 

Step11: Restart the services

Time to bring the server back online

I thought in a logical way to start the StreamingEngine first and after that the StreamingManager, but i have to do it the other way around.  So first start the EngineManager and after that the Engine:

Step12: browser manager

Time to go to your browser and open the manager interface <ipaddress>:8088 and login
in my scenario i made some test applications before i started the update process. All of them are still there.

Recap:
I added a post on the wowza forum, why the applications and conf directory isn’t being backuped. https://goo.gl/9MgUFR
second question is why suddenly the WowzaStreamingEngine has been symlinked. Because i daily backup my Wowza directory, but it stopped working due to the symlink directory it can’t follow.. Hopefully will get some answers on that.
wowza-update-symlink

 

You may also like...

2 Responses

  1. imran says:

    After upgrading 4.4 to 4.5 we are unable to login in web interface.We receive username | password incorrect error.

    • maca says:

      Hi Imran,
      did you restart the streaming engine manager and streaming-engine after the upgrade?
      In my experience first restart the streamingenginemanager and after that the streamingengine itself
      service WowzaStreamingEngineManager restart
      service WowzaStreamingEngine restart
      If you want to check if your password is still correct you can check it from the command line in the admin.password file
      cat /usr/local/WowzaStreamingEngine/conf/admin.password

Leave a Reply

Your email address will not be published. Required fields are marked *