-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-downloading deleted videos. #723
Comments
This is the most likely change to be involved in what you are seeing: tubesync/tubesync/sync/signals.py Lines 182 to 206 in f083ad6
Using |
docker logs -t didn't print to the file all the info that I'm seeing output to the command line. It's only showing the web requests, not the task log. EDIT: found an alternate way with Portainer. Sorry for all the Uptime Kuma requests |
It should contain both types of logs. Moving web requests into a file (#713) is a way to make it easier to read.
Thanks! I'll be making use of Your logs already proved useful. #725
tubesync/tubesync/sync/filtering.py Lines 42 to 52 in f083ad6
|
Thanks tcely. Your contributions have been great! I appreciate the recent Sponsor block changes. They work great! |
The logs contain a lot of lines without a date/time stamp, such as:
Search for Do you have any idea what might be happening? |
Updated logs with timestamps turned on. I have 5 errors in my tasks list. Three are "Float() argument must be a string or a real number, not 'NoneType'" for media sources. Two are failed downloads that are probably rate limited or something. I haven't cancelled any of these downloads, except for two, so they are just running and I'm deleting them manually from Plex. Your example "arACyG0jS2w" is one of those failed downloads. |
Ok. I've looked through the logs and saw much the same things. One odd thing, your log file, in addition to Windows line endings, contained It's not a huge deal, I simply had to filter out the nul characters with For anyone interested, this was the command used to view the log files: < _tubesync_logs.1.txt tr -d '\0\r' | sed -e 's@[0-9-]*T[0-9:.]*Z 172\..* "Uptime-Kuma/1.23.11"@@g' | grep -v '^$' | less -FRX |
I downloaded the logs from a browser using Portainer. It must have added a bunch of irrelevant characters. If there is a better way to call the full logs from the command line, I'm all for it. |
Possibly.
Try this to write both standard output and standard error to the file: docker logs -t tubesync > /opt/tubesync/docker.log 2>&1 |
Much better |
Yep, no nul characters in that file and proper line endings too. 🙂 |
This comment has been minimized.
This comment has been minimized.
Hopefully this fixed it for the future, but because I believe it reset everything to missing, I’ll have to wait for it to process everything, delete it all again and wait for the refreshes. Previously, it was re-queuing items I deleted last night, so we will see about tomorrow’s refresh. |
Can confirm this is fixed. Thank you. It didn’t end up re-downloading. |
Hey meeb! I updated my container last night to whatever had been committed up to 10PM MST on Feb 13th and when the tasks were run this morning, it triggered a re-download of everything that had been deleted from my library. Plex manages my files as I watch them, so that I don't have Tubesync delete something that I haven't seen. It hasn't been an issue in the past, but today it decided to download 300+ videos that had been deleted from the library by Plex. The previous update to my container was I think on Feb 2nd. Let me how to export the logs you need and I'll get them for you. Thanks.
The text was updated successfully, but these errors were encountered: