Closed jamesnogra closed 10 years ago
Same issue here!
I'm currently trying to setup a Docker image (frdmn/mail-docker) that ships Dovecot, Postfix, ViMbAdmin and Roundcube and just ran into the same issue.
Any ideas?
This is the first page you should see:
You need to complete step one by copying the salts to the config file. I.e. copy:
securitysalt = "Bbi;qJQ=]-Lt9}\FN;nFjQX@V%k+XadD2v~\.+yd:zgEM/7~zlMt$)[!<Ofr>7_("
resources.auth.oss.rememberme.salt = "4#0g,j2QJU.UZ*?/4pv80GR;}7h[hy|3dSlsI!N>H}$?Vjw&S9zT17EpBOWaZx3J"
defaults.mailbox.password_salt = "I_a)wER#G;lXG$FBNKtT9cz\Zv4@6H*t{E~1Un8vg:I\fC+jir%cK(LkFp,bp9S;"
to application/configs/application.ini
and replace the blank strings already there.
NB: There are empty placeholders WHICH MUST BE REMOVED - http://git.io/p2asEA
You can then complete step 1 immediately (with the key prefilled) or refresh to confirm your application.ini is correct - where you'll find:
Copy the security salt back and complete the registration.
Thanks for the quick reply, @barryo. However: odd. Here's how my application.ini looks like at the moment:
# cat application/configs/application.ini | grep salt
securitysalt = "HFomEnnos3yPlWLV"
resources.auth.oss.rememberme.salt = "dkGMe2cMfNNPN1ND"
defaults.mailbox.password_salt = "Gh4d1kq2qOJq8Wi3"
Is that too little?
The values provided are random. Can you try with those and let me know?
@barryo Okay, that worked. I could narrow it down (a bit):
Tried with a 64 byte alpha numeric string = Nay! 32 byte special characters = Nay! 64 byte special + alpha numeric = Yay!
Thanks for the help!
When I browse to http://www.MY-WEBSITE.com/vimbadmin, I am redirected to http://www.MY-WEBSITE.com/vimbadmin/auth/setup. I can see the Installation form Step1, Step2, etc. But when I try to fill the registration form, Salt, Username, and Password and then I click "Activate my Account", I am redirected back to the same page (http://www.MY-WEBSITE.com/vimbadmin/auth/setup) telling me to add an Admin. When I looked at the vimbadmin database in MySQL, no admin was added.
What am I doing wrong here? I have the correct MySQL database name, username, password, and host. I am using PHP 5.5.9, Apache 2.4.7 and MySQL 5.5.38. By the way, I am using ViMbAdmin V3