Disabling Automatic Updates

Is there a way to disable automatic updates of Discourse? I’d rather review these as they become available and then choose whether or not to install them.

image

If you’re self-hosted you can pick and choose when to update. :+1: (though try not to leave it too long so you don’t miss out on security fixes, etc) If you’re on managed hosting there is less choice. :slight_smile: Depending on who you’re hosted with you could maybe ask them what their options are?

4 Likes

Yeah, if you are still self-hosted, unless someone has written a script for you, there is no automated update afaia.

Maybe someone in the team rebuilt to add a plugin?

5 Likes

I’m self-hosted and was under the impression no automatic updates would happen, but then two things happened:

  1. Today our host went to install a plugin and our site went down for nearly 20 minutes because, unbeknownst to him, the Discourse setup was no longer accepting variables with an ‘=’ sign, making us believe something must have changed since we last performed this operation.
  2. I noticed the dashboard was saying “Discourse last updated 17 hours ago” even though nobody from our team had initiated any updates. It had recently been saying it was out of date, too. We haven’t installed any updates since the beginning of April.

what does it say on the Dashboard, there? (especially the blue code):

image

If you click on it it will tell you the date of the commit and when the site was last updated.

Because installing a plugin requires rebuilding and then will happend updating too. AFAIK you can’t avoid that.

4 Likes

Yep as per my comment above: you can’t install a plugin without a rebuild.

One of the main reasons for that is that plugins sometimes require a database migration.

4 Likes

image

We have not purposefully run any updates since end of March / beginning of April.

If you rebuilt to install a plugin the site would have been updated through that process.

2 Likes

Ah that would explain it! Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.