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

[BUG] Could not initialize random number generator #4162

Closed
FabioWidmer opened this issue Jan 16, 2022 · 6 comments
Closed

[BUG] Could not initialize random number generator #4162

FabioWidmer opened this issue Jan 16, 2022 · 6 comments
Labels
Docker Everything related to Docker Documentation 📚
Milestone

Comments

@FabioWidmer
Copy link

Describe the bug
After switching the Docker tag from 1.18.1 to 1.19.0 and 1.19.1, the following error appears and stops the container:
(38)Function not implemented: AH00141: Could not initialize random number generator

To Reproduce
Steps to reproduce the behaviour:

  1. Install FreshRSS v1.18.1
  2. Update FreshRSS to v1.19.1

Expected behaviour
Without changing anything the Docker container should start as usual after the update.

Environment information

  • FreshRSS version: 1.19.1
  • Installation type: Docker
@Frenzie
Copy link
Member

Frenzie commented Jan 16, 2022

I suspect the kernel of your outer environment is most likely to blame, not the container as such. Could you provide some information about it?

@Frenzie
Copy link
Member

Frenzie commented Jan 16, 2022

I found https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978045 which details the causes.

This changed in libapr1 1.7, re-assigning to apr. I am not sure about
the severity, though. According to the man page, getrandom has been
introduced in linux 3.17. Debian 9 already has 4.9 so you have to have a
kernel that is from Debian 8 to be affected by this.

@Frenzie
Copy link
Member

Frenzie commented Jan 16, 2022

Pinging @Alkarex

@Alkarex
Copy link
Member

Alkarex commented Jan 16, 2022

Which image are you using, more precisely?
We have a Debian and an Alpine version. Could you please try both?

  • freshrss/freshrss:1.19.1 (Debian)
  • freshrss/freshrss:1.19.1-alpine

@math-GH math-GH added the Docker Everything related to Docker label Jan 16, 2022
@FabioWidmer
Copy link
Author

I was using the Debian one. After switching to the 1.19.1-alpine tag it worked. Thanks!

@Alkarex
Copy link
Member

Alkarex commented Dec 27, 2023

Discussion for newer workarounds #5987 (comment)

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

No branches or pull requests

4 participants