AzuraCast / AzuraCast

A self-hosted web radio management suite, including turnkey installer tools for the full radio software stack and a modern, easy-to-use web app to manage your stations.
https://www.azuracast.com/
GNU Affero General Public License v3.0
3.06k stars 568 forks source link

After the last update the radio doesn't play any music #4875

Closed roger-net closed 2 years ago

roger-net commented 2 years ago

Installation Method

Docker Installation

AzuraCast Release Channel

Rolling Release Channel

Current AzuraCast Version

Rolling Release #73a15d4 (2021-12-13 16:08)

What happened?

After the last update the radio doesn't play any songs from the playlist. It only plays the demo audio, remembering that before this last update everything was normal. I restarted the radio and the server more without success.

log.txt

Relevant log output

No response

roger-net commented 2 years ago

I managed to solve the problem, I went to "System Debugger" and then "Rebuild AutoDJ Queue". So far it's working without any more problems.

roger-net commented 2 years ago

I thought I had solved but the problem persists, I saw that another user is also having the same problem.

ItsMitchh commented 2 years ago

Seeing a lot of these 2021/12/13 11:24:49 [playlist.basic:3] Wrong mime type application/csv for playlist! errors showing up on my machine too, possibly related. Also seeing this too:

2021/12/13 11:28:58 [playlist_curiosidades_do_natal:3] Reloading playlist with URI /var/azuracast/stations/radio_novacast/playlists/playlist_curiosidades_do_natal.m3u.
2021/12/13 11:28:58 [request:3] Nonexistent file or ill-formed URI "/var/azuracast/stations/radio_novacast/playlists/playlist_curiosidades_do_natal.m3u"!
2021/12/13 11:28:58 [playlist_curiosidades_do_natal:3] Couldn't read playlist: request resolution failed.
nunotfc commented 2 years ago

ahaa! i forgot english, sorry. i have the same ishue i mean, is the same error of #4878

nunotfc commented 2 years ago

rebuilding helped me! thanks!

nunotfc commented 2 years ago

after some time of rebuilding, the station went back to azuracast is live and got stuck. this solution doesnt work.

ItsMitchh commented 2 years ago

CURRENT WORK AROUND - GO TO SYSTEM DEBUG -Rebuild AutoDJ Queue

Replicated this issue on my own machine, finally.

Details are here for the developers: Playlist Details

Songs: 112 General Rotation - 3 Only 1 playlist Duplicant Prevention ENABLED No Schedule No Advanced Settings

DOCKER LOGS -- [2021-12-15T18:01:09.873178+00:00] AzuraCast.ERROR: Too many attempts to get next song; giving up. {"station":{"id":108,"name":"Amiga"}} [] Audio track found: (FROM UPCOMING SONG QUEUE)

