cross-seed: Invalid config `searchCadence must be at least 1 day`
Have you checked for any existing open/closed tickets that are the same or similar to your issue?
- I’ve searched far and wide!
I have gone to the Discord server for support and/or acknowledge that this is a bug and not a support issue
- I’ve tried to solve this already
What’s happening surrounding the bug? (context)
I upgraded to v6.0.0-24 from v6.0.0-10 and my config is now showing as invalid.
According to the docs
There is a minimum of 1 day unless excludeRecentSearch has been set. https://www.cross-seed.org/docs/basics/options#searchcadence
However I have have excludeRecentSearch: "30d" but it’s still showing an error:
2024-07-19 20:32:15 error: Option: searchCadence
searchCadence must be at least 1 day.
(https://www.cross-seed.org/docs/basics/options#searchcadence)
“https://www.cross-seed.org/docs/basics/options#searchcadence”
Reproducing the bug
excludeRecentSearch: "30d",
searchCadence: "6h"
What should be happening?
Config should be accepted.
Feel free to show a warning if you consider it not an ideal setup but it’s a misuse of error as it’s a valid use case.
Your setup
- OS: Ubuntu
- Prowlarr/Jackett: N/A
- Docker: Yes
- Misc:
config.js (REDACT SENSITIVE INFORMATION)
excludeRecentSearch: "30d",
searchCadence: "6h"
verbose logs
cross-seed | 2024-07-19 21:13:28 info: cross-seed v6.0.0-24
cross-seed | 2024-07-19 21:13:28 info: Validating your configuration...
cross-seed | 2024-07-19 21:13:28 warn: includeSingleEpisodes is not recommended when using rss or announce, please read: https://www.cross-seed.org/docs/v6-migration#updated-includesingleepisodes-behavior
cross-seed | 2024-07-19 21:13:29 error: Option: searchCadence
cross-seed | searchCadence must be at least 1 day.
cross-seed | (https://www.cross-seed.org/docs/basics/options#searchcadence)
cross-seed |
cross-seed | 2024-07-19 21:13:29 error: Configuration:
cross-seed | excludeOlder and excludeRecentSearch must be defined for searching. excludeOlder must be 2-5x excludeRecentSearch.
cross-seed | (https://www.cross-seed.org/docs/basics/options)
cross-seed |
cross-seed | 2024-07-19 21:13:29 error: Your configuration is invalid, please see the errors above for details.
cross-seed exited with code 1
Failure or refusal to provide the information we require to address bugs will result in potential closure of the issue.
- I acknowledge that i have searched existing issues, read the documentation and faq, read the logs to see if the answer was provided in error messaging, and attempted to get support via the Discord prior to submitting this issue.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18
It’s understandable that you interpreted this as a bug. When the program and the documentation it links to don’t agree, something has a bug. In this case, v6 is on prerelease, so these links aren’t accurate any more. We could consider versioned documentation, but I’d also like to get us out of prerelease soon. (We’ve been on prerelease for longer than I anticipated, which has made this problem worse.)
It sounds like we’ve already captured an action item out of this conversation, which is to offer GitHub Discussions as an alternative to Discord. Thank you for continuing to engage with us and keeping the conversation productive.
Yes—as the account holder on your trackers, you are responsible for how you use
cross-seed, and you are also free to fork or modify the code in any way. However, ascross-seed’s user base has grown, every change or decision we make as developers has a larger impact than in the past, and we have to take some responsibility too.To that end,
cross-seedv6 has become much more opinionated about users’ configurations, and some of them are no longer valid. In hindsight, it may have been good to do this from the beginning, but we were able to benefit from an experimentation period where users were able to figure out the “good” settings.Remember, we want to find all the cross-seeds too—we believe in the efficacy of v6, regardless of the new restrictions on configuration. If you want to find old cross-seeds, you can set excludeRecentSearch and excludeOlder to high numbers -
1 yearand5 yearsis what I’m using.Of course you are free to pin versions or fork and make changes, that’s perfectly acceptable. We would just prefer hearing the reasons first so we can decide if we will address it. We only restrict users when there is no value to gain by deviating while possible causing harm.
I’m not saying there could be a critical update, I’m saying that
v6.0.0-24is. The new caching behavior is one of the biggest improvements of v6. I was simply confused how you had such a strong reason skip it yet refused to state it.When searches are started, it can be very intensive on your disk, even if nothing will be searched. This is because it needs to index everything and perform tons of checks and validation on every torrent file or data file. So we limit to
1dto minimize this small but unnecessary added stress on your drives. It also creates tons of logging which makes the log files extremely bloated.All this could be ignored if there was value to going less than
1d, which brings me to:Search is not for getting cross seeds as fast as possible, that is for rss/announce/webhook which is far less strenuous on your system and trackers. This is a temporary problem you are having, everything will get searched eventually. Long term
1dwill be sufficient which is what it’s designed for.This is so that searches are only performed a set number of times, a maximum of
6x. In reality, searches only need to happen once for the lifetime ofcross-seed, rss/announce will catch all future releases. RSS pagination will be added soon socross-seeddowntime will not miss any releases.This is exactly why these restrictions were added. You do not fully grasp how the entire application functions together and are likely to have harmful configurations. As I said earlier, we would have not restricted it if it brought any value. Of course we would make changes though if a user brought valid use case we haven’t considered.
These constraints ensures this only happens in daemon mode, this “complexity” gives you flexibility. You can bypass these restrictions as the PR says.
I also disagree with your assessment of the responses, they were appropriate as zakary noted above.