[Bug]: Podcasts not downloading #682

Closed
opened 2026-04-24 23:16:50 +02:00 by adam · 11 comments
Owner

Originally created by @lakoliu on GitHub (Oct 6, 2022).

Describe the issue

Recently (within the last 2 weeks), I have not longer been able to download any podcasts. When I search for a recent episode, it finds it and says "Downloading..." but it never downloads. If I do it again, or try to download a different episode on a different podcast, it says the episode has been added to the download queue, but it never downloads. I've gone so far as erasing all my Audiobookshelf data and re-configuring the whole thing, but it that still didn't fix the issue. (I'm running it in Docker on NixOS.)

Steps to reproduce the issue

  1. On a podcast, click Edit > Episodes > [set the date] > Check & Download New Episodes
  2. Episode is found and says either Downloading or Added to Queue, but it is never downloaded.

Audiobookshelf version

v2.2.0

How are you running audiobookshelf?

Docker

Originally created by @lakoliu on GitHub (Oct 6, 2022). ### Describe the issue Recently (within the last 2 weeks), I have not longer been able to download any podcasts. When I search for a recent episode, it finds it and says "Downloading..." but it never downloads. If I do it again, or try to download a different episode on a different podcast, it says the episode has been added to the download queue, but it never downloads. I've gone so far as erasing all my Audiobookshelf data and re-configuring the whole thing, but it that still didn't fix the issue. (I'm running it in Docker on NixOS.) ### Steps to reproduce the issue 1. On a podcast, click Edit > Episodes > [set the date] > Check & Download New Episodes 2. Episode is found and says either Downloading or Added to Queue, but it is never downloaded. ### Audiobookshelf version v2.2.0 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:16:50 +02:00
adam closed this issue 2026-04-24 23:16:50 +02:00
Author
Owner

@advplyr commented on GitHub (Oct 6, 2022):

Are you seeing any errors or messaging in the docker logs?

@advplyr commented on GitHub (Oct 6, 2022): Are you seeing any errors or messaging in the docker logs?
Author
Owner

@lakoliu commented on GitHub (Oct 6, 2022):

No error in the logs, but looking further into it I believe I've found the issue. The MP3 is in the Podcasts folder on the drive, but it isn't showing up in Audiobookshelf, so I guess it just isn't re-syncing after downloading.

I clicked on the three-dots on the Podcast image and then click Re-scan and the episode showed up. It used to do this automatically once the episode downloaded. Is there something I need to fix to make sure it re-syncs as new episodes are downloaded?

@lakoliu commented on GitHub (Oct 6, 2022): No error in the logs, but looking further into it I believe I've found the issue. The MP3 is in the Podcasts folder on the drive, but it isn't showing up in Audiobookshelf, so I guess it just isn't re-syncing after downloading. I clicked on the three-dots on the Podcast image and then click Re-scan and the episode showed up. It used to do this automatically once the episode downloaded. Is there something I need to fix to make sure it re-syncs as new episodes are downloaded?
Author
Owner

@advplyr commented on GitHub (Oct 6, 2022):

Make sure the disable watcher setting isn't enabled both globally and in the podcast library settings. If you have debug logs on you can see if the watcher is getting fired at all when a file is added to your library.

@advplyr commented on GitHub (Oct 6, 2022): Make sure the disable watcher setting isn't enabled both globally and in the podcast library settings. If you have debug logs on you can see if the watcher is getting fired at all when a file is added to your library.
Author
Owner

@lakoliu commented on GitHub (Oct 7, 2022):

The "Disable Watcher" setting is off (I can only find one setting, so I believe it is global). In the logs I see the watcher is filing when I add a new podcast (it recognizes the cover image has been added), but not when I download an episode.

2022-10-07 09:13:45 DEBUG [Watcher] File Added /podcasts/Under the Radar/cover.jpg

2022-10-07 09:13:45 DEBUG [Watcher] Modified file in library "Podcasts" and folder "fol_knhip4ustiwa7wwdc0" with relPath "/Under the Radar/cover.jpg"

Also, now, after downloading the one episode, when I try to download an episode of another podcast it just says "download added to queue" and never downloads. In the log it says "starting download", but the download never seems to happen.

@lakoliu commented on GitHub (Oct 7, 2022): The "Disable Watcher" setting is off (I can only find one setting, so I believe it is global). In the logs I see the watcher is filing when I add a new podcast (it recognizes the cover image has been added), but not when I download an episode. `2022-10-07 09:13:45 DEBUG [Watcher] File Added /podcasts/Under the Radar/cover.jpg` `2022-10-07 09:13:45 DEBUG [Watcher] Modified file in library "Podcasts" and folder "fol_knhip4ustiwa7wwdc0" with relPath "/Under the Radar/cover.jpg"` Also, now, after downloading the one episode, when I try to download an episode of another podcast it just says "download added to queue" and never downloads. In the log it says "starting download", but the download never seems to happen.
Author
Owner

@advplyr commented on GitHub (Oct 8, 2022):

You should actually see logs saying the Watcher is ignoring the podcast directory first. Then it should show a log saying it is downlaoding the file.

[2022-10-08 16:36:16] DEBUG: [Watcher] Ignoring directory "/media/podcasts/Syntax"
[2022-10-08 16:36:16] DEBUG: [fileUtils] Downloading file to /media/podcasts/Syntax/Supper Club × ORMs with Nikolas Burke from Prisma.mp3
@advplyr commented on GitHub (Oct 8, 2022): You should actually see logs saying the Watcher is ignoring the podcast directory first. Then it should show a log saying it is downlaoding the file. ``` [2022-10-08 16:36:16] DEBUG: [Watcher] Ignoring directory "/media/podcasts/Syntax" [2022-10-08 16:36:16] DEBUG: [fileUtils] Downloading file to /media/podcasts/Syntax/Supper Club × ORMs with Nikolas Burke from Prisma.mp3 ```
Author
Owner

@lakoliu commented on GitHub (Oct 8, 2022):

That doesn't seem to be happening. I only get

2022-10-08 21:48:35 INFO [PodcastManager] Found 1 new episodes for podcast "Under the Radar" - starting download

but it never downloads. And it continues adding the download to the queue, even if I've cleared the queue. It said "1 Episode queued for download", I pushed the X on that and agreed to clear the queue, tried the download again, and now it says "2 Episodes queued for download", but nothing downloads.

@lakoliu commented on GitHub (Oct 8, 2022): That doesn't seem to be happening. I only get `2022-10-08 21:48:35 INFO [PodcastManager] Found 1 new episodes for podcast "Under the Radar" - starting download` but it never downloads. And it continues adding the download to the queue, even if I've cleared the queue. It said "1 Episode queued for download", I pushed the X on that and agreed to clear the queue, tried the download again, and now it says "2 Episodes queued for download", but nothing downloads.
Author
Owner

@advplyr commented on GitHub (Oct 9, 2022):

I think the download is getting stuck and there was no timeout being set so I added a 30 second timeout. I'll put that in the next release but it wouldn't solve your issue. I'm thinking your issue is with all outgoing requests from your docker.

When you press the search button to lookup podcast episodes are you able to see the episodes?

image

@advplyr commented on GitHub (Oct 9, 2022): I think the download is getting stuck and there was no timeout being set so I added a 30 second timeout. I'll put that in the next release but it wouldn't solve your issue. I'm thinking your issue is with all outgoing requests from your docker. When you press the search button to lookup podcast episodes are you able to see the episodes? ![image](https://user-images.githubusercontent.com/67830747/194730130-10ada48e-664e-4dc6-bb17-436e562afeed.png)
Author
Owner

@lakoliu commented on GitHub (Oct 9, 2022):

Cool! Thank you, hopefully that helps.

Yes, when I press the search button a list of all available episodes comes up.

@lakoliu commented on GitHub (Oct 9, 2022): Cool! Thank you, hopefully that helps. Yes, when I press the search button a list of all available episodes comes up.
Author
Owner

@advplyr commented on GitHub (Oct 9, 2022):

Added the timeout in v2.2.1

@advplyr commented on GitHub (Oct 9, 2022): Added the timeout in [v2.2.1](https://github.com/advplyr/audiobookshelf/releases/tag/v2.2.1)
Author
Owner

@lakoliu commented on GitHub (Oct 9, 2022):

Unfortunately, I'm still unable to download a second podcast episode. I was now able to successfully download one episode, and it automatically showed up in the list, but then I went to download an episode from another podcast and it got stuck on "Downloading" again. I'm not sure what else to try.

@lakoliu commented on GitHub (Oct 9, 2022): Unfortunately, I'm still unable to download a second podcast episode. I was now able to successfully download one episode, and it automatically showed up in the list, but then I went to download an episode from another podcast and it got stuck on "Downloading" again. I'm not sure what else to try.
Author
Owner

@lakoliu commented on GitHub (Oct 11, 2022):

I believe I found the problem. My server (a laptop) had a semi-faulty ethernet adapter. Every 15 seconds or so the connection would drop for a second. It seems this was enough to cause this issue. I replaced the adapter and everything is working perfectly. Thank you for your help!

@lakoliu commented on GitHub (Oct 11, 2022): I believe I found the problem. My server (a laptop) had a semi-faulty ethernet adapter. Every 15 seconds or so the connection would drop for a second. It seems this was enough to cause this issue. I replaced the adapter and everything is working perfectly. Thank you for your help!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#682