Disable update checks in the Nextcloud client (windows)
-
@Dashrender said in Disable update checks in the Nextcloud client (windows):
A bit surprised this isn't part of the install in Chcolately. Chrome Enterprise (the default version installed from Chocolately) from Chocolately has auto updates disabled in the app (likely also a reg value).
That would require Nextcloud to get off their ass and allow command line switches.
-
@JaredBusch said in Disable update checks in the Nextcloud client (windows):
@Dashrender said in Disable update checks in the Nextcloud client (windows):
A bit surprised this isn't part of the install in Chcolately. Chrome Enterprise (the default version installed from Chocolately) from Chocolately has auto updates disabled in the app (likely also a reg value).
That would require Nextcloud to get off their ass and allow command line switches.
No it wouldn't. the nuget package could have a reg edit included in it.
-
@Dashrender said in Disable update checks in the Nextcloud client (windows):
@JaredBusch said in Disable update checks in the Nextcloud client (windows):
@Dashrender said in Disable update checks in the Nextcloud client (windows):
A bit surprised this isn't part of the install in Chcolately. Chrome Enterprise (the default version installed from Chocolately) from Chocolately has auto updates disabled in the app (likely also a reg value).
That would require Nextcloud to get off their ass and allow command line switches.
No it wouldn't. the nuget package could have a reg edit included in it.
True, was not thinking about it from that side.
-
of note, the documentation has a different path. Possibly, a system newly installed from 2.6 may be this way. I do not have one available to check at the moment. I will tomorrow, and will try to remember to check immediately after install.
There are also instructions for macOS.
https://docs.nextcloud.com/desktop/2.6/autoupdate.html -
For Linux clients, I found the location from this issue.
https://github.com/nextcloud/desktop/issues/1480nano ~/.config/Nextcloud/nextcloud.cfg
Add
skipUpdateCheck=true
to the[General]
section -
@JaredBusch said in Disable update checks in the Nextcloud client (windows):
For Linux clients, I found the location from this issue.
https://github.com/nextcloud/desktop/issues/1480nano ~/.config/Nextcloud/nextcloud.cfg
Add
skipUpdateCheck=true
to the[General]
sectionsed -i.bak -e '/^[General]/a\skipUpdateCheck=true' $HOME/.config/Nextcloud/nextcloud.cfg
-
To prevent automatic updates and disallow manual overrides for Windows users.
$NextcloudPathExist = Test-Path -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Nextcloud GmbH\Nextcloud' $NextcloudPolicyExist = Test-Path -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud' # if ($NextcloudPathExist -eq $true) { # Write-Host 'Valid' # Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Nextcloud GmbH\Nextcloud' | New-ItemProperty -Name skipUpdateCheck -PropertyType DWord -Value 1 # } # else { # Write-Host 'Not valid' # } if ($NextcloudPolicyExist -eq $true) { Write-Host 'Valid' Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud' | New-ItemProperty -Name skipUpdateCheck -PropertyType DWord -Value 1 } else { Write-Host 'Not valid' New-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies' -Name 'Nextcloud GmbH' New-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH' -Name 'Nextcloud' Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Policies\Nextcloud GmbH\Nextcloud' | New-ItemProperty -Name skipUpdateCheck -PropertyType DWord -Value 1 }
-
@black3dynamite over achiever
-
Brand new install of 2.6.2 (current Chocolatey version) and the registry shows this.
-
jsut upgraded a system from 2.5 something. I made sure the key was set first.
after the upgrade it is gone.
What a pain in the ass.
-
@JaredBusch said in Disable update checks in the Nextcloud client (windows):
jsut upgraded a system from 2.5 something. I made sure the key was set first.
after the upgrade it is gone.
What a pain in the ass.
Where did you add the registry key?
HKLM\SOFTWARE\Policies\Nextcloud GmbH\Nextcloud
? -
@black3dynamite said in Disable update checks in the Nextcloud client (windows):
@JaredBusch said in Disable update checks in the Nextcloud client (windows):
jsut upgraded a system from 2.5 something. I made sure the key was set first.
after the upgrade it is gone.
What a pain in the ass.
Where did you add the registry key?
HKLM\SOFTWARE\Policies\Nextcloud GmbH\Nextcloud
?I did not add the second key because that was to prevent user override? My users don't have admin rights so even if they attempted ot override, it would never work.