"File Import in Progress"
  • Hi!

    I have uploaded 40 Files to my Radio Station via the integrated uploader. In the Mediafolder are 1997 Files which are correctly indexed. 

    Airtime now imports files for about 24hours.

    Why did it take this long?

    Regards

    Volker
    Post edited by Volker Steiger at 2012-08-05 14:32:21
  • 7 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    please provide linux box technical details
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    or give us your logs from /var/log/airtime/
  • Hi!

    What logs do you need? All?

    Regards
    Volker
    Post edited by Volker Steiger at 2012-08-06 16:51:02
  • Found this in the media-manager.log:

    2012-08-06 20:45:50,894 ERROR - [Thread #3] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-06 20:45:51,698 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-06 20:45:51,698 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-06 20:45:52,723 ERROR - [Thread #2] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-06 20:45:52,723 ERROR - [Thread #2] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
  • Any useful information before that? Perhaps post the entire log.
    Airtime Pro Hosting: http://airtime.pro
  • I did remove the latest Files from the upload folder. Now its working. Maybe i uploaded a file with a corrupt ID-Tag. I will check that and report here. Thank you!
  • Okey, today i tried to upload a file again. Same Error again:

    media-monitor.log

    2012-08-07 09:51:47,996 INFO - [MainThread] [airtimeprocessevent.py : process_IN_MOVED_TO()] : LINE 242 - process_IN_MOVED_TO: <Event cookie=10070 dir=False mask=0x80 maskname=IN_MOVED_TO name=A Seagull's Tale by Gandalf.mp3 path=/media/
    upload/organize pathname=/media/upload/organize/A Seagull's Tale by Gandalf.mp3 wd=6 >
    2012-08-07 09:51:47,996 INFO - [MainThread] [airtimemetadata.py : get_md_from_file()] : LINE 144 - getting info from filepath /media/upload/organize/A Seagull's Tale by Gandalf.mp3
    2012-08-07 09:51:48,364 INFO - [MainThread] [mediamonitorcommon.py : organize_new_file()] : LINE 310 - Organizing new file: /media/upload/organize/A Seagull's Tale by Gandalf.mp3
    2012-08-07 09:51:48,389 INFO - [MainThread] [mediamonitorcommon.py : create_file_path()] : LINE 262 - Unique filepath: /media/upload/imported/unknown/unknown/A Seagull's Tale by Gandalf-192kbps.mp3
    2012-08-07 09:51:48,671 DEBUG - [MainThread] [mediamonitorcommon.py : organize_new_file()] : LINE 314 - Moving from /media/upload/organize/A Seagull's Tale by Gandalf.mp3 to /media/upload/imported/unknown/unknown/A Seagull's Tale by Gand
    alf-192kbps.mp3
    2012-08-07 09:51:48,787 INFO - [MainThread] [airtimeprocessevent.py : process_IN_CREATE()] : LINE 110 - event: <Event dir=True mask=0x40000100 maskname=IN_CREATE|IN_ISDIR name=unknown path=/media/upload/imported pathname=/media/upload/im
    ported/unknown wd=5 >
    2012-08-07 09:51:48,788 INFO - [MainThread] [airtimeprocessevent.py : process_IN_MOVED_FROM()] : LINE 230 - process_IN_MOVED_FROM: <Event cookie=10071 dir=False mask=0x40 maskname=IN_MOVED_FROM name=A Seagull's Tale by Gandalf.mp3 path=/
    media/upload/organize pathname=/media/upload/organize/A Seagull's Tale by Gandalf.mp3 wd=6 >
    2012-08-07 09:51:48,789 INFO - [MainThread] [airtimeprocessevent.py : process_IN_MOVED_TO()] : LINE 242 - process_IN_MOVED_TO: <Event cookie=10071 dir=False mask=0x80 maskname=IN_MOVED_TO name=A Seagull's Tale by Gandalf-192kbps.mp3 path
    =/media/upload/imported/unknown/unknown pathname=/media/upload/imported/unknown/unknown/A Seagull's Tale by Gandalf-192kbps.mp3 src_pathname=/media/upload/organize/A Seagull's Tale by Gandalf.mp3 wd=503 >
    2012-08-07 09:51:48,790 INFO - [Thread #0] [workerprocess.py : process_file_events()] : LINE 19 - received event {'is_recorded_show': False, 'mode': 'create', 'filepath': "/media/upload/imported/unknown/unknown/A Seagull's Tale by Gandal
    f-192kbps.mp3"}
    2012-08-07 09:51:48,790 INFO - [Thread #0] [airtimenotifier.py : update_airtime()] : LINE 146 - updating filepath: /media/upload/imported/unknown/unknown/A Seagull's Tale by Gandalf-192kbps.mp3
    2012-08-07 09:51:48,790 INFO - [Thread #0] [airtimemetadata.py : get_md_from_file()] : LINE 144 - getting info from filepath /media/upload/imported/unknown/unknown/A Seagull's Tale by Gandalf-192kbps.mp3
    2012-08-07 09:51:48,963 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-07 09:51:48,963 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-07 09:51:54,165 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-07 09:51:54,166 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-07 09:51:59,391 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-07 09:51:59,391 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-07 09:52:04,532 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-07 09:52:04,533 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-07 09:52:09,714 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-07 09:52:09,714 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-07 09:52:14,843 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error
    2012-08-07 09:52:14,843 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 183 - Error connecting to server, waiting 5 seconds and trying again.
    2012-08-07 09:52:19,986 ERROR - [Thread #0] [api_client.py : get_response_from_server()] : LINE 177 - Error Authenticating with remote server: HTTP Error 500: Internal Server Error

    Maybe its a problem with the Webserver?

    root@vmanager616:~# service airtime-media-monitor status
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 2.6.32-5-xen-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 521052
    TOTAL_SWAP_MBYTES              = UNKNOWN
    AIRTIME_VERSION                = 2.1.3
    OS                             = Debian GNU/Linux 6.0.5 (squeeze) x86_64
    CPU                            = Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
    WEB_SERVER                     = Apache/2.2.16 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 568
    PLAYOUT_ENGINE_RUNNING_SECONDS = 142548
    PLAYOUT_ENGINE_MEM_PERC        = 1.9%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 575
    LIQUIDSOAP_RUNNING_SECONDS     = 142547
    LIQUIDSOAP_MEM_PERC            = 3.8%
    LIQUIDSOAP_CPU_PERC            = 11.9%
    MEDIA_MONITOR_PROCESS_ID       = 8479
    MEDIA_MONITOR_RUNNING_SECONDS  = 43766
    MEDIA_MONITOR_MEM_PERC         = 13.2%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    RABBITMQ_PROCESS_ID            = 688
    RABBITMQ_RUNNING_SECONDS       = 142542
    RABBITMQ_MEM_PERC              = 4.6%
    RABBITMQ_CPU_PERC              = 0.0%

    -- Your installation of Airtime looks OK!

    Any suggestions?

    Regards
    Volker

    Edit:

    Apache 2 Error log:

    [Tue Aug 07 10:00:43 2012] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/airtime/application/controllers/ApiController.php on line 644
    [Tue Aug 07 10:00:48 2012] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/airtime/application/controllers/ApiController.php on line 644
    [Tue Aug 07 10:00:48 2012] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/airtime/application/controllers/ApiController.php on line 644
    [Tue Aug 07 10:00:53 2012] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/airtime/application/controllers/ApiController.php on line 644
    [Tue Aug 07 10:00:53 2012] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/airtime/application/controllers/ApiController.php on line 644
    [Tue Aug 07 10:00:59 2012] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/airtime/application/controllers/ApiController.php on line 644
    [Tue Aug 07 10:00:59 2012] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/airtime/application/controllers/ApiController.php on line 644
    Post edited by Volker Steiger at 2012-08-07 06:01:44