NZBHydra updated yesterday and now won't run. #127

Closed
opened 2026-03-04 07:02:48 -05:00 by deekerman · 5 comments
Owner

Originally created by @psykix on GitHub (Feb 27, 2018).

I'm getting the following in the wrapper.log, and I only have one java file in the lib folder.

2018-02-27 06:10:04,177 INFO - Starting NZBHydra main process with command line: java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -jar C:\Program Files (x86)\nzbhydra2\lib\core-1.4.3-exec.jar --datafolder C:\Program Files (x86)\nzbhydra2\data in folder C:\Program Files (x86)\nzbhydra2 2018-02-27 06:10:04,677 ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it

Originally created by @psykix on GitHub (Feb 27, 2018). I'm getting the following in the wrapper.log, and I only have one java file in the lib folder. `2018-02-27 06:10:04,177 INFO - Starting NZBHydra main process with command line: java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -jar C:\Program Files (x86)\nzbhydra2\lib\core-1.4.3-exec.jar --datafolder C:\Program Files (x86)\nzbhydra2\data in folder C:\Program Files (x86)\nzbhydra2 2018-02-27 06:10:04,677 ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it `
Author
Owner

@theotherp commented on GitHub (Feb 27, 2018):

What does the main log file say? When you start the process from the command line (use "nzbhydra console.exe") what does it say?

@theotherp commented on GitHub (Feb 27, 2018): What does the main log file say? When you start the process from the command line (use "nzbhydra console.exe") what does it say?
Author
Owner

@psykix commented on GitHub (Feb 27, 2018):

The main log file has not logged anything since the update.

2018-02-26 18:41:08.318 INFO --- [0.0-5076-exec-1] org.nzbhydra.update.UpdateManager : [Search: 857308, IP: 192.168.1.103] Starting update process to v1.4.3 2018-02-26 18:41:17.335 INFO --- [0.0-5076-exec-1] org.nzbhydra.update.UpdateManager : [Search: 857308, IP: 192.168.1.103] Creating backup before shutting down 2018-02-26 18:41:17.335 INFO --- [0.0-5076-exec-1] org.nzbhydra.backup.BackupAndRestore : [Search: 857308, IP: 192.168.1.103] Creating backup 2018-02-26 18:41:17.335 INFO --- [0.0-5076-exec-1] org.nzbhydra.backup.BackupAndRestore : [Search: 857308, IP: 192.168.1.103] Backing up database to C:/Program Files (x86)/nzbhydra2/data/backup/nzbhydra-2018-02-26 18-41-17.zip 2018-02-26 18:41:18.179 INFO --- [0.0-5076-exec-1] org.nzbhydra.backup.BackupAndRestore : [Search: 857308, IP: 192.168.1.103] Successfully wrote backup to file C:\Program Files (x86)\nzbhydra2\data\backup\nzbhydra-2018-02-26 18-41-17.zip 2018-02-26 18:41:18.179 INFO --- [0.0-5076-exec-1] org.nzbhydra.update.UpdateManager : [Search: 857308, IP: 192.168.1.103] Shutting down to let wrapper execute the update 2018-02-26 18:41:18.491 INFO --- [ Thread-8] org.nzbhydra.NzbHydra : Shutting down

@psykix commented on GitHub (Feb 27, 2018): The main log file has not logged anything since the update. `2018-02-26 18:41:08.318 INFO --- [0.0-5076-exec-1] org.nzbhydra.update.UpdateManager : [Search: 857308, IP: 192.168.1.103] Starting update process to v1.4.3 2018-02-26 18:41:17.335 INFO --- [0.0-5076-exec-1] org.nzbhydra.update.UpdateManager : [Search: 857308, IP: 192.168.1.103] Creating backup before shutting down 2018-02-26 18:41:17.335 INFO --- [0.0-5076-exec-1] org.nzbhydra.backup.BackupAndRestore : [Search: 857308, IP: 192.168.1.103] Creating backup 2018-02-26 18:41:17.335 INFO --- [0.0-5076-exec-1] org.nzbhydra.backup.BackupAndRestore : [Search: 857308, IP: 192.168.1.103] Backing up database to C:/Program Files (x86)/nzbhydra2/data/backup/nzbhydra-2018-02-26 18-41-17.zip 2018-02-26 18:41:18.179 INFO --- [0.0-5076-exec-1] org.nzbhydra.backup.BackupAndRestore : [Search: 857308, IP: 192.168.1.103] Successfully wrote backup to file C:\Program Files (x86)\nzbhydra2\data\backup\nzbhydra-2018-02-26 18-41-17.zip 2018-02-26 18:41:18.179 INFO --- [0.0-5076-exec-1] org.nzbhydra.update.UpdateManager : [Search: 857308, IP: 192.168.1.103] Shutting down to let wrapper execute the update 2018-02-26 18:41:18.491 INFO --- [ Thread-8] org.nzbhydra.NzbHydra : Shutting down`
Author
Owner

@theotherp commented on GitHub (Feb 27, 2018):

I added a second question. What does it say when you start the console exe from the command line?

@theotherp commented on GitHub (Feb 27, 2018): I added a second question. What does it say when you start the console exe from the command line?
Author
Owner

@psykix commented on GitHub (Feb 27, 2018):

Ah.. I didn't see that because I read the email alert before you edited!

It seems it doesn't like it being in the folder it is - I've always had it there though.

`C:\Program Files (x86)\nzbhydra2>"nzbhydra2 console.exe"
Logging wrapper output to C:\Program Files (x86)\nzbhydra2\data\logs\wrapper.log
2018-02-27 07:54:48,589 INFO - Starting NZBHydra main process with command line: java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -jar C:\Program Files (x86)\nzbhydra2\lib\core-1.4.3-exec.jar --datafolder C:\Program Files (x86)\nzbhydra2\data in folder C:\Program Files (x86)\nzbhydra2
07:54:49.107 [main] ERROR org.nzbhydra.NzbHydra - NZBHydra 2 may not work properly when run in C:\Program Files (x86). Please put it somewhere else
2018-02-27 07:54:49,121 ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it

C:\Program Files (x86)\nzbhydra2>`

@psykix commented on GitHub (Feb 27, 2018): Ah.. I didn't see that because I read the email alert before you edited! It seems it doesn't like it being in the folder it is - I've always had it there though. `C:\Program Files (x86)\nzbhydra2>"nzbhydra2 console.exe" Logging wrapper output to C:\Program Files (x86)\nzbhydra2\data\logs\wrapper.log 2018-02-27 07:54:48,589 INFO - Starting NZBHydra main process with command line: java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -jar C:\Program Files (x86)\nzbhydra2\lib\core-1.4.3-exec.jar --datafolder C:\Program Files (x86)\nzbhydra2\data in folder C:\Program Files (x86)\nzbhydra2 07:54:49.107 [main] ERROR org.nzbhydra.NzbHydra - NZBHydra 2 may not work properly when run in C:\Program Files (x86). Please put it somewhere else 2018-02-27 07:54:49,121 ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it C:\Program Files (x86)\nzbhydra2>`
Author
Owner

@psykix commented on GitHub (Feb 27, 2018):

I've moved it and it now runs. Will have to redo the service.

Cheers :-)

@psykix commented on GitHub (Feb 27, 2018): I've moved it and it now runs. Will have to redo the service. Cheers :-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nzbhydra2#127
No description provided.