Skip to main content
  • Products
    • Overview
    • Features
    • Screen Capture
    • Agent evaluation / score cards
    • Speech Analytics
    • Recording Announcement
    • Videos
    • Online demo
    • Quote
    • Download
  • Solutions
    • Businesses
    • Contact centers
    • Financial institutions
    • Healthcare
    • MiFID II compliance
    • Telecom service providers
    • Traders
  • Compatibility
    • AudioCodes
    • Avaya
    • BroadSoft
    • Cisco
    • Genband
    • IPC
    • Metaswitch
    • Oracle AcmePacket
    • SIPREC recording
    • Sonus
  • Documentation
    • User Guide
    • Administration Guide
    • Developer Guide
    • MiaRec v.3 (old) documentation
    • Resource library
    • Videos
  • Support
    • Submit a request
    • Check your existing requests
    • TeamViewer QuickSupport
  • Blog
  • Company
    • About MiaRec
    • Contact us
    • Our clients
    • Become a partner
    • News
    • Careers
    • Events

Legacy documentation

  • Legacy documentation
    • Passive call recording setup
      • What is port mirroring?
      • Virtual machine + passive recording
      • Configuring NIC for passive recording (port mirroring)
      • Enable packets pass-through for port mirroring traffic
        • AVG Internet Security
        • BitDefender Internet Security
        • ESET Smart Security 4
      • How to configure port mirroring on different switches
        • Cisco Catalyst 2960 Series Switches
        • D-Link DES-3010
        • Dell PowerConnect 2700 Series
        • Netgear FS726T
        • TP-LINK TL-SL2428WEB
      • Port Mirroring in complex call scenarios
      • Switches with port mirroring
    • Manual installation (deprecated) on Linux
      • Installation on Linux (Centos/RedHat) manually (deprecated)
        • Install MiaRec Web portal
          • Install PostgreSQL
          • Install Python 3
          • Install Apache web server
          • Install Redis cache
          • Install MiaRec web application
          • Install Celery task manager
        • Install MiaRec Recorder
          • SystemD start-up script (Centos 7.x)
          • Upstart start-up script (Centos 6.x)
          • Init.d start-up script
        • Install MiaRec Screen Recording Controller
        • Configure firewall
        • Verify services status
      • Installation on Linux (Ubuntu) manually (deprecated)
        • Install MiaRec Web portal
          • Install PostgreSQL
          • Install Python
          • Install Apache web server
          • Install Redis cache
          • Install MiaRec web application
          • Install Celery task manager
        • Install MiaRec Recorder
        • Configure firewall
    • Manual update on Linux (deprecated)
      • Update MiaRec Web portal
      • Update MiaRec recorder files
    • Cisco TAPI integration
      • Add TAPI user for MiaRec application
      • Configure Cisco TAPI TSP driver
      • Verify Cisco TAPI configuration
      • Enable Cisco TAPI interface in MiaRec
Home › Legacy documentation › Manual update on Linux (deprecated) ›
 

Update MiaRec Web portal

Use these instructions only if MiaRec has been installed manually. For Ansible-based deployment, use the update instructions from here.

1. Download latest MiaRec web-portal files

Fill out Download form to get access to latest version of MiaRec.

wget URL_TO_MIARECWEB_FILES

Extract this archive

tar -xzvf miarecweb-*.tar.gz

2. Rename old MiaRec Web application files

It is recommended to rename the existing MiaRec web portal folder instead of removing it. This will allow you to restore old version if necessary.

mv /var/www/miarec/app /var/www/miarec/app-`date +"%m-%d-%Y"`

3. Install new version of MiaRec Web application

Move the extracted new files to /var/www/miarec/app

mv miarecweb-*/ /var/www/miarec/app

Clear cache (pre-compiled templates):

rm -rf /var/www/miarec/cache/*

4 Upgrade MiaRec database layout

Activate python virtual environment

source /var/www/miarec/pyenv/bin/activate

Make sure the development packages of libxml2 and libxslt are installed:

yum install libxml2-devel libxslt-devel

Install/update miarecweb application:

PATH=$PATH:/usr/pgsql-9.4/bin/
pip install -e /var/www/miarec/app

Run database migration script (alembic):

alembic -c /var/www/miarec/production.ini upgrade head

Tip: if execution of the database migration script takes more than 5 minutes, then probably some database tables are locked by other processes and the migration script waits till lock is released. To fix that issue, you need to stop other services, which are using MiaRec database.

Open another SSH window and execute the following commands:

service httpd stop

service celeryd stop

service celerybeat stop

5. Restart Apache and Celery services

service httpd restart

service celeryd restart

service celerybeat stop
service celerybeat start
‹ Manual update on Linux (deprecated) up Update MiaRec recorder files ›
  • Printer-friendly version
MiaRec, Inc. © 2019. All Rights Reserved. | Terms of Use | Privacy Statement | Cancellation Policy