-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Can't run NZBHydra Windows, systray icon appears then disappears, service starts then stops #925
Comments
same error on Linux installation (same error logs) seems to be related to #923 |
Same issue on Windows 11, worked until a couple of hours ago. |
Stupid mistake on my end, fix is live.
|
can confirm everything working as expected now |
thank you for the quick fix @theotherp since it is updating itself (I run it with systemd), how can I update it since it does not start ? a fresh install ? |
That's what I did, fresh install then restored a backup. |
You can just replace the binary or the .jar file. |
nzbhydra2.log I just downloaded the latest x64 windows ZIP and it's still doing it for me. I tried a fresh install. Edit: Issue is fixed via me downloading the "generic" release and running it that way. |
I also cannot run on Linux - I get this error: [9382] Error loading Python lib '/tmp/_MEI6SgWNw/libpython3.7m.so.1.0': dlopen: /lib/x86_64-linux-gnu/librt.so.1: undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE I have also tried a clean install with the same result |
Tun the python wrapper directly
…On Mon, 18 Mar 2024, 20:55 Richard Howorth, ***@***.***> wrote:
I also cannot run on Linux - I get this error:
[9382] Error loading Python lib '/tmp/_MEI6SgWNw/libpython3.7m.so.1.0':
dlopen: /lib/x86_64-linux-gnu/librt.so.1: undefined symbol:
__libc_unwind_link_get, version GLIBC_PRIVATE
I have also tried a clean install with the same result
—
Reply to this email directly, view it on GitHub
<#925 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNUA6MUGIDNS3OLW7O5XRTYY5BCHAVCNFSM6AAAAABE3S5VGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUHAYDONZXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi, This works. Since I am running this on Ubuntu, I have also set up SystemD to auto load the wrapper, which also works. Thanks, It is a relief to get this running again, as if I run NZBHydra2 on Windows, it takes a very long time to load on either Mac or iPad / iPhone. Almost instant load from the Linux or Docker instances |
Yesterday I had the nzbhydra2-nojava-bin 5.3.9 in archlinux and it worked, but today I upgraded to 5.3.10-1 and the service doesn't start anymore. |
The logs are in |
I get this error in wrapper.log
No such file or directory: '/var/lib/nzbhydra2/control.id |
Only a warning, you can safely ignore it.
…On Wed, 20 Mar 2024, 10:06 sh3ll, ***@***.***> wrote:
I get this error in *wrapper.log*
2024-03-20 09:04:37,359 INFO - Starting NZBHydra main process with command line: ./core -Xmx256M -DfromWrapper=true -DinternalApiKey=CENSORED -Dsun.security.pkcs11.enable-solaris=false -Dfile.encoding=UTF8 -Dspring.output.ansi.enabled=ALWAYS --nobrowser --datafolder /var/lib/nzbhydra2 in folder /usr/lib/nzbhydra2
2024-03-20 09:04:37,414 WARNING - Unable to read control ID from /var/lib/nzbhydra2/control.id: [Errno 2] No such file or directory: '/var/lib/nzbhydra2/control.id'. Falling back to process return code -7
2024-03-20 09:04:37,414 INFO - NZBHydra main process has terminated for shutdown
*No such file or directory: '/var/lib/nzbhydra2/control.id
<http://control.id>*
—
Reply to this email directly, view it on GitHub
<#925 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNUA6I6EBILPDF7G4I2PXDYZFGTDAVCNFSM6AAAAABE3S5VGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZGA3TSMRTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
that was the only log for today (other logs are older) but nzbhydra can't run after the today update. As you can see by the last INFO in the log: the main process has terminated
Could the problem be correlated with this github issue? How can I solve it? |
Use |
journalctl -eu nzbhydra2
|
I just installed the AUR package |
if I can provide other logs feel free to ask, I need to fix nzbhydra soon |
The When you do so, you can use the same parameters that the wrapper also uses (they are contained in the logs you posted above). Also you may have to run it as the |
sudo -u nzbhydra2 /usr/lib/nzbhydra2/core -Xmx256M -DfromWrapper=true -DinternalApiKey=XXXXXXXX -Dsun.security.pkcs11.enable-solaris=false -Dfile.encoding=UTF8 -Dspring.output.ansi.enabled=ALWAYS --nobrowser --datafolder /var/lib/nzbhydra2 in folder /usr/lib/nzbhydra2
I'm not sure if sudo -u is correct for running something under another user |
Hmm, are you on Regarding bus errors: https://stackoverflow.com/questions/212466/what-is-a-bus-error-is-it-different-from-a-segmentation-fault Perhaps you're low on memory? https://stackoverflow.com/questions/212466/what-is-a-bus-error-is-it-different-from-a-segmentation-fault#comment50767046_212585 |
I'm in x86_64 and not in low memory |
Then I can't help you unfortunately. It's possible that something changed in native build configuration (e.g. new graalvm version or something else). Another user is also reporting higher CPU usage with the new builds #928, so it's possible that there's something wrong with the new native builds in general. You can switch to the java version for now, just install the |
@evilsh3ll As @jkhsjdhjs helpfully pointed out for now your best bet right now may be switching to the generic version which requires java. It's nearly as good as the binary one. See if that helps. Unfortunately I can't properly debug your problem right now, it may be a weird one :-/ |
I tried to install the mainline nzbhydra2 or nzbhydra2-bin but the error is the same. if there were any error logs I could try to fix by myself.. there isn't any cue about the problem |
Weird. And if you downgrade to e.g. 5.3.8 that still works? Have you tried rebooting the system already? That's a really odd issue. |
yes I rebooted, the problem is that the previous version is not in aur, I can't downgrade without configuring a binary etc.. I'd prefer a clean setup. If the issue can't be solved in 1-2 days I'll make another installation with a previous version |
AUR packages are just git repositories, you can always clone them, |
I downgraded to 5.3.8 but the problem is still present. That version worked yesterday, maybe the problem is a dependence |
Could you share your systemctl service?
|
The systemd service file is part of the AUR package, it's the same for me. It cannot be the issue, as running |
I tried to ask but I'm not sure if they'll solve it. The exit code su 0/SUCCESS, I suppose it's a problem deeply releated to nzbhydra or its dependencies, that arch forums can't solve |
The exit code is |
It seems I can't find a solution, how can I save my nzbhydra settings and fully wipe my aur installation, than restore settings in a new installation? others with my problem (first comment): https://www.reddit.com/r/nzbhydra/comments/ochfm9/in_the_last_2448_hours_nzbhydra2_stopped_working/ |
I installed nzbhydra in a new vanilla archlinux machine (different computer) and the problem is still present. This is not a problem of my configuration |
Which other packages were updated when you updated nzbhydra from 5.3.8 to 5.3.10? Since 5.3.8 is now also not working anymore, there must've been some other change. You can try downgrading these packages and see if that makes it work again. |
I can't partially upgrade archlinux, it's not allowed and it could make the system not stable. I can make it working again by restoring an older timeshift backup but I don't want to keep my system outdated for weeks/months |
Partial upgrades can make the system unstable, yes, but doing so is not prohibited. You're free to do whatever you want with your system. I would recommend you to downgrade the packages or restore a timeshift backup and then upgrade the packages in some clever way to quickly narrow down the problematic package. Then you can file a bug report for that package. |
Or did you perhaps change/update your |
never changed anything in config files of hydra |
@evilsh3ll Wrong thread but it's too late now. Please try if the newest release works for you. |
I updated nzbhydra2 but it's still not running, same problem. I don't know if opening a new issue for the problem could be useful |
I just set up a new clean arch linux lxc and I can (to my surprise) reproduce your issue! Still not sure what could be causing this though.
|
Seems like the |
@jkhsjdhjs Glad you got it solved even though I'd rather would've had this discussion in a separate topic as it isn't related to the original issue. Anyway, I never would've been able to fix this or even determine the package as the source of the problem. I don't really understand the debug flug or why it wouldn't work. Perhaps I'd need to compile my code with https://www.graalvm.org/latest/reference-manual/native-image/debugging-and-diagnostics/DebugInfo/ for your debug flag to work, I don't know. But it's working now :-) |
When I run NZBHydra2.exe the systray icon appears but then it closes, I have tried running as a service and have the same issue. I have tried removing the service, rebooting, extracting a fresh download and running NZBHydra2.exe but the same happens, logs attached.
nzbhydra2.log
wrapper.log
It was working ok until today I replaced the exe files to update the wrappers, and then ran the update in the app. Since then, even with a fresh download or restoring the original EXEs, I can't run the program.
The text was updated successfully, but these errors were encountered: