RADIUSdesk

This is an old revision of the document!


Update RADIUSdesk

  • To update a recent install (Github Repo) of RADIUSdesk
# CD to the install directory of RADIUSdesk
cd /var/www/rdcore
# Do a Git Pull
sudo git pull
  • Apply the SQL patches.
  • The SQL patches are located under /var/www/html/cake3/rd_cake/setup/db/
cd /var/www/html/cake3/rd_cake/setup/db/
sudo mysql -u root rd < 8.057_add_legacy_wifi_support.sql  
sudo mysql -u root rd < 8.058_add_opt_in_for_ctc.sql 
sudo mysql -u root rd < 8.059_add_dynamic_detail_ctcs.sql 
sudo mysql -u root rd < 8.060_add_lost_pwd_method.sql 
sudo mysql -u root rd < 8.061_add_coova_settings.sql
#There might be more patches.
#Apply all the new ones. (use ls -l to check the dates of the files)
#The patch name convention is 8.0_incremental_number_description
#The patches are non-destructive so you can apply them multiple times.
  • Apply the latest FreeRADIUS config (not always required)
cd /var/www/html/cake3/rd_cake/setup/radius/
ls -l
#Here you can see one file was updated with the git pull
#We can replace the current FreeRADIUS config with it
-rw-r--r-- 1 system system 234816 Jun  5  2021 freeradius-3.daily.10.tar.gz
-rw-rw-r-- 1 system system 232305 May 21 03:26 freeradius-3-radiusdesk.tar.gz