[SOLVED] AirTime 2.2 Installation Errors
  • I'm having an issue upgrading to AirTime 2.2.  I tried to upgrade but received the error below.  After backing up the database and running "apt-get remove --purge airtime" I still receive the same error.  My logs are attached.  I would appreciate any help on this issue.

    *** Verifying your system environment, running airtime-check-system ***
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = UNKNOWN
    MACHINE_ARCHITECTURE           = UNKNOWN
    TOTAL_MEMORY_MBYTES            = UNKNOWN
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = UNKNOWN
    OS                             = Ubuntu 12.04.1 LTS i686
    CPU                            = Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
    WEB_SERVER                     = A
    PLAYOUT_ENGINE_PROCESS_ID      = FAILED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 0
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    -- Displaying log file /var/log/airtime/pypo/pypo.log
    -- 2012-10-26 23:59:02,771 DEBUG - [api_client.py : get_response_from_server() : line 87] - http://localhost:80/api/version/api_key/0TA5GWATIS4VAUOVKH19
    -- 2012-10-26 23:59:02,771 ERROR - [api_client.py : get_response_from_server() : line 105] - Error connecting to server, waiting 5 seconds and trying again.
    -- 2012-10-26 23:59:07,777 ERROR - [api_client.py : get_response_from_server() : line 83] - Error Authenticating with remote server: HTTP Error 404: Not Found
    -- 2012-10-26 23:59:07,778 DEBUG - [api_client.py : get_response_from_server() : line 87] - http://localhost:80/api/version/api_key/0TA5GWATIS4VAUOVKH19
    -- 2012-10-26 23:59:07,778 ERROR - [api_client.py : get_response_from_server() : line 105] - Error connecting to server, waiting 5 seconds and trying again.
    -- 
    -- 
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 
    -- 
    MEDIA_MONITOR_PROCESS_ID       = FAILED
    MEDIA_MONITOR_RUNNING_SECONDS  = 0
    MEDIA_MONITOR_MEM_PERC         = 0%
    MEDIA_MONITOR_CPU_PERC         = 0%
    -- Displaying log file /var/log/airtime/media-monitor/media-monitor.log
    -- 2012-10-26 23:59:07,205 DEBUG - [Thread-2] [api_client.py : get_response_from_server()] : LINE 87 - http://localhost:80/api/list-all-watched-dirs/format/json/api_key/0TA5GWATIS4VAUOVKH19
    -- 2012-10-26 23:59:07,205 ERROR - [Thread-2] [api_client.py : get_response_from_server()] : LINE 105 - Error connecting to server, waiting 5 seconds and trying again.
    -- 2012-10-26 23:59:07,206 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 83 - Error Authenticating with remote server: HTTP Error 404: Not Found
    -- 2012-10-26 23:59:07,206 DEBUG - [MainThread] [api_client.py : get_response_from_server()] : LINE 87 - http://localhost:80/api/media-monitor-setup/format/json/api_key/0TA5GWATIS4VAUOVKH19
    -- 2012-10-26 23:59:07,206 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 105 - Error connecting to server, waiting 5 seconds and trying again.
    -- 
    -- 
    RABBITMQ_PROCESS_ID            = FAILED
    RABBITMQ_RUNNING_SECONDS       = 0
    RABBITMQ_MEM_PERC              = 0%
    RABBITMQ_CPU_PERC              = 0%
    -- There appears to be a problem with your Airtime installation.
    dpkg: error processing airtime (--configure):
     subprocess installed post-installation script returned error exit status 1
    Post edited by Dustin Page at 2012-10-27 19:00:27
  • 3 Comments sorted by
  • I got it working, but I had to purge liquidsoap, icecast2, and postgresql to make it work.  I also had to change the urls in airtime.conf and api_client.cfg.
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    generally, theses problems are due to hosts misconfiguration... 
  • -- 2012-10-26 23:59:07,206 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 105 - Error connecting to server, waiting 5 seconds and trying again.


    It seems like the you may have had an incorrect host name in your pypo.cfg and media-monitor.cfg?
    Airtime Pro Hosting: http://airtime.pro