Restoring into docker hangs
Closed this issue · 4 comments
I am moving from a remove install to a local docker container. I created the docker container (using https://docs.linuxserver.io/images/docker-nzbhydra2/), started it up, and when I start restoring I get this forever (at least 30 minutes):
'Upload successful. Restarting for wrapper to restore data. Restarting takes longer than expected. You might want to check the log to see what's going on. '
When checking the logs it looks like it has found all my indexers in the backup, but somewhere it hangs. Here are the last lines in the log:
2024-02-11 10:11:21.705 INFO --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Starting...
2024-02-11 10:11:21.705 INFO --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : BrokerAvailabilityEvent[available=true, SimpleBrokerMessageHandler [org.springframework.messaging.simp.broker.DefaultSubscriptionRegistry@2f99cc05]]
2024-02-11 10:11:21.705 INFO --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Started.
2024-02-11 10:11:21.705 INFO --- [ main] org.nzbhydra.NzbHydra : Started NzbHydra in 1.06 seconds (process running for 1.192)
2024-02-11 10:11:21.712 INFO --- [ main] org.nzbhydra.NzbHydra : You seem to be running NZBHydra 2 in docker. You can access Hydra using your local address and the IP you provided
2024-02-11 10:11:21.815 INFO --- [HT-Delete old hist] o.n.s.cleanup.HistoryCleanupTask : Starting deletion of old history entries
2024-02-11 10:11:22.059 INFO --- [HT-Delete old hist] o.n.s.cleanup.HistoryCleanupTask : Deletion of old history entries finished
2024-02-11 10:12:21.625 INFO --- [ MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]
Since the webinterface is hanging, I don't know how to get it into debug-mode.
How can I get it out of this hanging mode? I am able to reproduce it, but not to solve it.
Ok, I just did, but that ends in the same behavior: it doesn't start (last line in the log is the same as shown above)
Should I change something in nzbhydra.yaml ? Only thing I tried was changing the host from 0.0.0.0 to 127.0.0.1, but that didn't help.
Please post both .log files.
Ah: changing the host back to 0.0.0.0 did the job. So it works now. Thanks!