[2021-12-14T22:59:22.677052+00:00] AzuraCast.INFO: AzuraCast AutoDJ is calculating the next song to play... [] {"station":{"id":108,"name":"Amiga"}}
[2021-12-14T22:59:23.047666+00:00] AzuraCast.DEBUG: AutoDJ recent song playback history {"history_once_per_x_songs":[{"timestamp_played":1639523259,"playlist_id":425},{"timestamp_played":1639522978,"playlist_id":425},{"timestamp_played":1639522964,"playlist_id":425},{"timestamp_played":1639522747,"playlist_id":425},{"timestamp_played":1639522738,"playlist_id":425},{"timestamp_played":1639522445,"playlist_id":425},{"timestamp_played":1639522237,"playlist_id":425},{"timestamp_played":1639521810,"playlist_id":425},{"timestamp_played":1639521803,"playlist_id":425},{"timestamp_played":1639521550,"playlist_id":425},{"timestamp_played":1639521267,"playlist_id":425},{"timestamp_played":1639520755,"playlist_id":425},{"timestamp_played":1639520747,"playlist_id":425},{"timestamp_played":1639520415,"playlist_id":425},{"timestamp_played":1639520407,"playlist_id":425}],"history_duplicate_prevention":[{"song_id":"6c107a492e9a870047e3e93066b7e6be","timestamp_played":1639523259,"title":"freakshow","artist":""},{"song_id":"f92690049bb12e4dc12fc535a10bb09e","timestamp_played":1639522978,"title":"ashes","artist":"iamtheshadow"},{"song_id":"c51babc7bbee3b65e89bf672fae68f63","timestamp_played":1639522964,"title":"ineffable (edit)","artist":"dreams are like water"},{"song_id":"a57d88bd88f69dfd7a3e23304cabc857","timestamp_played":1639522747,"title":"phantom heart","artist":""},{"song_id":"be121740bf988b2225a313fa1f107ca1","timestamp_played":1639522738,"title":"awesome","artist":""},{"song_id":"2c7b08a7c3931545776007493a36742c","timestamp_played":1639522445,"title":"everlasting","artist":""},{"song_id":"17477729b36c265a8180ac487b1f79ca","timestamp_played":1639522237,"title":"no miracles","artist":"sdh"},{"song_id":"765b47fa2a9252b7b1194db7e6a6d99f","timestamp_played":1639521810,"title":"requiem (club remix)","artist":"mysterious art"},{"song_id":"f1c690639d746d0cda3b2e45aea7f0c2","timestamp_played":1639521803,"title":"agent orange","artist":""},{"song_id":"c2847bc34f286486dcc4348ad557839d","timestamp_played":1639521550,"title":"the calling","artist":"sandman sanctuary"},{"song_id":"477a13f98c0c0539263e4b6932e10d81","timestamp_played":1639521267,"title":"strangers in the night","artist":"principe valiente"},{"song_id":"03cb0ba1b046b9ab2d72c6a3829a4378","timestamp_played":1639520755,"title":"glowing in the dark","artist":"experimental products"},{"song_id":"fbd97b472c9a666b51281648fb644968","timestamp_played":1639520747,"title":"burn the witch","artist":""},{"song_id":"0dce4e0d013e784bd7c8ba11a570cb1d","timestamp_played":1639520415,"title":"the last thing (official video)","artist":"lebanon hanover"},{"song_id":"5739f350b0884289d32c32d6ac5c30fd","timestamp_played":1639520407,"title":"a forest","artist":""},{"song_id":"e72ecc8fbdaa70d9a47b7e2561e000aa","timestamp_played":1639520263,"title":"oxygen","artist":"skeleton hands"},{"song_id":"f926d98bf960fe4f1285b7631dd45c52","timestamp_played":1639520079,"title":"visions","artist":"near paris"},{"song_id":"c1b0d60f7d85bc5f03d25a1ddde87bba","timestamp_played":1639519951,"title":"wasting the dawn","artist":"the 69 eyes"},{"song_id":"2eb42b9c31ac030455e5a4a79bccf603","timestamp_played":1639519712,"title":"broken teeth","artist":""},{"song_id":"e012af167cd00ccd771ae5d33039a8e9","timestamp_played":1639519696,"title":"loneliness (1984)","artist":"intelligence dept."},{"song_id":"e3fc1d2993f10e5015d4dd9c83a0ca80","timestamp_played":1639519340,"title":"self control (raf cover)","artist":"ruin of romantics"},{"song_id":"354a0a42b19cc2fc1e135ad8d469a4c5","timestamp_played":1639519044,"title":"were so happy","artist":"danse society"},{"song_id":"a4aa7fe30918fb17df59b6db6ac1b08d","timestamp_played":1639518753,"title":"sixth june back for a day 2011","artist":""},{"song_id":"7c23b58fc71dcae3960f6a8ac6ef5fea","timestamp_played":1639518456,"title":"stumble and fall","artist":"clan of xymox"},{"song_id":"365953d887abdda63c12b9e5fa2b1ea2","timestamp_played":1639518179,"title":"empty house","artist":"little nemo"},{"song_id":"cf8305a8bd3e75c5e22234a8ddc38152","timestamp_played":1639517933,"title":"amethyst days","artist":"labyrinth ear"},{"song_id":"74d18b0e66056031cecc18ee888337b5","timestamp_played":1639517689,"title":"gold rush","artist":"parade ground"},{"song_id":"6551dd39e6675c8b4caa55b562b5339b","timestamp_played":1639517415,"title":"recover","artist":"second still"},{"song_id":"88092b5705f11e982cea6636607255e4","timestamp_played":1639517227,"title":"toundra","artist":"clair obscur"},{"song_id":"92601e1f48138d039fe43bab0fa88f81","timestamp_played":1639516973,"title":"wild world","artist":"love is colder than death"},{"song_id":"f115a5746f0ae580560d7effd0bdc8db","timestamp_played":1639516965,"title":"she knows","artist":""},{"song_id":"08a10b7c33a1437dfbd53de5babfaf0c","timestamp_played":1639516699,"title":"nothing but a void","artist":"blutengel"},{"song_id":"2b3595f8084152d06405e32ad9638337","timestamp_played":1639516621,"title":"past the sleeping guards of the mausoleum","artist":""},{"song_id":"9249bbd4e114ab69daa0cd6619b01601","timestamp_played":1639516445,"title":"low violet","artist":""},{"song_id":"26249b8a990b9ea1a9d76bf2c180c7ec","timestamp_played":1639516441,"title":"demon night (a true story)","artist":"syd.31"}]} {"station":{"id":108,"name":"Amiga"}}
[2021-12-14T22:59:23.049272+00:00] AzuraCast.DEBUG: Playlist has no schedule items; skipping schedule time check. [] {"playlist":{"id":425,"name":"#1"},"station":{"id":108,"name":"Amiga"}}
[2021-12-14T22:59:23.049458+00:00] AzuraCast.INFO: 1 playable playlist(s) of type "default_unscheduled" found. {"playlists":[{"id":425,"name":"#1","weight":3}]} {"station":{"id":108,"name":"Amiga"}}
[2021-12-14T22:59:23.055234+00:00] AzuraCast.INFO: Found track that avoids duplicate title and artist. {"media_id":17887,"title":"show of strength","artist":""} {"station":{"id":108,"name":"Amiga"}}
[2021-12-14T22:59:23.058322+00:00] AzuraCast.INFO: Playable track found and registered. {"next_song":"StationMedia 676846f033b02dc2fdf1871d:  - show of strength"} {"station":{"id":108,"name":"Amiga"}}
[2021-12-14T23:07:39.804193+00:00] AzuraCast.INFO: Annotation: annotate:title="show of strength",duration="288.00",song_id="bc16af940e23201ef0f89a447d48b467",media_id="17887",liq_amplify="0.00dB",playlist_id="425":/var/azuracast/stations/amiga/media/show_of_strength.mp3 [] []

