What Is The Best Way To Upgrade From 5.1 to 5.11?

What Is The Best Way To Upgrade From 5.1 to 5.11 Without Composer?

I have the upgrade guide By Nikolai Shcherbin  4.3 > 5.1 and if still applies.

The Guide Steps to upgrade from ver 
4.3 to ver 5.1, and I wonder if the same guide works to upgrade to 5.11 and up.

- backup DataBase 
- backup all files in your root Elgg installed directory
- backup your /data directory (optional)
- backup /mod
- backup elgg-config/settings.php
- login as Administrator
- turn off all plugins
- turn off all simple/site caches' options (Dashboard -> Site settings) /admin/site_settings
- turn off 'Protect upgrade.php' option (Dashboard -> Security) /admin/security
- turn on 'Debugging and Logging - Log level: Log errors and warning' option (Dashboard -> Site settings) /admin/site_settings
- go to Dashboard, click on Upgrade and stay on there
- delete old /vendor and files in the root Elgg installed directory (composer.json, index.php, install.php etc)
- change a new .htaccess \ nginx configs
- copy the new 5.1 /vendor and files to the root Elgg installed directory (composer.json, index.php, install.php etc)
- add new changes in elgg-config/settings.php
- delete old /mod
- delete from /data/caches/ these folders: /views_simplecache, /stash and /localstash
- clean opCache
- increase PHP memory as well (for highload servers)
- click on Upgrade -> go to /admin/upgrades and run all Pending upgrades -> return on Dashboard
- update your PHP to 8.2
- copy new /mod 
- activate only bundled plugins
- go to Dashboard and click on Upgrade -> go to /admin/upgrades and run all Pending upgrades -> return on Dashboard
- enable your 3rd party plugins
- go to Dashboard and click on Upgrade -> go to /admin/upgrades and run all Pending upgrades
- turn on all simple/site caches' options (Dashboard -> Site settings)
- turn on 'Protect upgrade.php' option (Dashboard -> Security)

- Done
 
Thank You
  • - backup DataBase 
    - backup all files in your root Elgg installed directory
    - backup your /data directory (optional)
    - backup /mod
    - backup elgg-config/settings.php
    - login as Administrator
    - turn off 'Protect upgrade.php' option (Dashboard -> Security) /admin/security
    - turn on 'Debugging and Logging - Log level: Log errors and warning' option (Dashboard -> Site settings) /admin/site_settings
    - go to Dashboard, click on Upgrade and stay on there
    - delete old /vendor and files in the root Elgg installed directory (composer.json, index.php, install.php etc)
    - copy the new 5.1.11 /vendor and files to the root Elgg installed directory (composer.json, index.php, install.php etc)
    - delete old /mod
    - clean opCache
    - click on Upgrade -> go to /admin/upgrades and run all Pending upgrades -> return on Dashboard
    - copy new /mod 
    - activate only bundled plugins
    - go to Dashboard and click on Upgrade -> go to /admin/upgrades and run all Pending upgrades -> return on Dashboard
    - enable your 3rd party plugins
    - go to Dashboard and click on Upgrade -> go to /admin/upgrades and run all Pending upgrades
    - turn on all simple/site caches' options (Dashboard -> Site settings)
    - turn on 'Protect upgrade.php' option (Dashboard -> Security)

    - Done
  • Well done.

    After your steps everything went great and the site is working smoothly.
    Thank You.