# Autoloading playlists failing randomly

**URL:** <https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547>\
**Category:** Get Help\
**Created:** [August 16, 2023, 2:19am UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547 "2023-08-16T02:19:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![matias-tecnosoul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/matias-tecnosoul/32/341_2.png) [@matias-tecnosoul](https://discourse.libretime.org/u/matias-tecnosoul)\
**Post date:** [August 16, 2023, 2:19am UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/1 "2023-08-16T02:19:26Z")

</div>

We’ve noticed a random issue with “autoloading playlists” not being loaded, leaving the shows without tracks.

We have 4 LTs installs running v3.1.0 on Debian Bullseye.  
The issue happened in 2 LT installs on different machines. One install is fresh and the other is an upgrade from older versions.  
And it didn´t happen in 2 other installs, both upgraded.

The shows have been working fine with the lists being autoloaded correctly until a couple of days ago.  
We tried recreating the blocks and lists but the issue happened again.  
We’re trying recreating the shows now.

I can enclose some logs but wanted to see if this is happening to someone else.  
Thanks for any hints!

---

<div class="post-metadata">

**Author:** ![esbobkov](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/esbobkov/32/617_2.png) [@esbobkov](https://discourse.libretime.org/u/esbobkov)\
**Post date:** [August 23, 2023, 6:12am UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/2 "2023-08-23T06:12:33Z")

</div>

Yes, I have same issues

---

<div class="post-metadata">

**Author:** ![matias-tecnosoul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/matias-tecnosoul/32/341_2.png) [@matias-tecnosoul](https://discourse.libretime.org/u/matias-tecnosoul)\
**Post date:** [August 23, 2023, 10:03am UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/3 "2023-08-23T10:03:16Z")

</div>

Good to know we’re not alone 🙂  
I’ve opened an [issue in github](https://github.com/libretime/libretime/issues/2670)  
Thanks!

---

<div class="post-metadata">

**Author:** ![matias-tecnosoul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/matias-tecnosoul/32/341_2.png) [@matias-tecnosoul](https://discourse.libretime.org/u/matias-tecnosoul)\
**Post date:** [January 2, 2024, 12:53pm UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/4 "2024-01-02T12:53:09Z")

</div>

Just out of curiosity, is anyone having this issue using Ubuntu? I’m using debian 11 in all our instances.

(edit: I’ve just realized that we’re also having the issue with dockerized instances, so I guess the distro doesn´t have much influence)

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [January 7, 2024, 12:10pm UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/5 "2024-01-07T12:10:02Z")

</div>

I doubt the distro influences this bug.

Ideally we would need a way to reproduce this, and once we have, we can find the fix.

---

<div class="post-metadata">

**Author:** ![matias-tecnosoul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/matias-tecnosoul/32/341_2.png) [@matias-tecnosoul](https://discourse.libretime.org/u/matias-tecnosoul)\
**Post date:** [January 8, 2024, 12:28pm UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/6 "2024-01-08T12:28:55Z")

</div>

Hi joola, what if I provide you access to one of our containers? I have a couple that we kept for debbuging.  
thanks!!

---

<div class="post-metadata">

**Author:** ![matias-tecnosoul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/matias-tecnosoul/32/341_2.png) [@matias-tecnosoul](https://discourse.libretime.org/u/matias-tecnosoul)\
**Post date:** [February 23, 2024, 8:12pm UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/7 "2024-02-23T20:12:02Z")

</div>

Guys, so this is not happening to most of you right?? is it because you don´t rely so much on autoloading playlists? or because there’s something wrong with my instances??  
I find it so weird that this is not happening to more people. I have tried like 20 different installs including docker and none worked correctly, so I don´t know what else to think and try… 😕

---

<div class="post-metadata">

**Author:** ![matias-tecnosoul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/matias-tecnosoul/32/341_2.png) [@matias-tecnosoul](https://discourse.libretime.org/u/matias-tecnosoul)\
**Post date:** [February 28, 2024, 11:24am UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/8 "2024-02-28T11:24:13Z")

</div>

The only “different” setup I’m using is external icecast servers. I’m not using the default icecast installed with the standard install.  
I mention it just in case… cheers

---

<div class="post-metadata">

**Author:** ![matias-tecnosoul](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/matias-tecnosoul/32/341_2.png) [@matias-tecnosoul](https://discourse.libretime.org/u/matias-tecnosoul)\
**Post date:** [April 17, 2024, 1:29pm UTC](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547/9 "2024-04-17T13:29:20Z")

</div>

there seems to be some news about this 😃

> <https://github.com/libretime/libretime/issues/2670#issuecomment-2053668437>
>
> \### Describe the bug
> 
> We had random failures with “autoloading playlists” not be…ing loaded, leaving the shows without tracks.
> 
> The shows are working fine with the lists being autoloaded correctly but they've failed a couple of time in the last week.
> We tried recreating the blocks and lists but the issue happened again.
> I've asked in the \[forum\](https://discourse.libretime.org/t/autoloading-playlists-failing-randomly/1547) and one other person had the issue as well.
> Thanks!!
> 
> \### To reproduce
> 
> We couldn't find how to reproduce the issue. The issue happened in 2 LT installs on different machines. One install is fresh and the other is an upgrade from older versions. On the other hand it didn´t happen in 2 other installs, both upgraded.
> 
> 
> \### Expected behavior
> 
> Shows being autoloaded from the configured autoload playlists.
> 
> \### Relevant log output or error messages
> 
> \`\`\`shell
> The error ocurred in the 20:00hs show.
> 
> Liquidsoap logs
> 
> 2023/08/21 19:56:45 \[s3:3\] Prepared "/var/lib/libretime/playout/scheduler/418.mp3" (RID 0).
> 2023/08/21 19:56:45 \[lang:3\] timeout --signal=KILL 45 libretime-playout-notify media '14899' &
> 2023/08/21 19:56:45 \[lang:3\] Using message format 0
> 2023/08/21 19:56:45 \[lang:3\] Using message format 0
> 2023-08-21 19:56:45,713 | INFO | libretime\_playout.notify.main:media:72 - Sending currently playing media id '14899'
> 2023/08/21 19:59:59 \[cue\_cut\_9618:3\] Cueing out...
> 2023/08/21 19:59:59 \[dummy:3\] Source failed (no more tracks) stopping output...
> 2023/08/21 19:59:59 \[dummy(dot)2:3\] Source failed (no more tracks) stopping output...
> 2023/08/21 19:59:59 \[switch:blank+schedule:3\] Switch to map\_metadata:offline with forgetful transition.
> 2023/08/21 19:59:59 \[lang:3\] transition called...
> 2023/08/21 20:00:00 \[server:3\] New client: 127.0.0.1.
> 2023/08/21 20:00:00 \[server:3\] Client 127.0.0.1 disconnected.
> 2023/08/21 20:02:11 \[server:3\] New client: 127.0.0.1.
> 2023/08/21 20:02:11 \[lang:3\] web\_stream.get\_id
> 2023/08/21 20:02:11 \[server:3\] Client 127.0.0.1 disconnected.
> 2023/08/21 20:08:51 \[server:3\] New client: 127.0.0.1.
> 
> Playout logs
> 
> 2023-08-21 18:55:27,794 | INFO | libretime\_playout.player.fetch:main:311 - Loop #1223
> 2023-08-21 18:55:27,797 | INFO | libretime\_playout.player.queue:main:57 - New schedule received
> 2023-08-21 18:55:27,797 | INFO | libretime\_playout.player.queue:main:39 - waiting 28.202465s until next scheduled item
> 2023-08-21 18:55:56,010 | INFO | libretime\_playout.player.queue:main:39 - waiting 296.989672s until next scheduled item
> 2023-08-21 19:00:53,003 | INFO | libretime\_playout.player.queue:main:39 - waiting 342.996558s until next scheduled item
> 2023-08-21 19:02:07,794 | INFO | libretime\_playout.player.fetch:main:332 - Queue timeout. Fetching schedule manually
> 2023-08-21 19:02:08,434 | INFO | libretime\_playout.player.queue:main:57 - New schedule received
> 2023-08-21 19:02:08,434 | INFO | libretime\_playout.player.queue:main:39 - waiting 267.565633s until next scheduled item
> 2023-08-21 19:02:08,465 | INFO | libretime\_playout.player.fetch:cache\_cleanup:255 - File '/var/lib/libretime/playout/scheduler/430.mp3' removed
> 2023-08-21 19:02:08,481 | INFO | libretime\_playout.player.fetch:cache\_cleanup:255 - File '/var/lib/libretime/playout/scheduler/406.mp3' removed
> 2023-08-21 19:02:08,481 | INFO | libretime\_playout.player.fetch:main:311 - Loop #1224
> 2023-08-21 19:06:36,004 | INFO | libretime\_playout.player.queue:main:39 - waiting 1.995088s until next scheduled item
> 2023-08-21 19:06:38,012 | INFO | libretime\_playout.player.queue:main:39 - waiting 366.987057s until next scheduled item
> 2023-08-21 19:08:48,482 | INFO | libretime\_playout.player.fetch:main:332 - Queue timeout. Fetching schedule manually
> ...
> 2023-08-21 20:08:51,729 | INFO | libretime\_playout.player.fetch:main:311 - Loop #1234
> 2023-08-21 20:15:31,729 | INFO | libretime\_playout.player.fetch:main:332 - Queue timeout. Fetching schedule manually
> 2023-08-21 20:15:31,762 | INFO | libretime\_playout.player.fetch:main:311 - Loop #1235
> 2023-08-21 20:15:31,764 | INFO | libretime\_playout.player.queue:main:57 - New schedule received
> 2023-08-21 20:15:31,765 | INFO | libretime\_playout.player.queue:main:36 - waiting indefinitely for schedule
> 2023-08-21 20:22:11,762 | INFO | libretime\_playout.player.fetch:main:332 - Queue timeout. Fetching schedule manually
> 
> Let me know if you need more logs.
> \`\`\`
> 
> 
> \### LibreTime version
> 
> 3.1.0
> 
> \### Installation method and OS / Environment
> 
> Operating system: Debian Bullseye
> Method: Installer script
> 
> 
> \### Installation details
> 
> \_No response\_
> 
> \### Client Environment
> 
> Operating system:
> Browser:
> 
> 
> \### Screenshots
> 
> \_No response\_