Liquidsoap Logs

2021/12/15 17:59:45 >>> LOG START
2021/12/15 17:59:40 [main:3] Liquidsoap 2.0.1
2021/12/15 17:59:40 [main:3] Using: bytes=[distributed with OCaml 4.02 or above] pcre=7.4.6 sedlex=2.3 menhirLib=20210419 curl=0.9.1 dtools=0.4.4 duppy=0.9.2 cry=0.6.5 mm=0.7.2 xmlplaylist=0.1.5 lastfm=0.3.3 ogg=0.7.0 ogg.decoder=0.7.0 vorbis=0.8.0 vorbis.decoder=0.8.0 opus=0.2.0 opus.decoder=0.2.0 speex=0.4.0 speex.decoder=0.4.0 mad=0.5.1 flac=0.3.0 flac.ogg=0.3.0 flac.decoder=0.3.0 dynlink=[distributed with Ocaml] lame=0.3.4 shine=0.2.2 frei0r=0.1.2 fdkaac=0.3.2 theora=0.4.0 theora.decoder=0.4.0 ffmpeg-avutil=1.1.0 ffmpeg-avcodec=1.1.0 ffmpeg-avdevice=1.1.0 ffmpeg-av=1.1.0 ffmpeg-avfilter=1.1.0 ffmpeg-swresample=1.1.0 ffmpeg-swscale=1.1.0 bjack=0.1.6 alsa=0.3.0 ao=0.2.3 samplerate=0.1.6 taglib=0.3.7 ssl=0.5.9 magic=0.7.3 camomile=1.0.2 inotify=2.3 yojson=1.7.0 faad=0.5.0 soundtouch=0.1.9 portaudio=0.2.2 pulseaudio=0.1.4 ladspa=0.2.0 dssi=0.1.3 tsdl=v0.9.8 tsdl_ttf=0 camlimages=4.2.6 cohttp-lwt-unix=2.5.5 prometheus-app=1.1 srt.constants=0.2.1 srt.types=0.2.1 srt.stubs=0.2.1 srt.stubs.locked=0.2.1 srt=0.2.1 lo=0.2.0 gd=1.0a5
2021/12/15 17:59:42 [clock:3] Using builtin (low-precision) implementation for latency control
2021/12/15 17:59:45 [playlist.basic:3] Wrong mime type application/csv for playlist!
2021/12/15 17:59:45 [playlist.basic:3] Wrong mime type application/csv for playlist!
2021/12/15 17:59:45 [playlist.basic:3] Wrong mime type application/csv for playlist!
2021/12/15 17:59:45 [playlist.basic:3] Wrong mime type application/csv for playlist!
2021/12/15 17:59:45 [playlist.basic:3] Wrong mime type application/csv for playlist!
2021/12/15 17:59:45 [playlist parser:3] No format found
2021/12/15 17:59:45 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz main.
2021/12/15 17:59:45 [frame:3] Video frame size set to: 1280x720
2021/12/15 17:59:45 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2021/12/15 17:59:45 [frame:3] Targeting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2021/12/15 17:59:45 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2021/12/15 17:59:45 [sandbox:3] Running inside a docker container, disabling sandboxing.
2021/12/15 17:59:45 [video.converter:3] Using preferred video converter: ffmpeg.
2021/12/15 17:59:45 [audio.converter:3] Using samplerate converter: ffmpeg.
2021/12/15 17:59:45 [error_jingle:3] /usr/local/share/icecast/web/error.mp3 is static, resolving once for all...
2021/12/15 17:59:45 [error_jingle:3] Prepared "/usr/local/share/icecast/web/error.mp3" (RID 1).
2021/12/15 17:59:45 [local_1:3] Connecting mount /radio.mp3 for source@127.0.0.1...
2021/12/15 17:59:45 [local_1:3] Connection setup was successful.
2021/12/15 17:59:45 [clock.main:3] Streaming loop starts in auto-sync mode
2021/12/15 17:59:45 [clock.main:3] Delegating synchronisation to CPU clock
2021/12/15 17:59:45 [safe_fallback:3] Switch to error_jingle.
2021/12/15 17:59:46 [lang:3] AzuraCast Raw Response: 
2021/12/15 17:59:48 [lang:3] AzuraCast Raw Response: 
2021/12/15 17:59:51 [lang:3] AzuraCast Raw Response: 
2021/12/15 17:59:52 [lang:3] AzuraCast Raw Response: 
2021/12/15 17:59:55 [lang:3] AzuraCast Raw Response: 
2021/12/15 17:59:56 [lang:3] AzuraCast Raw Response: 
2021/12/15 17:59:59 [lang:3] AzuraCast Raw Response: 
2021/12/15 18:00:00 [lang:3] AzuraCast Raw Response: 
2021/12/15 18:00:05 [lang:3] AzuraCast Raw Response: 
2021/12/15 18:00:08 [lang:3] AzuraCast Raw Response: 
2021/12/15 18:00:11 [lang:3] AzuraCast Raw Response: 

