xibosignage / xibo

Xibo Digital Signage
https://xibosignage.com
GNU Affero General Public License v3.0
566 stars 165 forks source link

Docker: Function not implemented: AH00141: Could not initialize random number generator #3099

Open dasgarner opened 1 year ago

dasgarner commented 1 year ago

OP: https://community.xibo.org.uk/t/function-not-implemented-ah00141-could-not-initialize-random-number-generator/29950

According to various sources, this is due to an lower kernel-version. Unfortunately, we use Docker on a Synology NAS, wherefore updating the kernel is not possible.

Could there be a image/version which is suitable for kernel-versions of 3.10?

alexharrington commented 1 year ago

Kernel 3.10 went out of security support in 2017, so really Synology need to provide a firmware update if the device is still something they support.

The bullseye image comes with an older version of Apache, which is why it then works. I think we could provide a Dockerfile for people on Synology to use perhaps, but I don't think it's sensible to roll back the main release images to an earlier version of Apache.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978045

dasgarner commented 1 year ago

Building a separate image for Synology with each release isn't viable, as it takes an age to release already. The instructions for Synology would have to be a set of commands to download the code, build an image, run the image?

alexharrington commented 1 year ago

I note our image is already based on bullseye not bookworm, so I'm not sure what we'd be changing here as that's the proposed fix from the OP's thread. (Note the production image should probably be based on bookworm now not bullseye). Going to buster which is the release prior might work but it's way too old for our main release to be using really.

As you say we could provide a separate Dockerfile that they can build locally and run from that image potentially.

dasgarner commented 1 year ago

The proposed fix from the OPs thread was to change everything that isn't buster to buster, which as you say is far too old for our main release.

alexharrington commented 1 year ago

Agreed, but in the issue they link it says that bullseye also works - just not bookworm.

dasgarner commented 1 year ago

As far as I am able to tell the issue with NextCloud was solved by reverting to buster.

Regardless, the solution seems to be the same - provide a Dockerfile and instructions for building it.

vinnco commented 9 months ago

Any more information about this?