Airtime installation behaves as read only - cant write to DB?
  • Dear all,

    My installation of airtime seems to be read only.

    I am using the web interface but i cant add new shows in
    calendar and i cant add new users or admins. The interface
    doesn't show any errors. When i try to add a new admin when
    i press the save button nothing happens. The user is not
    added on the left on the user list. When i try to add a new
    show in the calendar when i press the +Show button and fill
    in the show information and then press the +addThisShow
    button nothing happens. The show doesnt appear on the
    calendar and the +Show button disappears. I have to refresh
    the page to make it appear again.



    It feels like the intallation is read only and cant make
    changes to the underlying database. Any help??



    Thank you!

    Nick
  • 7 Comments sorted by
  • Hello! Which version of Airtime did you install? How'd you install it? And which OS are you running?
  • root@prod:~# airtime-check-system
    AIRTIME_STATUS_URL             = ******
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.14-1-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 3350928
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.5.1
    OS                             = Debian GNU/Linux testing (jessie) x86_64
    CPU                            = Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
    WEB_SERVER                     = Apache/2.4.9 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 710
    PLAYOUT_ENGINE_RUNNING_SECONDS = 72905
    PLAYOUT_ENGINE_MEM_PERC        = 0.5%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 1704
    LIQUIDSOAP_RUNNING_SECONDS     = 72868
    LIQUIDSOAP_MEM_PERC            = 1.1%
    LIQUIDSOAP_CPU_PERC            = 1.2%
    MEDIA_MONITOR_PROCESS_ID       = 705
    MEDIA_MONITOR_RUNNING_SECONDS  = 72906
    MEDIA_MONITOR_MEM_PERC         = 2.1%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- Your installation of Airtime looks OK!
    root@prod:~#

    I dont know how the installation was made because somebody else did it but it was working perfectly until recently...
  • Looks like their Debian release is too bleeding-edge new. Tell your team use Debian Wheezy instead...
    :-B
  • The upgrade to Debian testing was made because of sound problems we had with chopped sound due to an NVIDIA GPU. Of course we didn't know that the GPU card was the problem at that time, hence the upgrade to Debian testing. We can't revert it back to stable. This shouldn't be the case though as the system worked perfectly fine for almost 6 months or more. Is there anything I could try to figure out what is wrong?

    studiouser@prod:~$ sudo airtime-log -t liquidsoap
    [sudo] password for studiouser:
    Tail liquidsoap log2014/07/09 19:16:38 [server:3] New client: localhost.
    2014/07/09 19:16:38 [server:3] Client localhost disconnected.
    2014/07/09 19:16:48 [server:3] New client: localhost.
    2014/07/09 19:16:48 [server:3] Client localhost disconnected.
    2014/07/09 19:16:58 [server:3] New client: localhost.
    2014/07/09 19:16:58 [server:3] Client localhost disconnected.
    2014/07/09 19:17:08 [server:3] New client: localhost.
    2014/07/09 19:17:08 [server:3] Client localhost disconnected.
    2014/07/09 19:17:18 [server:3] New client: localhost.
    2014/07/09 19:17:18 [server:3] Client localhost disconnected.

    Is this normal?


  • Would this help somehow:
    2014-07-08T20:57:59+03:00 INFO (6): [index.php : () : line 71] - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated
    2014-07-08T20:57:59+03:00 INFO (6): [index.php : () : line 73] - #0 [internal function]: exception_error_handler(8192, 'iconv_set_encod...', '/usr/share/php/...', 919, Array)

  • You're running the testing level of Debian, friend! It's absolutely not designed to be used in stable production environments. :)

    My advice is to install Airtime to a decent SSD VPS somewhere with Wheezy. If you'd rather keep your box in-house, just buy an inexpensive video card known to work with 7. Take that NVIDIA card out and put it to better use elsewhere.

    PM me if you'd like suggestions! :-c
  • Would it be possible for you to downgrade your version of PHP? A quick Google reveals similar errors when using php 5.6.

    UOC Radio said:

    Would this help somehow:
    2014-07-08T20:57:59+03:00 INFO (6): [index.php : () : line 71] - iconv_set_encoding(): Use of iconv.internal_encoding is deprecated
    2014-07-08T20:57:59+03:00 INFO (6): [index.php : () : line 73] - #0 [internal function]: exception_error_handler(8192, 'iconv_set_encod...', '/usr/share/php/...', 919, Array)