My GUI Uploads don't show up in Playlist Builder
  • Hi,
    I managed to install airtime 2.0.1 after a few tries and with the help of this forum on a shared webhost.

    Everything was working including uploads through the webinterface until yesterday I installed apc cache ($ sudo apt-get install apc) and suddenly apt-get seemed to rerun the airtime install script?!
    After this I rebooted, than I had to edit the airtime.vhost because it was set to default.

    Now Everything is working except: when I upload files through "Add Media" the files don't show up in the Playlist Builder but are correctly imported in the airtime folder structure.

    I searched the whole forum and tried everything but no success... previously I did this to get uploads working:

    added the following to my 
    /etc/fstab/
    none dev/shm tmpfs rw,nosuid,nodev,noexec 0 0


    added # -*- coding: utf-8 -*-
    to /usr/lib/airtime/media-monitor/MediaMonitor.py

    Here is a airtime-check-system output:


    AIRTIME_STATUS_URL = http://localhost/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING = OK
    KERNEL_VERSION = 2.6.18-028stab094.3
    MACHINE_ARCHITECTURE = x86_64
    TOTAL_MEMORY_MBYTES = 2097152
    TOTAL_SWAP_MBYTES = UNKNOWN
    AIRTIME_VERSION = 2.0.1
    OS = Ubuntu 10.04.4 LTS x86_64
    CPU = Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
    WEB_SERVER = Apache/2.2.14 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID = 1328
    PLAYOUT_ENGINE_RUNNING_SECONDS = 3474
    PLAYOUT_ENGINE_MEM_PERC = 0.5%
    PLAYOUT_ENGINE_CPU_PERC = 0.0%
    LIQUIDSOAP_PROCESS_ID = 1335
    LIQUIDSOAP_RUNNING_SECONDS = 3474
    LIQUIDSOAP_MEM_PERC = 1.4%
    LIQUIDSOAP_CPU_PERC = 0.9%
    MEDIA_MONITOR_PROCESS_ID = 1321
    MEDIA_MONITOR_RUNNING_SECONDS = 3474
    MEDIA_MONITOR_MEM_PERC = 0.6%
    MEDIA_MONITOR_CPU_PERC = 0.0%
    SHOW_RECORDER_PROCESS_ID = 1346
    SHOW_RECORDER_RUNNING_SECONDS = 3474
    SHOW_RECORDER_MEM_PERC = 0.6%
    SHOW_RECORDER_CPU_PERC = 0.0%
    RABBITMQ_PROCESS_ID = 1527
    RABBITMQ_RUNNING_SECONDS = 3472
    RABBITMQ_MEM_PERC = 1.0%
    RABBITMQ_CPU_PERC = 0.0%

    -- Your installation of Airtime looks OK!


    I attached the last lines of my media-monitor.log where there are some errors.
    Maybe this is a database problem but I don't know how to check the database.

    Thank you in advance for any help provided.
    Post edited by Kunsang Norbu Tsering at 2012-03-22 10:01:23
  • 3 Comments sorted by
  • Ok, I kind of fixed it for myself.

    I updated airtime to 2.0.2 then configured locales (another problem is, everytime I reboot, all locales are reset to POSIX and this gives me errors when using apt-get etc.)


    export LANGUAGE=de_DE.UTF-8
    export LANG=de_DE.UTF-8
    export LC_ALL=de_DE.UTF-8
    locale-gen de_DE.UTF-8
    dpkg-reconfigure locales


    and restarted airtime:


    sudo invoke-rc.d airtime-playout restart
    sudo invoke-rc.d airtime-media-monitor restart


    Now everything is working as expected.

    Maybe someone can help me with my locale problem. I'm using ubuntu 10.04.4 LTS x86_64
    on a vserver.

  • You should ask your host why your locale is getting reset everytime you reboot the OS.

    As for why installing APC cache reinstalled Airtime, that's the first time we've heard about this problem. We'll definitely looks into this.
    Airtime Pro Hosting: http://airtime.pro
  • I think the problem with apt-get was that the airtime install script didn't complete when I first installed airtime. And now there is something "stuck" in apt-get.
    Maybe there was an error during the installation because of the missing locale settings.