/etc/airtime/liquidsoap.cfg gets reset constantly
  • Vote Up0Vote Down EthanEthan
    Posts: 10Member
    I just upgraded Airtime from 2.1.0 to 2.1.1 and had it configured and running smoothly prior to this upgrade. So I upgrade a realize it isn't streaming where it left off! Turns out it started giving me the 401 Auth error on the streams page again, so I check my liquidsoap.cfg and sure enough the s1_user is back to blank and s1_pass is back to hackme

    I go ahead and update those with source for the user and the icecast2 password I use and use: 
    service liquidsoap restart 
    service airtime-playout restart

    I get the exact same 401 error, then I double check to make sure I entered the correct info into liquidsoap.cfg and EVERYTHING is back to default.
    (I also tried setting chmod to 444 on the CFG, didn't work)
    Any help is much appreciated as my radio station is down. Thanks!
    Post edited by Ethan at 2012-06-14 20:19:51
  • 9 Comments sorted by
  • Vote Up0Vote Down EthanEthan
    Posts: 10Member
    I should note that /etc/airtime/liquidsoap.cfg only gets reset when I restart the airtime-playout service.

    System is running Ubuntu 11.10 if it makes a difference.
    Icecast2 is also running, just not receiving a stream.

    Thanks in advance!
  • Hi Ethan,

    As of Airtime version 2.0, we don't recommend users to modify liquidsoap.cfg directly. If you want to change stream setting, you can go to System->Stream and change your setting there and it will rewrite liquidsoap.cfg for you. Even after you restart playout, liquidsoap.cfg will have values that you save on stream setting page.

    Thank you.

  • Vote Up0Vote Down EthanEthan
    Posts: 10Member
    Nope, still refuses to set the values in liquidsoap.cfg via the System -> Stream settings. 

    Image of the streams page: http://cl.ly/062H3A000U133W3g3l23


  • When you click save on the stream settings page, it should update the liquidsoap.cfg file. Please confirm this is the case.
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down EthanEthan
    Posts: 10Member
    Confirmed, liquidsoap.cfg does update back to default settings after I click save in the Stream Settings page. The info I gave the streams page is non-existant in the liquidsoap.cfg file though.
  • This doesn't make sense, since Liquidsoap.cfg should be getting its values from the same database as the the stream settings page.

    The only thing I can think of is that your api_client.cfg (file which tells Liquidsoap which server to connect to on startup when it gets these values) is pointing to another server that has these "default" values you mention.

    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down EthanEthan
    Posts: 10Member
    Here are my config files: http://cl.ly/37011f1G291Q2K3v0Y1Q

    They are all in the default state after the 2.1.1 upgrade. No changes were made to liquidsoap.cfg, that is exactly what it sets the settings to after I enter them on the streams page, it just refuses to set the s1_pass and s1_user. (Only using 1 stream.)

    When I looked at my log files earlier, the main error that recurred was the 401, nothing interesting when I reset the airtime-playout or saved on the streams page.

    Thanks so much
  • Hi Ethan,

    Are you setting username/password under "Additional Options" section? From your first screen shot, I have strong feeling that you are assuming "Master Username" and "Master Password" as your Icecast auth info.
    If you did can you please expand the "Additional Options" section and take a screen shot again?

    Thank you.
  • Vote Up0Vote Down EthanEthan
    Posts: 10Member
    ;_; I didn't even know that was a drop down menu. Fixed, thanks for curing my stupidity.