Skip to content
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

[Request] Button to re-check capabilities of all (enabled) indexers #49

Closed
Mirabis opened this issue Jan 10, 2018 · 5 comments
Closed

Comments

@Mirabis
Copy link

Mirabis commented Jan 10, 2018

The more information you provide up front the higher the chance that I can help you.

How to request a new feature

  • What do you want to happen?
    ** NzbHydra2 to recheck capabilities for all (enabled) indexers
  • If not clear, why do you want it?
    ** It takes so much time enabling them one by one due to a capability check fail or network issue.
  • Do you think it's something only you need or something that might be popular?
    ** I think this one might be really popular
  • If need be explain the use case.
    ** After my migration from v1 to v2 a lot of my indexers got disabled and now it takes approx 2-3 min per indexer to enable them again (if capability check works).

Having a lot of:

An error occurred while contacting the indexer. It will not be usable until the caps check has been executed. You can trigger it manually from the indexer config box

Where it says supports 'TVRage' but still won't allow me to enable them.

@theotherp
Copy link
Owner

2-3 minutes per indexers is extremely slow. The caps check should not take more than 30 seconds.

But I see your point.

@Mirabis
Copy link
Author

Mirabis commented Jan 10, 2018

Hmm quite a difference between 2-3 min and 30 seconds. Might be the VPN rules, going to disable them and report back

@theotherp
Copy link
Owner

theotherp commented Jan 10, 2018 via email

@Mirabis
Copy link
Author

Mirabis commented Jan 10, 2018

It's related to the VPN - disabled them and it takes 1-2 seconds to get the details. Will clear my logs and re-enable VPN for debug info.

Caution: Bugreport / Debug Infos > "Here you can get anonymized versions of both to be posted" returns password when you did a migration. [Replaced my pass with REMOVED ofc]

...

2018-01-10 11:56:44.127  INFO --- [           main] o.f.core.internal.command.DbValidate     : Successfully validated 9 migrations (execution time 00:00.037s)
2018-01-10 11:56:44.141  INFO --- [           main] o.f.c.i.metadatatable.MetaDataTableImpl  : Creating Metadata table: "PUBLIC"."schema_version"
2018-01-10 11:56:44.175  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Current version of schema "PUBLIC": << Empty Schema >>
2018-01-10 11:56:44.206  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.0 - INITIAL
2018-01-10 11:56:44.307  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.1 - NZBDOWNLOAD USERAGENT
2018-01-10 11:56:44.382  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.2 - DISTINGUISH USERNAME IP
2018-01-10 11:56:44.449  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.3 - DELETE OLD SEARCHRESULTS
2018-01-10 11:56:44.461  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.4 - MAKE SEARCHRESULT INDEX NON UNIQUE
2018-01-10 11:56:44.469  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.5 - MAKE SEARCH QUERY COLUMN BIGGER
2018-01-10 11:56:44.491  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.6 - ADD SEARCH RESULT TO DOWNLOADS
2018-01-10 11:56:44.622  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.7 - ADD INDEXES FOR STATS
2018-01-10 11:56:44.643  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Migrating schema "PUBLIC" to version 1.8 - INCREASE QUERY AND ERROR COLUMN LENGTHs
2018-01-10 11:56:44.660  INFO --- [           main] o.f.core.internal.command.DbMigrate      : Successfully applied 9 migrations to schema "PUBLIC" (execution time 00:00.520s).
2018-01-10 11:56:48.256  WARN --- [           main] org.nzbhydra.NzbHydra                    : Overwritten settings will be displayed with their original value in the config section of the GUI
2018-01-10 11:56:48.331  INFO --- [           main] o.n.downloading.DownloaderProvider       : Loading downloaders
2018-01-10 11:56:48.332  INFO --- [           main] o.n.downloading.DownloaderProvider       : No downloaders configured
2018-01-10 11:56:49.293  INFO --- [           main] o.n.searching.SearchModuleProvider       : Loading indexers
2018-01-10 11:56:49.294  WARN --- [           main] o.n.searching.SearchModuleProvider       : No indexers configured
2018-01-10 11:56:52.125  INFO --- [           main] org.nzbhydra.NzbHydra                    : First start of NZBHydra detected
2018-01-10 11:56:52.219  INFO --- [           main] org.nzbhydra.config.BaseConfig           : Using base host <IP>
2018-01-10 11:56:52.224  INFO --- [           main] org.nzbhydra.NzbHydra                    : You can access NZBHydra 2 in your browser via http://<IP>:5076
2018-01-10 11:56:52.225  INFO --- [           main] org.nzbhydra.NzbHydra                    : Started NzbHydra in 17.547 seconds (JVM running for 18.502)
2018-01-10 11:59:09.698  INFO --- [0.0-5076-exec-2] o.n.migration.FromPythonMigration        : [IP: <IP>] Received request to migrate from URL http://Mirabis:**REMOVED**@<IP>:5075
2018-01-10 11:59:09.706  INFO --- [0.0-5076-exec-2] o.n.migration.FromPythonMigration        : [IP: <IP>] Connecting to URL http://Mirabis:**REMOVED**@<IP>:5075/internalapi/get_versions
2018-01-10 11:59:10.341  INFO --- [0.0-5076-exec-2] o.n.migration.FromPythonMigration        : [IP: <IP>] Connecting to URL http://Mirabis:**REMOVED**@<IP>:5075/internalapi/migration
2018-01-10 11:59:10.366  INFO --- [0.0-5076-exec-2] o.n.migration.FromPythonMigration        : [IP: <IP>] Starting migration

nzbhydra.log

nzbhydra-config.yaml.txt

Regardless of the above fix, a button to check all would still be nice :)

@theotherp
Copy link
Owner

I'll add a button and remove the password from the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants