Skip to content

Synology: Fatal glibc error "cannot get entropy for arc4random" #4339

Description

@update-freak

1. What is not working as documented?

After updating [240420] to the latest docker version [240531] I tried to index a specific folder which I recently added.
Then after it finished I recognised that I can not see these newly added pictures.
In the log I saw that it was skipped due to the problem: Fatal glibc error: cannot get entropy for arc4random.

I think it's related to an to old kernel version of my Synology NAS (Linux NAS 3.10.108 #64570).

2. How can we reproduce it?

Steps to reproduce the behavior:

  1. Be sure to use a system with a kernel version of "Linux NAS 3.10.108 #64570" (or maybe even older)
  2. Install the 240420 version on docker
  3. Click on settings and try to index the pictures of a new added folder
  4. See error "Fatal glibc error: cannot get entropy for arc4random" in the logs

3. What behavior do you expect?

No error

4. What could be the cause of your problem?

I think the root cause is a too old kernel version.
This has also been reported on other software: jlesage/docker-freefilesync#8 (comment), https://github.com/MatthewVance/unbound-docker/issues/147)

5. Can you provide us with example files for testing, error logs, or screenshots?

If needed I can add logs.

6. Which software versions do you use?

(a) PhotoPrism version: 240531
(b) Database Type & Version: ?
(c) Operating System Types & Versions: Linux -> DSM 7.2 from Synology NAS
(d) Browser Types & Versions: Chrome (current version)
(e) Ad Blockers, Browser Plugins, and/or Firewall Software: uBlockOrigin

7. On what kind of device is PhotoPrism installed?

Synology NAS DS716+

8. Do you use a Reverse Proxy, Firewall, VPN, or CDN?

Yes, reverse proxy

9. Docker-compose for installation

docker-compose.txt

Metadata

Metadata

Assignees

Labels

docs 📚Improvements or additions to documentationnasConcerns NAS devices, e.g. Asustor, Synology or QNAPreleasedAvailable in a stable releasethird-partyRelated to a third-party software or integration

Type

Fields

No fields configured for Bug.

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions