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:03] – system | update_cake5 [2026/09/03 17:36] (current) – [Instructions] system | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ===== Instructions ===== | ===== Instructions ===== | ||
| - | * These instructions are applicable for systems | + | * These instructions are applicable for systems |
| - | * | + | * Check out the CakePHPv5 API back-end application |
| - | * Nginx is the new Apache so to speak. | + | <code bash> |
| - | * This section describes | + | cd /var/www/ |
| - | | + | sudo git clone https:// |
| + | </ | ||
| + | * Remove the old soft links: | ||
| + | <code bash> | ||
| + | cd / | ||
| + | sudo rm ./cake4 | ||
| + | sudo rm ./ | ||
| + | </ | ||
| + | * Create | ||
| + | <code bash> | ||
| + | sudo ln -s ../rd_cake5 ./cake4 | ||
| + | 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 | ||
| + | </ | ||
| + | |||