Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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" and/or "There are no articles to show." #5985

Closed
juanbretti opened this issue Dec 27, 2023 · 1 comment
Labels
Docker Everything related to Docker

Comments

@juanbretti
Copy link

juanbretti commented Dec 27, 2023

Describe the bug
Problems installing the application using Docker.

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

  • Getting the freshrss/freshrss:latest image
  • Setting port 80 to a hostname
  • Setting volumes:
    • /volumen1/docker/freshrss/data:/var/www/FreshRSS/data:rw
    • /volumen1/docker/freshrss/extensions:/var/www/FreshRSS/extensions:rw
  • TZ: Europe/Madrid
  • CRON_MIN: */20

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:

  • Device: Synology DiskStation 7.2.1 Update 3
  • Browser: Edge and Firefox, Windows
  • FreshRSS version: Docker, freshrss/freshrss:latest and freshrss/freshrss:alpine
  • Database version: SQLlite
  • Installation type: Docker

Additional context
Files are being generated on the storage.

image

I tried the following solution: #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:

  • Go to the installed URL
  • Set up a username and password.
  • Set to use SQLlite database.
  • Login into the application.
  • I see the default feed from FreshRSS
    But I got no entries. I got a message that says "There are no articles to show."
    The statistics about the feed shows -1 entries.

image

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

Also tried the following #3100 (comment), 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
Copy link
Member

Alkarex commented Dec 27, 2023

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

Likely the same than:

Options include:

  • Update your Linux kernel
  • Trying some older images. I actually maintain an old Dockerfile for test purposes, which you might be able to use with our newest FreshRSS code:
  freshrss:
    image: freshrss/freshrss:oldest
    build:
      context: https://github.com/FreshRSS/FreshRSS.git#edge
      dockerfile: Docker/Dockerfile-Oldest
    ...

@Alkarex Alkarex added the Docker Everything related to Docker label Dec 27, 2023
@FreshRSS FreshRSS locked and limited conversation to collaborators Dec 27, 2023
@Alkarex Alkarex converted this issue into discussion #5987 Dec 27, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Docker Everything related to Docker
Projects
None yet
Development

No branches or pull requests

2 participants