Since the release of the new Galaxy Portal, Satellite installations < 4.6.4 might encounter problems with the login using Galaxy. This tutorial describes two possible fixes (Upgrade to the latest Satellite, Manually update the CAS Server, Modify your HOSTS file)
Option 1 - Upgrade to the latest Satellite
- Backup of both database and ftp content is strongly recommended!
- Download the latest Satellite Release from http://satellite.esn.org/
- Delete everything in your website directory except the /sites subdirectory and any custom files
- Put the new Satellite files in the directory, as in a normal installation
- If you have modified files such as .htaccess or robots.txt re-apply those changes to the new files
- Access http://your-domain.com/update.php
I can't login as admin anymore, how do I perform the update?
- Go to sites/default
- Edit the settings.php
- Set $update_free_access = TRUE;
- Access http://your-domain.com/update.php
- Set $update_free_access = FALSE;
Option 2 - Manually update the CAS Server
- Login as Adminstrator
- Go to Configuration->People->CAS Settings
- Update the CAS Server to: accounts.esn.org
For those who can't login anymore you can just use this SQL query directly in Satellite database:
UPDATE <YOUR_DB_PREFIX>variable SET value=(0x733a31363a226163636f756e74732e65736e2e6f7267223b) WHERE name = 'cas_server';
TRUNCATE TABLE <YOUR_DB_PREFIX>cache;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_block;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_field;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_filter;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_form;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_image;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_menu;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_page;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_path;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_token;
TRUNCATE TABLE <YOUR_DB_PREFIX>cache_update;
Other websites
DokuWiki
change the value in /lib/plugins/authplaincas/conf/default.php file
$conf['server'] = 'accounts.esn.org';
$conf['handlelogoutrequestTrustedHosts'] = 'accounts.esn.org';
$conf['rootcas'] = '/cas'; $conf['port'] = '443';
Option 3 - modify hosts file - the ultimate trick (all websites)
You can simply add the record in hosts file of your OS so galaxy.esn.org always goes to accounts.. than do the changes in your website and remove the line from hosts file again.. clean, fast and efficient..
148.251.185.211 galaxy.esn.org