linuxserver / docker-unifi-network-application

GNU General Public License v3.0
723 stars 54 forks source link

Account for older MongoDB Versions #86

Closed Tschuuuls closed 6 months ago

Tschuuuls commented 6 months ago

linuxserver.io



Description:

Some CPUs used in Thinclients like the Intel® Celeron® J4105 don't support AVX Instructions at all. This makes them unable to run MongoDB >4.4.X. But older MongoDB Versions don't seem to support "init-mongodb.js" files for configuring Mongodb. They need a shellscript. I added the one I created and used, probably not perfect, but it works 😄.

Benefits of this PR and context:

Fixes Issue #83 for my setup. A "init-mongodb.js" will be ignored and DB Connections are not possible.

How Has This Been Tested?

This exact script ran fine on my Thinclient 🤷

LinuxServer-CI commented 6 months ago

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-unifi-network-application:8.1.127-pkg-3128aa4a-dev-85254746b9ff9b39d346eb3208cce257a582f7b6-pr-86

LinuxServer-CI commented 6 months ago

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-unifi-network-application:8.1.127-pkg-45c5b9a8-dev-7cdd851d1b9dfe8f9575c2f4c27a89b478f59edb-pr-86

thespad commented 6 months ago

mongodb < 6.0 and below and >= 6.0 and up are redundant. < means "less than" and >= means "equal to or greater than"

So please remove one or the other, and then I'm happy to merge this.

Tschuuuls commented 6 months ago

Hope this clears things up.

LinuxServer-CI commented 6 months ago

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-unifi-network-application:8.1.127-pkg-45c5b9a8-dev-e3fcc0830c84ec000c6baa575e1545f74e570098-pr-86