Change storage directory
  • Airtime's mp3 are currently stored in /srv/airtime ... I would like to move the storage foldere to /home/{someuser}/storage , so i created a new folder with mkdir, i checked file permissions, owner, group and all seems ok.

    I changed in /etc/airtime/airtime.conf the variable from /srv/airtime to /home/{someuser}/storage, saved and rebooted

    I decided to do it with a clean installation (no files already added). When i upload a song the upload completes successfuly but airtime's db doesn't store his path on database! (empty field)

    How can i do? Suggestions? also airtime-update-db doesn't work Sad
  • 3 Comments sorted by
  • Hi Andrea,

    This is one problem we are looking to fix. Unfortunately changing the value in "/etc/airtime/airtime.conf" after you've imported doesn't allow you to move the stor location (you have to change it before you import).

    The ticket for this is here:
    http://dev.sourcefabric.org/browse/CC-2150

    Airtime Pro Hosting: http://airtime.pro
  • Thanks Martin for your explanation, i will try to debug a little bit and maybe write a little script for storage migration Smile
  • Currently the location to the file is an absolute path in the cc_files table. You will just need to change this.
    Airtime Pro Hosting: http://airtime.pro