Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Fail to install Midas 3.2.20: "Could not find mixer" error #259

Open
felixveysseyre opened this issue Sep 2, 2016 · 8 comments
Open

Fail to install Midas 3.2.20: "Could not find mixer" error #259

felixveysseyre opened this issue Sep 2, 2016 · 8 comments

Comments

@felixveysseyre
Copy link

Hello,

I have been trying to install Midas 3.2.20 (on Mac OS X 10.11.2) but I am stuck on step 2.

After entering my database information correctly, I got the following error message:

Could not find mixer
In /Users/felixveysseyre/Projects/Midas/vendor/ircmaxell/random-lib/lib/RandomLib/Factory.php, line: 187
At 06:09:37 2016-09-02

I have tried to update Random-lib package but I am still getting the same error.

capture d ecran 2016-09-02 a 12 09 53

Thanks,
Félix

@felixveysseyre felixveysseyre changed the title Fail to install Midas 3.2.20 Fail to install Midas 3.2.20: "Could not find mixer" error Sep 2, 2016
@cpatrick
Copy link
Contributor

cpatrick commented Sep 2, 2016

I believe this is an issue with not finding some underlying crypto library, do you have the openssl or mcrypt extension installed?

At any rate, we should improve the error message.

@felixveysseyre
Copy link
Author

OpenSSL extension is installed, not mcrypt.

capture d ecran 2016-09-02 a 14 10 26

Is mcrypt a dependency ? I did not get any error message on step1.

@cpatrick
Copy link
Contributor

cpatrick commented Sep 2, 2016

it shouldn't be, does installing it address the issue?

@felixveysseyre
Copy link
Author

Same error with mcrypt installed:
capture d ecran 2016-09-02 a 14 28 35

@cpatrick
Copy link
Contributor

cpatrick commented Sep 2, 2016

Hmmm, Are you able to manually create a RandomLib Matcher?

@jamiesnape, have you seen anything like this?

@jamiesnape
Copy link
Contributor

No, but we do not test old versions of Midas with recent dependencies. Is there a compelling reason to be using 3.2.20? It is missing critical security fixes.

@felixveysseyre
Copy link
Author

@jamiesnape Mostly because our old applications (two or three years old) have been implemented as private module working with Midas 3.2.

It would make sens to use 3.4 instead if it was not requiring an important amount of work.

@felixveysseyre
Copy link
Author

@cpatrick Disabling openssl extension allowed me to complete the installation.

if (false && extension_loaded('openssl')) {
    $factory = new \RandomLib\Factory();
    $generator = $factory->getHighStrengthGenerator();
    $prefix = $generator->generateString(32);
} else {
    $prefix = $this->Component->Random->generateString(32);
}

I am not sure what is happening but it could be related to this issue ircmaxell/RandomLib#25

Thanks @cpatrick !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants