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

There is no suitable CSPRNG installed on your system #2060

Closed
SiriusPrime opened this Issue Mar 28, 2016 · 25 comments

Comments

@SiriusPrime
Copy link

SiriusPrime commented Mar 28, 2016

Expected behaviour

Starting kanboard in web browser after copying new version 1.0.27 to web server.

I have older version (1.0.26) running on my server already.

Actual behaviour

only this error message:

Internal Error: There is no suitable CSPRNG installed on your system

Steps to reproduce

Configuration

Copy and paste the configuration section from the Kanboard settings page or fill these fields:

  • Kanboard version: 1.0.27
  • Database type and version: mysql 5.0.11
  • PHP version:5.6.19
  • OS: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u5 x86_64
  • Browser: Mozilla Firefox 45.0.01
@rylangrant

This comment has been minimized.

Copy link

rylangrant commented Mar 29, 2016

Same issue, similar setup but fresh install.

@PatrickHonorez

This comment has been minimized.

Copy link

PatrickHonorez commented Mar 29, 2016

Same issue with my Synology NAS. Version 1.0.26 works like a charm.

@ocean123

This comment has been minimized.

Copy link

ocean123 commented Mar 30, 2016

Same issue overhere. How can I solve the problem

@frankvanderheyden

This comment has been minimized.

Copy link

frankvanderheyden commented Mar 31, 2016

Same problem on my Synology NAS. Version 1.0.26 works OK.

@szawadski

This comment has been minimized.

Copy link

szawadski commented Mar 31, 2016

Hello, I confirm the problem with version 1.0.27 on my Synology NAS

@eagle243

This comment has been minimized.

Copy link

eagle243 commented Apr 1, 2016

Yup, I noticed the same issue when upgrading from 1.0.25 on my Synology.

@fguillot

This comment has been minimized.

Copy link
Collaborator

fguillot commented Apr 5, 2016

This is coming from the library https://github.com/paragonie/random_compat, do you have at least openssl or mcrypt and /dev/urandom?

@eagle243

This comment has been minimized.

Copy link

eagle243 commented Apr 5, 2016

Hi Fréderic.

The Synology does have /lib/libmcrypt.so.4, as well as openssl, and /dev/urandom.

Version 1.0.25 works fine on Synology, but 1.0.27 does not.

Daniel

On Apr 4, 2016, at 21:29, Frédéric Guillot notifications@github.com wrote:

This is coming from the library https://github.com/paragonie/random_compat https://github.com/paragonie/random_compat, do you have at least openssl or mcrypt and /dev/urandom?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub #2060 (comment)

@kero242

This comment has been minimized.

Copy link

kero242 commented Apr 5, 2016

"Internal Error: There is no suitable CSPRNG installed on your system"
same here with ubuntu 14.04 and kanboard 1.0.27

@oliviermaridat

This comment has been minimized.

Copy link
Contributor

oliviermaridat commented Apr 5, 2016

It seems to be related to this issue on the random_compat component: paragonie/random_compat#99
Or maybe not, because Kanboard is using v2.0.1...

@kero242

This comment has been minimized.

Copy link

kero242 commented Apr 5, 2016

adding
/dev/urandom to the open_basedir directive fixes my problem.

@erok997

This comment has been minimized.

Copy link

erok997 commented Apr 5, 2016

Confirmed that adding /dev/urandom to the open_basedir directive, specifically within the Synology NAS Web Services Control Panel Pane, PHP Settings, "Customize PHP open_basedir" field fixed this issue.

@PatrickHonorez

This comment has been minimized.

Copy link

PatrickHonorez commented Apr 5, 2016

confirmed as well that adding /dev/urandom to the open_basedir directive
on my Syno 710+ fixed the issue.

On 5 April 2016 at 16:51, erok997 notifications@github.com wrote:

Confirmed that adding /dev/urandom to the open_basedir directive,
specifically within the Synology NAS Web Services Control Panel Pane, PHP
Settings, "Customize PHP open_basedir" field fixed this issue.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#2060 (comment)

@frankvanderheyden

This comment has been minimized.

Copy link

frankvanderheyden commented Apr 5, 2016

confirmed also adding /dev/urandom to the open_basedir directive
on my Syno 211+ fixed the issue.

@szawadski

This comment has been minimized.

Copy link

szawadski commented Apr 5, 2016

I also confirm adding /dev/urandom has solved my issue
Thanks to all of you.
Regards,
Sébastien

Le mar. 5 avr. 2016 à 17:10, frankvanderheyden notifications@github.com a
écrit :

confirmed also adding /dev/urandom to the open_basedir directive
on my Syno 211+ fixed the issue.


You are receiving this because you commented.

Reply to this email directly or view it on GitHub
#2060 (comment)

@fguillot

This comment has been minimized.

Copy link
Collaborator

fguillot commented Apr 12, 2016

I updated the FAQ.

@fguillot fguillot closed this Apr 12, 2016

@sleepywitti

This comment has been minimized.

Copy link

sleepywitti commented May 2, 2016

It's also possible to downgrade random_compat to 1.4, which still supports OpenSSL instead of /dev/urandom. Just replace the files in kanboard/vendor/paragonie/random_compat.

@amiceli

This comment has been minimized.

Copy link

amiceli commented Jun 29, 2016

I had the same problem, i found this article.
To fix *CSPRNG * error, I added /dev path to open_basedir options.

Maybe this fix can be added on FAQ ?

@luchothoma

This comment has been minimized.

Copy link

luchothoma commented Jan 8, 2017

Sorry, I'm installing Kanboard.net in a free hosting account and I get in troubel cause it run on error message (In local XAMPP it run well) going with this "Internal Error: There is no suitable CSPRNG installed on your system"

Can some one give me a solution?

@hauserulrich

This comment has been minimized.

Copy link

hauserulrich commented Jan 10, 2017

I upgraded from 1.0.25 on a hosted account. The solution of sleepywitti worked for me.

@skreisel

This comment has been minimized.

Copy link

skreisel commented Feb 15, 2017

Any idea how to get past this if one is using a hosted system where changes to open_basedir settings are blocked?
Cheers!

@skreisel

This comment has been minimized.

Copy link

skreisel commented Feb 18, 2017

Answering myself: sleepwitty's instructions are how to do it. To clarify for those of us without computing intuition: from the link, one has to download the zip, delete the contents of the kanboard/vendor/paragonie/random_compat directory on your installtation and unpack the zip there - adding the downgraded version. Voilà...

@z-works

This comment has been minimized.

Copy link

z-works commented Apr 2, 2017

sleepwitty & skreisel: yes it worked out. Now 1041 runs instead of 1023. Thanks!

@luchothoma

This comment has been minimized.

Copy link

luchothoma commented Apr 2, 2017

I read in PHP manual, and this CSPRNG does not come with versions before 7.X, also you can download and install the library standalone but for my case I use a shared free hosting so I can't install anything but happily I have permision to switch between some versions of PHP and 7.0 was in that list !

I hope this help someone later.

@marcosaccioly

This comment has been minimized.

Copy link

marcosaccioly commented Jun 24, 2017

@skreisel thank's for the clarification on @sleepywitti 's solution. Nailed it.

@kanboard kanboard locked and limited conversation to collaborators Feb 6, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.