Cannot upload files in 1.8
  • hey guys, this is my first post ... great software btw!


    i had everything working just fine with version 1.7, but i messed things up during the 1.8 upgrade and did an uninstall/new 1.8 install.

    now, .. i can log in and use the 1.8 interface, and i can see my icecast mount points, but i cant upload files, ... when i try to, the interface just doesnt show any changes .. about the point that the progress bar would normal start to increment, nothing happens.

    i've about exhausted every idea of how to fix it so im hoping you guys can help.

    let me know where to look or what info i need to provide you guys

    thanks!

    colin
  • 43 Comments sorted by
  • Vote Up0Vote Down Ofir GalOfir Gal
    Posts: 130Member
    Hi Colin,
    I have not encountered this problem in the past but lets try a few things first.

    1) Please use Airtime v1.8.1 and not v1.8

    2) Are your files located on a network drive or on your local machine? To simplify the scenario, please make sure the files are on your local machine drive and then try to upload them.

    3) To make sure we're clearing and changes that were made before,
    please clear your browser cache, and please (backup if needed and) remove the Airtime database.

    4) If you installed it manually and not from the package, please review the installation manual and make sure you have all dependencies installed.



  • I'll be home in a bit to try 1.8.1, for now, to clarify,.. i am able to upload files from my old install via the import command. the problem comes up when i try to upload to the server via the airtime interface.

    i'll give you an update as soon as i have 1.8.1 installed.

    thanks!
  • so i upgraded to 1.8.1.
    check the dependancies.
    my files are on the local machine, and those will upload just fine.
    i went ahead and did a full reinstall, so im assuming that the database was wiped in the process.
    so the problems which remain:

    1. still cannot upload files remotely
    2. the "on air" button remains unlit.

    from itunes, i get the message airtime offline, and i can see users mountpoints in icecast, so thats working.
    the playlist-builder and calendar are working fine also... so tracks are being queued up and played correctly.

    at this point i would be satisfied if we could get the on air light back up and the stream playing sound, but i hope the uploads work eventually also


    i know im not offering much info here, but ive kind of exhausted every avenue i can think of
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    do you get any kind of error showing up underneath the upload box when it doesn't work?
  • no, no errors... the interface just never responds.... the progress bar appears and then never moves
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    what browser are you using to try and upload the files with?

    Have you tried more than 1 and they all failed?
  • omg .. lol .. .never considered that ... it works .. chrome doesnt ...

    firefox works

    ok .. well .. one thing down ... as for the "on air" not working ... ive gone through the steps in the FAQ and the timezone is fine, .. and pypo seems fine
    http://wiki.sourcefabric.org/display/CC/FAQ+and+Support#FAQa ndSupport-Theprogressbarsshowthesongasplaying%2CbutONAIRisun lit.%26nbsp%3BWhat%27sgoingon%3F

    but ive kind of run out of directions in which to look for problems
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    ok you are using Chrome version 11? I've heard there was a change in the new release of the browser that affects the functionality of the uploader. There's currently no fix for it. In previous versions of Chrome it works. I should file a JIRA if there isn't one already for this problem.
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    can you post your logs as an attachment for the no air problem please?
  • yeah, .. chrome 11, .. i'll have logs for you in just a moment
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    ok great

    http://dev.sourcefabric.org/browse/CC-2240

    this is the jira for chrome 11/the uploader. You can watch it if you want to track any updates towards this fix.
  • here are the two logs mentioned in the faq
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    hmmm

    can you enter this url in your browser and then paste the output back here for me?

    http://71.229.7.76:80/api/version/api_key/%%api_key%%

    replace the end of the url with your api key

    (can find it in /etc/airtime/airtime.conf)
  • {"version":"1.8.1"}
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    hmmm
    well that is the correct info. Could you schedule something to play and then print the logs from a time during the scheduled broadcast?
  • i think that there was something playing during that time, but i'l setup a long playlist to test again
  • heres the files while the system is running ...

    interestingly .. i had to restart the server to get the current files to update, ... and when i did, the meta data stream that said "airtime offline" in itunes no longer displayed.
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    can you modify a file for me?

    python_apps/api_clients/api_client.py

    change line 176
    logger.error("Unable to detect Airtime Version - %s, Response: %s", e, response)

    to
    logger.error("Unable to detect Airtime Version - %s", e)

    This isn't being handle well right now, hopefully the actual error can print now.

    please reinstall and then post your logs?
  • by reinstall, you mean run

    cd ~/airtime/install
    sudo php airtime-install.php

    ??
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    yes please
  • im going to have to pick this up tommarrow morning .. i'll get you the results asap

    thanks for your help so far
  • OK -- the changes were made, .. and i reinstalled.... heres the results in the logs
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    How are your Daemons set up? They seem to not have a network connection and are failing to get any data.
  • I honestly have no idea how to answer that question


    heres a question ... when i attempted to use the automatic installer in version 1.8, and didnt have success, .. i had to use the instructions found in the step by step guide to see any updates to the system at all.

    once i had these problems, i attempted to uninstall and reinstall (again using the automatic installer) but when i did, it said everything was up to date and i would never get to the prompts that are part of the auto install ...

    would it be best to just start this intstall fresh using the auto installer and if so ... how do i REALLY get rid of everything so i can be sure im able to run the auto installer ???/
  • It looks like the pypo (the process creating those logs) can't connect to your web server.

    What do you get when you type the following from the machine where your logs are being generated:
    curl http://71.229.7.76:80/api/version/api_key/xxx


    Make sure you replace "xxx" with your private api_key available from /etc/airtime/airtime.conf
    Airtime Pro Hosting: http://airtime.pro
  • {"version":"1.8.1"}

  • ok. I see that you are using a different ip address that the default "localhost". Is this because you are running Airtime across multiple machines? If you aren't, running across multiple machines you can reset this value back to "localhost" in /etc/airtime/pypo.cfg

    base_url = 'localhost'


    Im not sure if this will solve your problem, but Im trying to reduce the number of unknown variables here.

    Also if you can access "curl http://71.229.7.76:80/api/version/api_key/xxx", from the terminal then I'm not sure why pypo wouldn't be able to from the same machine. Is there anything else you changed in the configs?

    Airtime Pro Hosting: http://airtime.pro
  • i changed the adress because that was how i recalled getting the system to work when i first installed 1.7

    i'll go ahead and put local host back in, but i think the problems will remain .... i'll go ahead and change it all back, and maybe post my configs here so you guys can see if i have them messed up or not
  • ok .. .changed to local host and rebooted the server .. heres are the logs
  • ok, so so pypo now gets the version information correctly according to your logs but now we have a new problem: rabbitmq-server doesn't look like its running.

    What happens when you run:
    sudo service rabbitmq-server start


    Do the errors still show in the logs?
    Airtime Pro Hosting: http://airtime.pro
  • Sorry if you're running Debian forget about the "sudo" Smile
    Airtime Pro Hosting: http://airtime.pro
  • well, immediatly i get the message Starting rabbitmq-server : FAILED - check /var/log/rabbitmq/startup_log, _err rabbitmq-server

    i'll pull up the log and post it just a sec
  • heres the log
  • This is strange. The only thing I can suggest right now is removing and installing rabbitmq again.

    Quote:
    sudo apt-get purge rabbitmq-server
    sudo apt-get install rabbitmq-server


    and then try starting it again.

    Airtime Pro Hosting: http://airtime.pro
  • OK .. well .. that killed about everything ... after restarting i had to then put all the files back in and reinstall airtime,... BUT .. even though i dont have any sound at the moment, the interface is responding better and the ON AIR light is red again ...

    so thats good.... now ive got to check on why theres no sound ... i'lll report back after ive checked a couple things
  • If you don't have sound, then please check /etc/airtime/liquidsoap.conf

    output to the soundcard is disabled by default.

    Martin
    Airtime Pro Hosting: http://airtime.pro
  • well my server has no soundcard, ... so now i have a playlist running, .. and its showing "ON AIR" .... but im seeing no mount points in icecast ... so i cant get on to check the stream

    any ideas why a mount point wouldnt be showing up???
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    are you looking for mp3 or ogg mountpoints? mp3 is also disabled by default

    set it on here
    /etc/airtime/liquidsoap.conf
  • Hey,

    You should try this command. It will verify that liquidsoap can connect to icecast:

    /opt/pypo/bin/liquidsoap/liquidsoap 'output.icecast(%vorbis, mount="test.ogg", sine())'


    Let us know if you can see any mountpoints at http://localhost:8000/

    Airtime Pro Hosting: http://airtime.pro
  • Sorry make that command

    /usr/lib/airtime/pypo/bin/liquidsoap/liquidsoap 'output.icecast(%vorbis, mount="test.ogg", sine())'
    Airtime Pro Hosting: http://airtime.pro
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    You havent given us much to go on. Please check the FAQ for ideas on how to
    find out where the error is:
    http://wiki.sourcefabric.org/x/HABQ



    On Mon, May 9, 2011 at 4:44 PM, mrcolin000 <
    airtime-support@lists.sourcefabric.org> wrote:

    > hey guys, this is my first post ... great software btw!
    >
    >
    > i had everything working just fine with version 1.7, but i messed things up
    > during the 1.8 upgrade and did an uninstall/new 1.8 install.
    >
    > now, .. i can log in and use the 1.8 interface, and i can see my icecast
    > mount points, but i cant upload files or create new shows in the calendar,
    > .. in both instances, airtime just doesnt respond.
    >
    > i've about exhausted every idea of how to fix it so im hoping you guys can
    > help.
    >
    > let me know where to look or what info i need to provide you guys
    >
    > thanks!
    >
    > colin
    >

  • I'have met this problem on Chrome browser, the solution was in use FireFox
  • hey .. sorry for the lack of updates, .. im a student and school stuff divides my time ...

    im starting from scratch today ... new OS install and everything .. hopefully things will work out this time