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

Agents not upgrading when upgrading from Version: 2021.05.15.0632 to latest #956

Open
adx976 opened this issue Dec 14, 2024 · 1 comment

Comments

@adx976
Copy link

adx976 commented Dec 14, 2024

Describe the bug
We are attempting to upgrade from the monolith Version: 2021.05.15.0632 to the latest docker version. I was able to get the database copied over, and with nginx redirects/overriding of methods - the agents to connect but show 'Outdated'. The agents aren't able to auto-upgrade. I also tried running 'update agents' from the server config page, and I see that they're trying to pull Remotely_Installer.exe to upgrade. The Remotely_Installer.exe no longer exists in the newest version so our logs show '404'. It seems like the newest version uses the Remotely.zip ( based off x86 or x64 )

Is there an alternative to the Remotely_Installer.exe that I can point my nginx proxy to so that the agents can auto-update? or is there a more creative approach so when they do connect to the newer install they can download the newest zip and update themselves?

I've also tried running a WinPS against them from the newest version, however that also must not be supported.

Remotely Version
Server (can be found on about page): latest
Agent (can be found in device card): Version: 2021.05.15.0632

Expected Behavior
The agents should auto update to the newest version

@mattish91
Copy link

mattish91 commented Dec 24, 2024

I made a script that does this once a month for all windows agents (If you are on current dashboard version 2024.08.07.0819)

Make a new script for your windows clients with the Shell value of "PSCore" and the url from deployment like this:

irm https://your.domain.tld/api/ClientDownloads/WindowsInstaller/{Your-Organisation-ID} | iex

I made it even simpler by giving away one of my subdomains like "deploy.mydomain.tld" thats pointing towards my organisation id to make it run with irm deploy.mydomain.tld | iex once a month.

Call the script what ever you want like "update/install" and schedule the script to be run once a month or so, that way you will know your clients will be up to date after some time. Obviously, you need to modify the url to your needs.

Edit: Made some spelling misstakes and a cleanup. One is only human. ^^

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

No branches or pull requests

2 participants