Update Kirby directly from the Panel?

Hi :slight_smile:

So far, I have used two methods to update to the latest version:

  1. Delete the Media and Kirby folders locally; download the latest Kirby version; upload the Kirby folder to the server.
  2. Local terminal: “composer update getkirby/cms”; sync with the server.

Both work fine.

I think it would be handy if an admin could initiate an update directly in the panel.

There are probably reasons why this has not been provided for so far.

Out of curiosity: I would be grateful if you could briefly explain the reasoning behind this.

While minor updates rarely lead to breaking changes, simply updating isn’t enough. There might be some deprecated methods you’ll have to replace, you might want to update (or replace) some plugins, …

Long story short: you’ll always want to update locally, test it and make necessary changes before deploying your site to the server.

Thanks for your explanation. That makes sense. At the moment, I don’t have a proper local development environment that allows me to test locally. That’s why I use a subdomain that is not public for testing.