Skip to content

AdGuard never finishes updating and hangs #2856

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

Closed
flammschrein opened this issue Jul 20, 2019 · 8 comments
Closed

AdGuard never finishes updating and hangs #2856

flammschrein opened this issue Jul 20, 2019 · 8 comments
Assignees
Milestone

Comments

@flammschrein
Copy link

flammschrein commented Jul 20, 2019

Steps to reproduce

  1. Install any Stable / Nightly release
  2. Attempt to update to the latest nightly build / clean-install the latest Release or Nightly version
  3. In-app update: AdGuard will enter endless loop on "Beginning update" screen. It will keep working but will never finish updating. The update installer itself will terminate after some time.
  4. Clean install: AdGuard will throw an Error 1602. Installing will only be possible after manually removing all AG-associated temp files & registry entries.

Expected behavior

Update should run without issues

Actual behavior

Update hangs & crashes AdGuard / AdGuard is unable to install

Screenshot:

n/a

Customer ID & Logs

2024657

Your environment

  • Environment name and version: Any Release/Nightly version of AdGuard
  • Operating system and version: Windows 7
@COOLak
Copy link

COOLak commented Jul 20, 2019

I must add that sometimes in-app update completes after the first or the second reboot. But it's also not expected behavior and it doesn't alarm regarding the necessity of the reboot. And it works randomly.

@COOLak
Copy link

COOLak commented Jul 20, 2019

3. In-app update: AdGuard will enter endless loop on "Beginning update" screen before crashing to desktop

Sorry, it's not what I reported. It won't crash, it will keep working but will never finish updating. I just said that according to Task Manager the update installer closes after some time.

@flammschrein
Copy link
Author

@COOLak thank you for the clarification, fixed!

@ameshkov ameshkov added this to the 7.2 milestone Aug 1, 2019
@ameshkov ameshkov added the bug label Aug 1, 2019
@ameshkov
Copy link
Member

ameshkov commented Aug 1, 2019

Logs are in nextcloud

@northis since we're refactoring the installer anyway, I've assigned this bug to v7.2

According to the logs, there are multiple different issues, but the main seems to be this one:
Error 0x800704c7: Failed to launch elevated child process: C:\Temp\{A2514D85-6B10-47C3-937C-295A963740E5}\.be\setup1.exe

There might be an issue with the user's configuration, but anyway, it should be handled gracefully, and AG shouldn't be waiting until the user cancels the update manually.

@northis
Copy link
Member

northis commented Aug 3, 2019

@akmLaVx @COOLak
About clean installation - it is strange, 1602 error (Failed to launch elevated child process) means that the user hasn't given admin rights on the UAC screen.
About in-app installation - there is one update in the logs, 25.07 from 7.1.2838 to 7.1.2868, and it was successful. There was another update 05.07, but there is no service logs for this date, only agent's, and according to the agent log, the update was successful too.

So it would be nice if we had logs for the endless loop on "Beginning update" moment

@ameshkov ameshkov assigned adbuker and unassigned northis Aug 5, 2019
@ameshkov
Copy link
Member

ameshkov commented Aug 5, 2019

Regarding UAC -- we can do nothing about it.

Regarding "Starting update" issue, we should keep an eye on the setup process status.
If the setup is finished, but our process is still alive, we should consider update failed, and we should show an error message: Failed to update. Try to reinstall AdGuard.

@adbuker adbuker changed the title AdGuard crashes when updating AdGuard never finishes updating and hangs Aug 8, 2019
@adbuker
Copy link

adbuker commented Aug 9, 2019

resolved in adguard-windows/pull-requests/578

@zzebrum zzebrum closed this as completed Sep 3, 2019
@COOLak
Copy link

COOLak commented Oct 31, 2019

To be honest, nothing is resolved. I only can update AdGuard (even 7.3) after I freshly rebooted my PC. Should I open a browser and work in it for 5 minutes, then, even after closing the browser, AdGuard will be updating forever. Where should I send the logs next time?

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

6 participants