Airtime Web interface media upload stops at % of file
  • Hi all,

    Up until yesterday we were able to upload mp3 files through the "Add media" section of the Airtime web interface. Now, with no changes or updates to the system that I can see in the logs, it fails and just shows the percentage completed and the yellow exclamation point in a triangle icon.

    Here is this error.
    Undefined variable: contentType<pre>#0 [internal function]: exception_error_handler(8, 'Undefined varia...', '/usr/share/airt...', 937, Array)
    #1 /usr/share/php/libzend-framework-php/Zend/Log.php(598): call_user_func('exception_error...', 8, 'Undefined varia...', '/usr/share/airt...', 937, Array)
    #2 /usr/share/airtime/application/models/StoredFile.php(937): Zend_Log->errorHandler(8, 'Undefined varia...', '/usr/share/airt...', 937, Array)
    #3 /usr/share/airtime/application/controllers/PluploadController.php(32): Application_Model_StoredFile::uploadFile('/tmp/plupload')
    #4 /usr/share/php/libzend-framework-php/Zend/Controller/Action.php(516): PluploadController->uploadAction()
    #5 /usr/share/php/libzend-framework-php/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('uploadAction')
    #6 /usr/share/php/libzend-framework-php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #7 /usr/share/php/libzend-framework-php/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
    #8 /usr/share/php/libzend-framework-php/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
    #9 /usr/share/airtime/public/index.php(64): Zend_Application->run()
    #10 {main}</pre>
    And here is the server info:
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.2.0-89-generic
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 1951632
    TOTAL_SWAP_MBYTES              = 2095100
    AIRTIME_VERSION                = 2.5.1
    OS                             = Ubuntu 12.04.5 LTS x86_64
    CPU                            = QEMU Virtual CPU version 2.0.0
    WEB_SERVER                     = Apache/2.2.22 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 998
    PLAYOUT_ENGINE_RUNNING_SECONDS = 65057
    PLAYOUT_ENGINE_MEM_PERC        = 1.0%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 1422
    LIQUIDSOAP_RUNNING_SECONDS     = 65030
    LIQUIDSOAP_MEM_PERC            = 1.9%
    LIQUIDSOAP_CPU_PERC            = 3.2%
    MEDIA_MONITOR_PROCESS_ID       = 987
    MEDIA_MONITOR_RUNNING_SECONDS  = 65057
    MEDIA_MONITOR_MEM_PERC         = 1.0%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- Your installation of Airtime looks OK!


    Any ideas for troubleshooting appreciated!
  • 1 Comment sorted by
  • Vote Up0Vote Down Albert SantoniAlbert Santoni
    Posts: 68Member, Sourcefabric Team, Airtime Moderator
    Are you out of disk space?

    It looks like Airtime might be failing to create a temporary file on the server side. Can you check /var/log/apache2/error.log for any errors? 
    Airtime Developer @ Sourcefabric