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

[Bug]: Updater should NOT restart Windows without user confirmation #4747

Closed
5 of 8 tasks
DanielLaberge opened this issue Jul 17, 2022 · 9 comments
Closed
5 of 8 tasks

Comments

@DanielLaberge
Copy link

⚠️ Before submitting, please verify the following: ⚠️

Bug description

While installing a Nextcloud app update, I was very annoyed to find out it initiated a system restart without any input from my part.

That is NOT acceptable.

Steps to reproduce

  1. Install an update.

Expected behavior

No restart unless the user confirms.

Which files are affected by this bug

N/A

Operating system

Windows

Which version of the operating system you are running.

Windows 11

Package

Other

Nextcloud Server version

N/A

Nextcloud Desktop Client version

3.5.2

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

N/A

Additional info

Event Log proof:
The process msiexec.exe has initiated the restart of computer REDACTED on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found
Reason Code: 0x80030002
Shut-down Type: restart
Comment: The Windows Installer initiated a system restart to complete or continue the configuration of 'Nextcloud'.

@bigbrozer
Copy link

bigbrozer commented Jul 18, 2022

Experienced the same with 2 machines (Win 10) from 3.5.1 to 3.5.2 update. I do not remember that it was the case for previous updates... 🤔

@claucambra
Copy link
Collaborator

This has been resolved in 3.5.2 (#4566), so future updates after 3.5.2 should no longer exhibit this behaviour. Thanks for reporting!

@laovong
Copy link

laovong commented Aug 5, 2022

This has been resolved in 3.5.2 (#4566), so future updates after 3.5.2 should no longer exhibit this behaviour. Thanks for reporting!

Version 3.5.4 and Nextcloud client update still force my computer restart without user confirmation.

@claucambra
Copy link
Collaborator

We released an interim update (3.5.4) specifically to include the patch to stop force-updating. This means that future updates should no longer force reboot. Apologies for the annoyance -- forced reboots should not happen any longer

@allexzander
Copy link
Collaborator

We released an interim update (3.5.4) specifically to include the patch to stop force-updating. This means that future updates should no longer force reboot. Apologies for the annoyance -- forced reboots should not happen any longer

More specifically, this will start to work normally when updating from 3.5.4 and up. If you want to avoid rebooting when updating to 3.5.4, you need to run the MSI manually. The calling code is a part of the desktop client, so, it is something we have to deal with only this time.

@AnrDaemon
Copy link

Finally. Will test.

@laovong
Copy link

laovong commented Oct 20, 2022

20 Oct
Client version: 3.6.1
OS: Windows 10 Pro
Require restart when update come back.
Nextcloud client has been uninstalled.

@allexzander
Copy link
Collaborator

20 Oct Client version: 3.6.1 OS: Windows 10 Pro Require restart when update come back. Nextcloud client has been uninstalled.

Could not reproduce. Updated from 3.6.0 to 3.6.1 without force restart.

@AnrDaemon
Copy link

Same, last two updates went without a restart.

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