IceCast config file


    <location>AzuraCast</location>
    <admin>icemaster@localhost</admin>
    <hostname>crosshost.ml</hostname>
    <limits>
        <clients>2500</clients>
        <sources>1</sources>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <burst-size>65535</burst-size>
    </limits>
    <authentication>
        <source-password>REDACTED</source-password>
        <relay-password>REDACTED</relay-password>
        <admin-user>REDACTED</admin-user>
        <admin-password>REDACTED</admin-password>
    </authentication>
    <listen-socket>
        <port>8060</port>
    </listen-socket>
    <mount type="normal">
        <mount-name>/radio.mp3</mount-name>
        <charset>UTF8</charset>
        <stream-name>Amiga</stream-name>
    </mount>
    <fileserve>1</fileserve>
    <paths>
        <basedir>/usr/local/share/icecast</basedir>
        <logdir>/var/azuracast/stations/amiga/config</logdir>
        <webroot>/usr/local/share/icecast/web</webroot>
        <adminroot>/usr/local/share/icecast/admin</adminroot>
        <pidfile>/var/azuracast/stations/amiga/config/icecast.pid</pidfile>
        <alias source="/" dest="/status.xsl"/>
        <ssl-private-key>/etc/nginx/certs/crosshost.ml.key</ssl-private-key>
        <ssl-certificate>/etc/nginx/certs/crosshost.ml.crt</ssl-certificate>
        <ssl-allowed-ciphers>ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS</ssl-allowed-ciphers>
        <deny-ip>/var/azuracast/stations/amiga/config/ip_bans.txt</deny-ip>
        <x-forwarded-for>172.*.*.*</x-forwarded-for>
        <x-forwarded-for>192.*.*.*</x-forwarded-for>
    </paths>
    <logging>
        <accesslog>icecast_access.log</accesslog>
        <errorlog>/dev/stderr</errorlog>
        <loglevel>2</loglevel>
        <logsize>10000</logsize>
    </logging>
    <security>
        <chroot>0</chroot>
    </security>
</icecast>```
nunotfc commented 2 years ago

SC2Mitch,

please keep it running for at least 2 hours. some sync task is breaking system and "AzuraCast is live!" again.

ItsMitchh commented 2 years ago

Think we tracked the bug down, standby.

ItsMitchh commented 2 years ago

Fixed in latest, let us know if its not, cheers.