Skip to content

Scheduled downloads failing(?) resulting in "Missing" videos #434

@JackCuthbert

Description

@JackCuthbert

Since upgrading to the dev-latest as suggested from #426 to resolve a permissions error the scheduled downloads will work just fine for ~2 days, then at some point videos will just stop getting downloaded (it's happened twice now). Upon checking the UI these missed downloads end up in a "Missing" state. This implies they have been attempted to download, or they did get downloaded at some point but they didn't make it all the way through the from the /tmp directory to the final location at YOUTUBE_OUTPUT_DIR.

Starting a download of the missing video from the channels view results in an error code 1, the error message appears to be related to a missing file or path/dir? A restart of the container (with --force-recreate) usually resolves it. (Quick edit: My VM this runs on is rebooted nightly for a backup, I suspect that's unrelated as it takes a couple days for this issue to occur).

I'm raising an issue as this is a new and different problem to the permissions issue in #426. If it's known (or related to my configuration?) feel free to close it, I couldn't find anything via searching 🙏.

App Configuration

I have auto delete set to 2 weeks, all the missing videos are less than 3 days old and a preview of the auto delete shows the correct ones.

Configuration Files

I'm using a /tmp dir mounted on the VM running YouTarr (over USB passthrough from Proxmox) and the output is an NFS mount. This is done to reduce the network load and reliability of my setup/servers.

config/config.json changes:

{
    // ...snip
    "useTmpForDownloads": true,
    "tmpFilePath": "/tmp/youtarr/downloads",
    // ...snip
}

docker-compose.yml changes:

diff --git a/docker-compose.yml b/docker-compose.yml
index 1122b84..acc8ff0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -82,6 +82,7 @@ services:
       - "3087:3011"
     volumes:
       - ${YOUTUBE_OUTPUT_DIR}:/usr/src/app/data
+      - /mnt/usb/youtarr:/tmp/youtarr
       - ./server/images:/app/server/images
       - ./config:/app/config
       - ./jobs:/app/jobs

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions