PBX calls logging and analysing
 about  news  authors  search
 download  faq  links  forum
 demo
 documentation
  PBX setup
  cable pinout
  software setup and configuration
  updating
  using ATSlog
  uninstalling
 site map  russian
Upgrading

Upgrading from panalog-0.4 to atslog-2.1.1 and to any other version of ATSlog.

  1. Stopping the log fetching daemon:

    For panalog:

    # /usr/local/etc/rc.d/panaloginit.sh stop
    

    For all versions of ATSlog:

    # atslogmaster stop
    
  2. Download and unpack atslog-2.1.1.tar.gz:
    $ fetch http://www.atslog.com/download/atslog-2.1.1.tar.gz
    $ tar vzxfmp atslog-2.1.1.tar.gz
    
  3. Configure new version of ATSLog
    $ cd atslog-2.1.1
    # configure
    
  4. Delete old version

    For PanaLog:

    # /usr/local/share/panalog/install.sh deinstall
    
    Upon deinstalling the text logs (from /var/log/panalog) are kept!

    For ATSlog:

    # cd /usr/local/share/atslog
    # make deinstall
    
    Upon deinstalling the text logs (from /var/log/atslog) and config files are kept!

  5. Change to the directory with setup files and install a new version using previous settings:
    # make install
    
  6. When upgrading from PanaLog to ATSlog move the present day data from the file calls.log (not yet parsed to the SQL database) into the file currentcalls.log (NOT COPY, but MOVE!). This file is located in the directory together with other text logs and stores current calls.
  7. You must parse the data from text logs into SQL database again (since the SQL datatables structure has changed). To do this, issue:
    # atslogmaster cleardb # Clear the tables from old information
    # atslogmaster alltodb # Write call information from text logs.
    
  8. Launch the log fetching daemon
    # atslogmaster start
    

Previous Sections Next
Program setup   Using ATSlog

Valid HTML 4.01 Transitional  BerliOS Developer Logo  Valid CSS!