akhilrex / podgrab

A self-hosted podcast manager/downloader/archiver tool to download podcast episodes as soon as they become live with an integrated player.
GNU General Public License v3.0
1.62k stars 88 forks source link

"Download all files" does not result in any downloaded files #172

Closed shooftie closed 2 years ago

shooftie commented 2 years ago

Before creating a bug report please make sure you are using the latest docker image / code base.

Please complete the following information

Describe the bug "Download all episode files" does not result in any downloaded files, yet "Download to server" on individual files does.

To Reproduce Steps to reproduce the behavior:

Expected behavior All files are download as there is nothing else in the queue.

Screenshots https://user-images.githubusercontent.com/2161844/143763079-cba40ad4-d22b-455d-b67b-f00d8d32c566.mov

Additional context Add any other context about the problem here.

shooftie commented 2 years ago

This is linked to #110 & #136. Your comment was:

There is a lock on the background process that prevents multiple processes from spawning parallely. The lock was logged your original issue. So it was just a matter of the lock getting resolved either on its own or by the backup process.

Eventually it worked itself out. @akhilrex do you have a bit more clarity on when the download locks are released?

WolfgangDpunkt commented 2 years ago

I have the same problem, automatic downloading of new episodes is not working.

grafik Version, in Docker Container: 2021.11.11 (on rpi4) I restarted the container multiple times.

The log says everything is fine:

Response status: 200 OK, http://www.deutschlandfunkkultur.de/podcast-sein-und-streit-das-philosophiemagazin-ganze-sendung.2694.de.podcast.xml, Processing episodes: 0

shooftie commented 2 years ago

@WolfgangDpunkt can you post your logs? Are you seeing anything like

podgrab    | DownloadMissingEpisodes is locked

This was present in my case. Leaving it overnight and it was still there and pretty much as soon as I created this issue it cleared!

docker-compose logs | grep locked
WolfgangDpunkt commented 2 years ago

@shooftie Thanks for your reply. The log excerpt I already posted - that's all it says in principle. Is there somewhere an option to turn on a technically more detailed log, a debug mode? The keyword locked is not to be found.

shooftie commented 2 years ago

Not that I know of.

My server is OOA right now but I will give your podcast url a go when I am back up and running to see if I get the same.

shooftie commented 2 years ago

Just a thought. Have you tried adding the podcast with different settings e.g. automatically downloading all, automatically downloading fewer, not automatically downloading any and then manually downloading all?

It might help diagnose when @akhilrex or someone cleverer that me eventually makes it here...

WolfgangDpunkt commented 2 years ago

Just as a quick feedback, now it apparently works again, for some unknown reason. I've always had it running as a cron job for an hour every day. Now there are suddenly new podcast episodes again. Once again thank you for your effort!

shooftie commented 2 years ago

@WolfgangDpunkt happy for me to close this?

WolfgangDpunkt commented 2 years ago

Yes, thanks for you affords! :-)