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

Does not start after the update v5.3.1 #899

Open
bulletproof2k opened this issue Nov 19, 2023 · 52 comments
Open

Does not start after the update v5.3.1 #899

bulletproof2k opened this issue Nov 19, 2023 · 52 comments
Labels

Comments

@bulletproof2k
Copy link

nzbhydra2.log
wrapper.log

@theotherp
Copy link
Owner

Well shit. Thanks, can reproduce.

@theotherp
Copy link
Owner

Seems to affect only windows which is why my build pipeline didn't catch it - it only runs the linux executable.

@theotherp
Copy link
Owner

Please revert to https://github.com/theotherp/nzbhydra2/releases/tag/v5.2.0 for now.

@bulletproof2k
Copy link
Author

Now the interface does not open from the tray in the same way.
2023-11-19_13-56-52
nzbhydra2.log
wrapper.log

@theotherp
Copy link
Owner

@bulletproof2k
Copy link
Author

Try https://github.com/theotherp/nzbhydra2/releases/tag/v5.1.11 then

It works fine, I'm closing the issue. Please fix all identified issues in the next release.

Thank you for the work done.

@theotherp
Copy link
Owner

I'm reopening for visibility.

@theotherp theotherp reopened this Nov 19, 2023
@theotherp
Copy link
Owner

@bulletproof2k Could you please try https://ufile.io/8fhjtme8 that should hopefully work.

@bulletproof2k
Copy link
Author

Nope

@bulletproof2k Could you please try https://ufile.io/8fhjtme8 that should hopefully work.

Nope, the same problems as at the beginning of the issue.

@theotherp
Copy link
Owner

theotherp commented Nov 19, 2023

I don't understand, I was able to reproduce the original issue but with this it's fixed.

The folder's content should look like this now:
image

Make sure to overwrite all files from the archive.

@bulletproof2k
Copy link
Author

bulletproof2k commented Nov 19, 2023

That's how it looked, but I've already rolled back to the previous version.
The files were overwritten.
Even the tray icon does not appear, and the console does not start.

@junitodx
Copy link

Also having an issue after the update but my issues is that I can't get the NzbHydra2 service to start. I have tried uninstalling and reinstalling the service and also rolled back to 5.1.11 and 5.1.8 and then uninstalled and reinsalled the service with those CMDs but still have the same issue
image

@theotherp
Copy link
Owner

theotherp commented Nov 19, 2023 via email

@junitodx
Copy link

Try running the console exe directly from the nzbhydra folder.

Thanks for the suggestion but still no dice. This happened overnight, everything was working fine when I went to sleep and when i woke up this morning, Sonaar could not connect to NzbHydra and I found the service couldn't be started. If it helps, I am running Windows 7. This is just a PC for downloading and streaming to a Shield so I never updated to Win10 or 11 because I could not possibly remember all the automation and settings/rules I had to set up.
image

@theotherp
Copy link
Owner

theotherp commented Nov 19, 2023

@junitodx Please try this one:
NZBHydra2 Console.zip

Windows 7 is actually a corner case and hard to test for me.

@junitodx
Copy link

@junitodx Please try this one: NZBHydra2 Console.zip

Windows 7 is actually a corner case and hard to test for me.

So, I no longer get an error when trying to run the NZBHydra2 Console.exe however I still can't get the service to start. I tried to uninstall and reinstall the service and then reboot but it won't start.
image

@theotherp
Copy link
Owner

Please post wrapper.log and nzbhydra2.log

@junitodx
Copy link

wrapper.log
nzbhydra2.log

@theotherp
Copy link
Owner

theotherp commented Nov 19, 2023

Try core.exe from 5.1.11, do not overwrite nzbhydra2.exe or nzbhydra2 console.exe.

@theotherp
Copy link
Owner

The problem is that you reverted to 5.1.8 and going back is only possible to certain older versions where the config file format hasn't changed too much. You started 5.1.11 which updated the config file and which 5.1.8 is unable to read.

@bulletproof2k
Copy link
Author

The problem is that you reverted to 5.1.8 and going back is only possible to certain older versions where the config file format hasn't changed too much. You started 5.1.11 which updated the config file and which 5.1.8 is unable to read.

Your answer refers to which of the participants in the conversation?

@junitodx
Copy link

The problem is that you reverted to 5.1.8 and going back is only possible to certain older versions where the config file format hasn't changed too much. You started 5.1.11 which updated the config file and which 5.1.8 is unable to read.

Your answer refers to which of the participants in the conversation?

I am guessing me, I definitely reverted back to those versions. Sorry if I hijacked your thread, figured since my issue was also caused after the update I should not have started a new thread. My bad.

@junitodx
Copy link

Try core.exe from 5.1.11, do not overwrite nzbhydra2.exe or nzbhydra2 console.exe.

Yep, this fixed me up. Service now stays on and I can access hydra via browser. Appreciate both your guy's help.

@theotherp
Copy link
Owner

Great. I've updated my build scripts to hopefully keep compatibility with Windows 7.

