Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with mixers on FreeBSD 10 #40

Open
imhoil opened this issue Sep 23, 2015 · 5 comments
Open

Problem with mixers on FreeBSD 10 #40

imhoil opened this issue Sep 23, 2015 · 5 comments

Comments

@imhoil
Copy link

imhoil commented Sep 23, 2015

I have FreeBSD 10 + nginx + php56-fpm
install owncloud from ports, reinstall from pkg
In both cases, the installation went normally
But the logs Nginx
2015/09/23 09:06:17 [error] 64306#0: *62634 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not find mixer' in /usr/local/www/nginx-dist/oc/3rdparty/ircmaxell/random-lib/lib/RandomLib/Factory.php:187
Stack trace:
#0 /usr/local/www/nginx-dist/oc/3rdparty/ircmaxell/random-lib/lib/RandomLib/Factory.php(68): RandomLib\Factory->findMixer(Object(SecurityLib\Strength))
#1 /usr/local/www/nginx-dist/oc/3rdparty/ircmaxell/random-lib/lib/RandomLib/Factory.php(95): RandomLib\Factory->getGenerator(Object(SecurityLib\Strength))
#2 /usr/local/www/nginx-dist/oc/lib/private/security/securerandom.php(59): RandomLib\Factory->getLowStrengthGenerator()
#3 /usr/local/www/nginx-dist/oc/lib/private/appframework/http/request.php(439): OC\Security\SecureRandom->getLowStrengthGenerator()
#4 /usr/local/www/nginx-dist/oc/lib/private/log/owncloud.php(77): OC\AppFramework\Http\Request->getId()
#5 [internal function]: OC_Log_Owncloud::write('PHP', 'RuntimeExceptio...', 3)
#6 /usr/local/www/nginx-dist/oc/lib/private/log.php(241): call_user_...

@ircmaxell
Copy link
Owner

Why are you using low strength? Why not use medium?

@imhoil
Copy link
Author

imhoil commented Sep 23, 2015

Im try using owncloud, its default.

@ircmaxell
Copy link
Owner

Can you try using the library directly? Without owncloud and see if you can reproduce it?

@imhoil
Copy link
Author

imhoil commented Sep 23, 2015

I can, but it's difficult to do that, I'm not a programmer
The same package owncloud, from official site, on Ubuntu 14.04 working normally. It seems to me that a some package was installed on freebsd with the wrong parameters.
Both system (freebsd and ubuntu) have default nginx config. On ubuntu installing OwnCloud get normally and create config.php, on freebsd installing failed on start with this error

@imhoil
Copy link
Author

imhoil commented Sep 28, 2015

Problem solved. Clean install FreeBSD 10.2 :)

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

No branches or pull requests

2 participants