RADIUSdesk

logo

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
getting_started:22_upgrade [2023/07/05 21:04]
admin [Install CakePHP 8.1]
getting_started:22_upgrade [2023/07/05 21:10] (current)
admin [Porting Actions]
Line 62: Line 62:
 sudo mysql -u root rd < /var/www/html/cake4/rd_cake/setup/db/rd.sql sudo mysql -u root rd < /var/www/html/cake4/rd_cake/setup/db/rd.sql
 </code> </code>
 +
 +===== Running the porting script =====
 +  * Everything is now in place to run the porting script.
 +  * Run the following as root user or www-data user.
 +<code bash>
 +cd /var/www/html/cake4/rd_cake && bin/cake migrate
 +</code>
 +  * If everything work as intended this script will create a cloud / realm.
 +  * It will also port existing RADIUS related things including Dynamic Login pages.
 +
 +===== Finally you need to copy the older files from the old folders =====
 +  * The following of the original folders are important
 +<code bash>
 +/var/www/html/cake3/rd_cake/webroot/img/realms
 +/var/www/html/cake3/rd_cake/webroot/img/dynamic_details
 +/var/www/html/cake3/rd_cake/webroot/img/dynamic_photos
 +/var/www/html/cake3/rd_cake/webroot/img/access_providers
 +/var/www/html/cake3/rd_cake/webroot/img/hardwares
 +/var/www/html/cake3/rd_cake/webroot/files/imagecache
 +</code>
 +