Now if I could explain why the new code still doesn't run for @bulletproof2k ...

@theotherp
Copy link
Owner

Alright, I've tested it on three machines and added windows tests to the build pipeline. I'm gonna release it now. If it still doesn't work for you, @bulletproof2k, we'll have to see what's going on.

@bulletproof2k
Copy link
Author

Alright, I've tested it on three machines and added windows tests to the build pipeline. I'm gonna release it now. If it still doesn't work for you, @bulletproof2k, we'll have to see what's going on.

Ok

@Burken
Copy link

Burken commented Nov 20, 2023

core.exe from 5.1.11 works with the rest from v5.3.2
But after a while: .Starting process to update to v5.3.2
Then:
The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.

@bulletproof2k
Copy link
Author

Does not work with overwriting files in the current folder, rolled back 5.1.11.

@theotherp
Copy link
Owner

theotherp commented Nov 20, 2023

Please at least post OS, version and which CPU.

@bulletproof2k
Copy link
Author

bulletproof2k commented Nov 20, 2023

Windows 11 Pro

@theotherp
Copy link
Owner

Which CPU?

@bulletproof2k
Copy link
Author

Which CPU?

Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz 3.40 GHz

@theotherp
Copy link
Owner

Log please.

@Burken
Copy link

Burken commented Nov 20, 2023

Please at least post OS, version and so on.
Intel Xeon E5-2609 v2 with Win Server 2019 17763.5122

@bulletproof2k
Copy link
Author

nzbhydra2.log
wrapper.log

@theotherp
Copy link
Owner

Got it.
@Burken Please try this one: https://ufile.io/6bqwjr25

@theotherp
Copy link
Owner

@bulletproof2k You can try https://ufile.io/6bqwjr25 as well.

@Burken
Copy link

Burken commented Nov 20, 2023

Log please.

wrapper.log

theotherp added a commit that referenced this issue Nov 20, 2023
@theotherp
Copy link
Owner

Alright. So the problem is that because of an update of a library the program exes for windows have now been compiled to only run on the same architecture on which they have been built which is AMD in my case. I only have AMD machines which is why I didn't catch that. The new exe which I posted above should hopefully work on intel CPUs as well.

I also see a database error in your log, @Burken. So it's possible that the new exe fixes the architecture issue but you may still have problems running hydra. In that case you may have to restore the database file from a backup.

@Burken
Copy link

Burken commented Nov 20, 2023

Got it. @Burken Please try this one: https://ufile.io/6bqwjr25

That core.exe is working for me! -5.3.3-SNAPSHOT

@bulletproof2k
Copy link
Author

It works, but when I log in to the Web interface, I see the message:

The NZBHydra wrappers (i.e. the executables or python scripts you use to run NZBHydra) seem to be outdated. Please update them.

Shut down NZBHydra, download the latest version and extract all the relevant wrapper files into your main NZBHydra folder.
For Windows these files are:
NZBHydra2.exe
NZBHydra2 Console.exe
For linux these files are:
nzbhydra2
nzbhydra2wrapper.py
nzbhydra2wrapperPy3.pyMake sure to overwrite all of these files that already exist - you don't need to update any files that aren't already present.

Afterwards start NZBHydra again.

@theotherp
Copy link
Owner

Yeah as it says you need to update the files from https://github.com/theotherp/nzbhydra2/releases/tag/v5.3.2

@bulletproof2k
Copy link
Author

Yeah as it says you need to update the files from https://github.com/theotherp/nzbhydra2/releases/tag/v5.3.2

Rewrite the core.exe?

@theotherp
Copy link
Owner

No, just the files mentioned in the popup, the ones starting with nzbhydra.

@theotherp
Copy link
Owner

Still haven't found a way to update these files from within the process.

@bulletproof2k
Copy link
Author

It's fine for me 👍

@junitodx
Copy link

Hmm...looks like I'm down again after the last update. I tried copying only the NZBHydra2.exe and NZBHydra2 Console.exe from here https://github.com/theotherp/nzbhydra2/releases/tag/v5.3.2 but still on good.
Win7 Ultimate
Intel (R) Core(TM) i3-2120 CPU@3.30GHz
wrapper.log
nzbhydra2.log

@theotherp
Copy link
Owner

@junitodx Make sure to download the current release. Also overwrite core.exe.

@junitodx
Copy link

@junitodx Make sure to download the current release. Also overwrite core.exe.

Thanks that worked. Since bulletproof2k wasn't supposed to overwrite the core.exe I thought I only needed to overwrite the NZBHydra2.exe and NZBHydra2 Console.exe files

@bulletproof2k
Copy link
Author

bulletproof2k commented Nov 22, 2023

theotherp should I overwrite all files too?

@theotherp
Copy link
Owner

theotherp commented Nov 22, 2023 via email

@quidnun
Copy link

quidnun commented Nov 27, 2023

I'm having the same problem on AMD with the service pausing?

nevermind: may have been related to the virus issue. got it working now

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

No branches or pull requests

5 participants