Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
update_cake5 [2026/09/03 17:11] – [Instructions] systemupdate_cake5 [2026/09/03 17:36] (current) – [Instructions] system
Line 61: Line 61:
 </code> </code>
   * That brings us to the end of the upgrade instructions to migrate from CakePHPv4 to CakePHPv5.   * That brings us to the end of the upgrade instructions to migrate from CakePHPv4 to CakePHPv5.
 +
 +
 ----------- -----------
 +
 +===== Remember to patch =====
 +  * RADIUSdesk is under active development and sometimes we add SQL patches.
 +  * The SQL patches are located under **/var/www/html/cake4/rd_cake/setup/db/**.
 +  * These patches are non-destructive and you can run them against the database
 +  * See the example below
 +<code bash>
 +sudo mysql -u root rd < /var/www/html/cake4/rd_cake/setup/db/8.068_add_email_sms_histories.sql
 +</code>
 +  * Some of these patches may add new columns to existing database tables. 
 +  * In this case, it is recommended to clear the CakePHP models (tables) cache to ensure that the latest changes are also applied there:
 +<code bash>
 +sudo su
 +cd /var/www/html/cake4/rd_cake/tmp/cache/models
 +rm *
 +exit
 +</code>
 +
  
  • update_cake5.1788448314.txt.gz
  • Last modified: 2026/09/03 17:11
  • by system