FreshRSS / FreshRSS

A free, self-hostable news aggregator…
https://freshrss.org
GNU Affero General Public License v3.0
9.55k stars 816 forks source link

[BUG] "Could not initialize random number generator" and/or "There are no articles to show." #5985

Closed juanbretti closed 9 months ago

juanbretti commented 9 months ago

Describe the bug Problems installing the application using Docker.

To Reproduce Clean install. Using a Synology NAS. Using "Container Manager" (Docker containers manager)

image

Try to go to the application, but no response. The Docker logs an error:

[Wed Dec 27 12:10:26.880345 2023] [:crit] [pid 1] (38)Function not implemented: AH00141: Could not initialize random number generator

The Docker is not running, because it crashes after the previous error.

Expected behavior The application should remain running. But it crashes/stops.

Environment information:

Additional context Files are being generated on the storage.

image

I tried the following solution: https://github.com/FreshRSS/FreshRSS/issues/4162. Using freshrss/freshrss:alpine. But it does not work because of something different.

freshrss/freshrss:alpine does not work, because I do not get any entries. The feeds are not updating at all. Steps I can do:

image

The file db.sqlite is created inside the username folder. The DB contains the list of feeds.

Also tried the following https://github.com/FreshRSS/FreshRSS/issues/3100#issuecomment-657023419, and I get the response from https://jointheteem.com/feed/. Using the code:

 sudo docker exec freshrss php -r "readfile('https://jointheteem.com/feed/');"
Alkarex commented 9 months ago

Hello, Which Docker version do you run, and which Linux kernel?

Likely the same than:

Options include:

  freshrss:
    image: freshrss/freshrss:oldest
    build:
      context: https://github.com/FreshRSS/FreshRSS.git#edge
      dockerfile: Docker/Dockerfile-Oldest
    ...