Note: My apologies for the lousy title of this issue. I meant to go back and work on that before submitting!
I had a root password with a "[" symbol in the password. After the install completed, Aegir worked fine except the localhost server would not verify due to an error that Aegir could not access "root@localhost". Upon inspection, the "[" was saved to the hosting_db_server password field as an escaped character. To get the site to verify, I had to change the password in the database.
Let me know if you have any questions and if I can dig more to help resolve.
Thanks!
shrop
Comments
Comment #1
notzach commentedI had the same problem running Aegir 6.x-1.6 on RHEL 6.
Comment #2
steven jones commentedTitles are easy to fix.
@shrop I'd love to get this fixed, was the password incorrectly escaped in the DB, is that what you're saying?
Comment #3
shrop commentedYes. I actually saw it in the db escaped. I changed it there and it worked on verify. Notzach told me that he changed it in the Aegir interface and it fixed things too. So it appears to be an install only issue at this point. Let me know if I can test anything or provide additional info.
Comment #4
steven jones commentedOkay, for clarity, can you confirm that if my MySQL root password was say:
Then that would fail along the line somewhere?
Comment #5
shrop commentedYep. It fails if the password if "root[pass", but only when you enter the during the install process. Looks like it works in a running Aegir instance, if you try to change the pw for the master mysql server.
The verify of localhost is what actually fails because it can't connect to the mysql server with an incorrect password.
Comment #6
steven jones commentedLet's have a look at what's going on here.
Comment #7
steven jones commentedAh, so the installer was importing the DB password incorrectly, I think this means that you should now be able to use special characters in the DB password!
commit:1826305e921c9a2eafc0a9c1d56c1c641f9cdded
Comment #8
steven jones commented@shrop Huge thanks for the bug report.
Comment #9
shrop commentedThanks for fixing this up for us all! :)
Comment #10
omega8cc commentedThis patch is missing in 6.x-2.x
Comment #11
steven jones commentedDone in 7cb11bc3589695f0c45b48eb79f65e2fbd383d6f
Comment #12.0
(not verified) commentedAdded note about the title of the issue