Alisa Neeman @ on
HUB-from-scratch mysql password limitations?
Hi,
I installed the hub from scratch and am testing installing a tool. It installs the svn locker but fails to add an entry to /etc/apache2/svn.conf
I get the error message:
Traceback (most recent call last): * File “/usr/lib/hubzero/bin/gensvnapache.py”, line 70, in * mysql_password = data‘joomla’‘password’ * KeyError: ‘password’
Is the mysql password limited to alphanumerics for gensvnapache.py to work?
To fix it, is it sufficient to change the mysql password via mysql or joomla?, and also change it in /etc/hubzero/maxwell.conf and /www/myhubdomain/configuration.php ? (or is there somewhere else it would need to be updated?
1 Like 0 Dislike
Anonymous @ on
There are two potential solutions: First, you could change gensvnapache.py to be more inclusive in its regex parsing of the configuration.php file. Some non-alphanumeric characters are currently accounted for, but not all.
Second, as you suggest, the MySQL password could be changed to not include characters that are causing a problem. The steps for this are as follows:
1. Follow the instructions to change the mysql password for user your_hub_name, as described here: http://www.cyberciti.biz/faq/mysql-change-root-password/
2. The password is hardcoded in the following files and must be changed manually: /www/your_hub_name/configuration.php /etc/hubzero.secrets /etc/hubzero/maxwell.conf
3. Login into the Joomla administration page, and go to Joomla->Components->Tools and change the password
4. reboot the server
Reply Report abuse
Please login to answer the question.