The download directory gets deleted before the publish finishes #6
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry.go#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
*/10 * * * * (/bin/ls /tmp/ | /bin/grep -q ytsync && /usr/bin/find /tmp/ytsync* -mmin +20 -delete) || true
^ the above command might have something to do with this error.
At a certain point the download might fail and from there on all publishes fail.
example:
ERRO[62269] error processing video: download error: open /tmp/ytsync259862098/iMvNYejP8xY.mp4: no such file or directory
this is probably also related to what i experienced a couple of days ago
so either the download error is not handled correctly or the cronjob deletes videos when it's not supposed to do so.
i deactivated the cron job and this didn't happen anymore.
I'll resolve this by deleting the file from the code instead. Makes more sense to do.
the cron job was the issue. I implemented it in the code and it works flawlessly