Airtime add files to library problem
  • I runned a full install of airtime today. Everything looks fine but i cannot add media files to my library.
    I tried changing the storage path and also adding a new watch folder.
    Nothing gets added.

    in py-interpreter.log i have the following lines :

    Exception in thread Thread-1:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
        self.run()
      File "/usr/lib/airtime/media-monitor/mm2/media/saas/launcher.py", line 56, in run
        u'stor' : adb.storage_path(),
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/syncdb.py", line 60, in storage_path
        def storage_path(self)  : return self.base_storage
    AttributeError: 'AirtimeDB' object has no attribute 'base_storage'

    What log do you need me to post here to get the idea of my problem ?
    I am hosting the radio on my personal server which also hosts some web projects of mine.
    This is how my library looks like : http://rhose87.no-ip.org/eroareradio.png

    sudo aitime-check-system returns : http://pastebin.com/Tcg9NwW0
    Post edited by Sebastian Roibu at 2013-10-29 15:49:59
  • 1 Comment sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Sebastian, you have more than one issue with your machine. First is that PHP is trying to load sqlite support and it isn't installed. You do not need this for Airtime, so I would suggest commenting it out from your PHP configuration. You should be able to find the roque config file with the command:

    grep sqlite /etc/php5/conf.d/*

    Second issue is your Apache config. AIRTIME_STATUS_URL indicates that your web root is http://rhose87.no-ip.org/radio/public/ which is not serving anything at present. I would suggest your web root in your Apache virtual host config should be radio/ not radio/public/ so that the status URL becomes:

    http://rhose87.no-ip.org:80/radio/api/status/format/json/api_key/%%api_key%%

    Please let us know how you get on. When posting console output in future, I would recommend that you obfuscate the API keys, as they are meant to be secret!

    Cheers!

    Daniel