Drupal core upgrade 9.1.2

How to upgrade Drupal core manually or via composer?

Upgrading Drupal Core manually is not less than nightmare, therefore is better that you install Drupal via Composer.

When upgrading Drupal Core, likewise I am upgrading Drupal core 9.0.7 to Drupal core 9.1.2, to do so I simply ran composer update that will eventually upgrade all the packages along with drupal/core.

composer update

In case you encounter the permission issue while running composer update, for example in image blow.

To resolve this problem make sure you have proper permissions on sites/default by running following command.

chmod u+w sites/default

Once permissions are set correct, Drupal Core will be upgraded successfully.

Author: Danyal
I'm a skilled programmer specializing in Vue.js/Nuxt.js for front-end development and PHP Laravel for back-end solutions. I have a strong focus on API design and development, complemented by experience in web server setup and maintenance. My versatile expertise ensures seamless creation and maintenance of web applications, covering everything from intuitive user interfaces to robust server-side functionality. Passionate about coding and driven by a lifelong learning mindset, I invite you to explore more at danyal.dk.