-
Notifications
You must be signed in to change notification settings - Fork 816
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
Windows Nextcloud client installer restarts computer without prompt or warning #831
Comments
I experienced the same issue on two different Windows 10 computers. |
...same here on two different Windows 10 computers. |
Same Here, I tried on Windows 10 Computer and Windows Server 2016. |
Same here on 2 Windows 10 Computers and i will not try it on Windows Server 2016. |
Wow, this sucks big time. Just had that too. Reason is, vcredist_x64.exe requests reboot without asking.
This is definitely not expected behaviour for a desktop client. I almost put that on our server. :-( |
vcredist_x64.exe ignores/overwrites the "/norestart" switch of theNC 2.5.0 .msi client installer. A fix of this behavior is highly appreciated for every admin how plans a rollout of the new client on productive machines. |
i have exactly the same issue on two windows 10 computers, really annoying. |
Same here with a couple of Windows 10 clients. |
I can confirm this bug with the latest release 2.5.1 on Windows 10 x64 . |
I can confirm this bug on a fresh installation with recent stable installer (2.5.1) on Win10 x64 HTH René |
I can confirm the issue stays with the current version (2.5.1) of NC client (fresh install, Windows 10 1809 x64). Really annoying. Here is the event message from the System event log in English: The process C:\Program Files (x86)\Nextcloud\i18n\vcredist_x64.exe (Computername) has initiated the restart of computer Computername on behalf of user Domain\Username for the following reason: Application: Installation (Planned) |
Ich habe zwar keine Lösung, aber einen funktionierenden Workaround: Wie hier schon berichtet wurde, liegt das Problem an der Installation der vcredist_x64.exe, die den harten Neustart macht (Beim Nextcloud-2.5.1-setup wird automatisch die Version 14.14.26405.0 der der vcredist_x64 installiert). Installiert man aber vor dem Nextcloud-2.5.1-setup eine aktuellere Version der vcredist_x64.exe, erfolgt kein Neustart! Eine neuere Version (14.16.27012.6) findet man z.B. hier: Wenn man das ganze, so wie ich, per PowerShell App Deployment Toolkit macht, wäre die Reihenfolge also ungefähr so: If ($ENV:PROCESSOR_ARCHITECTURE -eq "AMD64") {Execute-Process -Path 'VC_redist.x64.exe' -Parameters '/S /norestart'} If ($ENV:PROCESSOR_ARCHITECTURE -eq "AMD64") {$ReturnCode = Execute-Process -Path 'Nextcloud-2.5.1-setup.exe' -Parameters '/S /norestart' -IgnoreExitCodes ‘1223’ -PassThru} |
Same problem here. |
Same issue on Windows 7 x64 SP1. |
Also experienced that issue. |
Hi All! |
Yet, it needs to reboot before for the Windows Explorer integration to work! |
Works for me on nearly naked Win7 DE 64Bit Prof. Thanks for updating the client. :-) |
Same with the technical preview. Maybe you should update that On Windows 2016 and Windows 10. |
Thankfully, VirtualBox actually saved it's state before the reboot could finish, otherwise I might have lost some work this morning, in addition to the disruption. This is awful behavior. |
Works for me :-) |
I just take installer from https://nextcloud.com/install/#install-clients for fresh install. And it restarted computer without any warning. |
A new client version (2.5.2) was released but the Nextcloud website havn't been updated yet. |
@xrammit 2.5.1 is the latest actual release. There is a newer tag for 2.5.2, but it isn't released yet. |
No, in my opinion version 2.5.2 was already released as there are (stable) binaries available on nextcloud.com for all platforms [1] and the new version was also published on the stable Nextcloud desktop client PPA [2]. [1] https://download.nextcloud.com/desktop/releases/ |
Is a reboot really needed? Couldn't it be done by killing/restarting the Explore.exe process to enable the integration into the Windows Explorer instead of a sudden reboot? |
The shell of windows is dependent on explorer.exe. Or actually explorer starts the shell (windows desktop) as you know it. So restarting explorer restarts your shell, which can gives weird issues as not all running apps can handle that. Its also the reason bad explorer plugins could take down whole windows shell. At least, this is how its been since windows 95, some of the newer builds of win10 might handle stuff differently, although i doubt it. Anyway, a reboot for explorer integration isn’t that bad in my opinion. Windows needs lots of restarts anyway so one more isnt that bad in my opinion. |
I know several programs that simply restart explorer.exe to get the shell extensions to load, and AFAIK, WinRAR uses some method to reload the extensions without doing anything visible to Explorer at all.
What? This hasn't been true at all for years. Except for the updates, there's no need to reboot Windows nowadays at all. |
Was confirmed above to be fixed, by @jellykells at #831 (comment) → closing hence. :) |
Problem still exists. Installer Nextcloud-3.5.0-x64.msi. |
@RadioactiveTapir sincw the original issue is several years old, it is likely a different underlying issue. Could you open a new issue, filling out the issue template and provide logs to help debug the issue? Thanks |
It happened again to me today, with Nextcloud update to version 3.5.1 on Windows 10 x64 . Hard to believe this is allowed to happen... |
It didn't happen to me since the last fix.
|
I know this is an old issue - but it's still happening, and still surprising. |
why is this issue closed when it's still...an issue. not only does it restart the system without any prompt, it also shuts down any application registered with restart manager. this is completely unacceptable behavior, at the very least Update & restart button should prompt with details before proceeding. |
@13xforever As per comment about, fresh bug has been requested Looks like there are some other tickets #4305 #3551 #4377 Suggest following there |
Expected behaviour
Installation prompts to restart computer allowing user to save any ongoing work.
Actual behaviour
Installer restarts immediately after displaying Run Nextcloud prompt and does not allow clicking on finish before restarting.
Steps to reproduce
Client configuration
Client version:
2.5
Operating system:
Windows 10 1809 Build 17763.55 (up to date)
OS language:
English US
Installation path of client:
C:\Program Files (x86)\Nextcloud
Logs
Event Viewer entry:
The process C:\Program Files (x86)\Nextcloud\i18n\vcredist_x64.exe (COMPUTERNAME) has initiated the restart of computer COMPUTERNAME on behalf of user USERNAME for the following reason: Application: Installation (Planned)
Reason Code: 0x80040002
Shutdown Type: restart
Comment:
The text was updated successfully, but these errors were encountered: