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

Disable update reminder #449

Closed
1 of 2 tasks
flauschi opened this issue May 18, 2017 · 8 comments · Fixed by #453
Closed
1 of 2 tasks

Disable update reminder #449

flauschi opened this issue May 18, 2017 · 8 comments · Fixed by #453
Assignees
Milestone

Comments

@flauschi
Copy link

My Setup

  • My OS name and version: Windows Server 2008 R2
  • My current app version: 2.7.0
  • I have tested with the latest application version
  • I can simulate the issue easily

Description

When I start the app, a window appears to remind me to install the new version of the client.
I have installed Rocket.Chat on a Terminal Server and every user is getting this reminder. But they don't have the permission to install updates. They are really confused. :-)

There should be a possibility to disable this reminder for all users on a certain workstation/server (By registry key or global config file (could be related to #139)?).

@karlis-vitols
Copy link

Additionally, it would be even better if there was an installation/registry switch to disable this centrally, not per each computer.

@engelgabriel engelgabriel added this to the 2.9.0 milestone May 18, 2017
@skfin
Copy link

skfin commented May 19, 2017

If you choose to skip the update, a json file is created in the user's appdata folder - if you push this file to all users with a script or group policy you can suppress the update check. There should obviously be a proper solution but this will work in the mean time.

@flauschi
Copy link
Author

flauschi commented May 19, 2017

This is correct. It works as a temporary workaround. But it only works until the next version is released (or I guess the future version numbers).

@alexbrazier
Copy link
Contributor

@flauschi you can also disable permanently updates using the update file:

{
  "autoUpdate": false
}

I have also create a PR which will allow this file to be created in the install directory for all users.

@flauschi
Copy link
Author

@alexbrazier Thanks, it works!

@johnyb0y
Copy link

@alexbrazier Thanks for your pr! Where do i need to put the file ? Inside the "resources" folder, like the servers.json ? Or in the root folder of rocketchat ?

@alexbrazier
Copy link
Contributor

@johnyb0y you can either put the file in the app data directory (in the rocket chat folder) or in the install directory.

This is a runtime config, and is currently not built with the installer. This may change (see #523)

@johnyb0y
Copy link

Thank you. Yeah, i was talking about the "All Users" installation in %Program Files%\rocketchat+.

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

Successfully merging a pull request may close this issue.

6 participants