Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| update_cake5 [2026/09/03 16:51] – [Instructions] system | update_cake5 [2026/09/03 17:36] (current) – [Instructions] system | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| * These instructions are applicable for systems that has RADIUSdesk already installed on Ubuntu version 24.04 and 26.04. | * These instructions are applicable for systems that has RADIUSdesk already installed on Ubuntu version 24.04 and 26.04. | ||
| + | * Check out the CakePHPv5 API back-end application | ||
| <code bash> | <code bash> | ||
| cd /var/www/ | cd /var/www/ | ||
| + | sudo git clone https:// | ||
| </ | </ | ||
| - | * It is new, lightweight, | + | * Remove the old soft links: |
| - | * Nginx is the new Apache so to speak. | + | <code bash> |
| - | * This section describes | + | cd / |
| - | | + | sudo rm ./cake4 |
| + | sudo rm ./ | ||
| + | </ | ||
| + | * Create | ||
| + | <code bash> | ||
| + | sudo ln -s ../ | ||
| + | sudo ln -s ../ | ||
| + | </ | ||
| + | * Create directories: | ||
| + | <code bash> | ||
| + | sudo mkdir -p / | ||
| + | sudo mkdir -p / | ||
| + | sudo mkdir -p / | ||
| + | </ | ||
| + | * Copy the old images over: | ||
| + | <code bash> | ||
| + | sudo cp -R / | ||
| + | sudo cp -R / | ||
| + | sudo cp -R / | ||
| + | sudo cp -R / | ||
| + | sudo cp -R / | ||
| + | </ | ||
| + | * Change the ownership: | ||
| + | <code bash> | ||
| + | sudo chown -R www-data: | ||
| + | sudo chown -R www-data: | ||
| + | sudo chown -R www-data: | ||
| + | sudo chown -R www-data: | ||
| + | sudo chown -R www-data: | ||
| + | sudo chown -R www-data: | ||
| + | sudo chown -R www-data: | ||
| + | sudo chown -R www-data: | ||
| + | </ | ||
| + | * That brings us to the end of the upgrade instructions | ||
| ----------- | ----------- | ||
| + | |||
| + | ===== Remember to patch ===== | ||
| + | * RADIUSdesk is under active development and sometimes we add SQL patches. | ||
| + | * The SQL patches are located under **/ | ||
| + | * These patches are non-destructive and you can run them against the database | ||
| + | * See the example below | ||
| + | <code bash> | ||
| + | sudo mysql -u root rd < / | ||
| + | </ | ||
| + | * 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 / | ||
| + | rm * | ||
| + | exit | ||
| + | </ | ||
| + | |||