How to upgrade from Strapi v4.15.0 to v.4.23.0?

The issue was related to the use of a strapi plugin with placeholders for images. Manged to upgrade Strapi after migrating the data related to the placeholder.