"Could not initialize random number generator" and/or "There are no articles to show." #5987
-
Describe the bug To Reproduce
Try to go to the application, but no response.
The Docker is not running, because it crashes after the previous error. Expected behavior Environment information:
Additional context I tried the following solution: #4162. Using
The file Also tried the following #3100 (comment), and I get the response from sudo docker exec freshrss php -r "readfile('https://jointheteem.com/feed/');" |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Hello, Likely the same problem than:
Options include:
freshrss:
image: freshrss/freshrss:oldest
build:
context: https://github.com/FreshRSS/FreshRSS.git#edge
dockerfile: Docker/Dockerfile-Oldest
... |
Beta Was this translation helpful? Give feedback.
-
Thank you @Alkarex for your support and reply. I am using the following version: "2.4"
volumes:
data:
extensions:
services:
freshrss:
image: freshrss/freshrss:oldest
# Optional build section if you want to build the image locally:
build:
# Pick #latest (stable release) or #edge (rolling release) or a specific release like #1.21.0
context: https://github.com/FreshRSS/FreshRSS.git#edge
dockerfile: Docker/Dockerfile-Oldest
container_name: freshrss
hostname: freshrss
restart: unless-stopped
logging:
options:
max-size: 10m
volumes:
- /volume1/docker/freshrss/data:/var/www/FreshRSS/data:rw
- /volume1/docker/freshrss/extensions:/var/www/FreshRSS/extensions:rw
ports:
- 8080:80
environment:
TZ: Europe/Madrid
CRON_MIN: '*/20' What I need to include is the I also removed the following: TRUSTED_PROXY: 172.16.0.1/12 192.168.0.1/16 The about: |
Beta Was this translation helpful? Give feedback.
-
I'm getting this on synology as well. I think its possibly related to the fact that there are no subscriptions in my current install (and the screenshot above by @juanbretti shows that they do not have any either. is the RNG somehow based on the number of subs/articles and crashing due to a divide by zero? |
Beta Was this translation helpful? Give feedback.
-
Should this method work to get version version: "2.4"
volumes:
data:
extensions:
services:
freshrss:
image: freshrss/freshrss:oldest
# Optional build section if you want to build the image locally:
build:
# Pick #latest (stable release) or #edge (rolling release) or a specific release like #1.21.0
context: https://github.com/FreshRSS/FreshRSS.git#edge
dockerfile: Docker/Dockerfile-Oldest
container_name: freshrss
hostname: freshrss
restart: unless-stopped
logging:
options:
max-size: 10m
volumes:
- /volume1/docker/freshrss/data:/var/www/FreshRSS/data:rw
- /volume1/docker/freshrss/extensions:/var/www/FreshRSS/extensions:rw
ports:
- 8080:80
environment:
CRON_MIN: '*/20'
# https://github.com/printfuck/xExtension-Readable
merc:
image: wangqiru/mercury-parser-api
restart: unless-stopped I am asking because I cannot get to upgrade from |
Beta Was this translation helpful? Give feedback.
-
I also run an old Synology and can't use the official docker containers for this "random number generator" reason. As an alternative to the official FreshRSS docker image, I use this one: https://hub.docker.com/r/linuxserver/freshrss which does not have the issue with the random number generator. So I think this shows that it should be able to be worked around in the packaging/build process.
I did attempt to try |
Beta Was this translation helpful? Give feedback.
Hello,
Which Docker version do you run, and which Linux kernel?
Likely the same problem than:
Options include: