Nextcloud Upgrade from 8.2.18 to 29 Latest

Hi

I have Nextcloud version 8.2.18 with php7.4, i want to upgrade it to 29 latest version. What should be best procedure. I want all my users data, files, apps, calalender and shares etc as it is.

OS: Centos,

I assume ‘8.2.18’ is a typo?

What is your main challenge? Are you unsure how to upgrade PHP on whatever version of CentOS you’re using?

https://rpms.remirepo.net/

yes typo error.

NC 20 actually however i have upgraded by

sudo -u www-data php /var/www/nch/updater/updater.phar

Step by step

I have done but it increased size of appdata_* and updater_* how to reduce size?