From cee2c992e17d172a583490fa1fab86aa32ea4fee Mon Sep 17 00:00:00 2001 From: thespad Date: Tue, 23 Jul 2024 14:59:33 +0100 Subject: [PATCH 1/3] Remove ambiguous instructions --- readme-vars.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/readme-vars.yml b/readme-vars.yml index c56dcb6..bc5032b 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -64,7 +64,7 @@ app_setup_block: | Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported. **Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.** - + **MongoDB >4.4 on X86_64 Hardware needs a CPU with AVX support. Some lower end Intel CPU models like Celeron and Pentium (before Tiger-Lake) more Details: [Advanced Vector Extensions - Wikipedia](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX) don't support AVX, but you can still use MongoDB 4.4.** If you are using the [official mongodb container](https://hub.docker.com/_/mongo/) in Version >=6, you can create your user using an `init-mongo.js` file with the following contents: @@ -73,7 +73,7 @@ app_setup_block: | db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME"}]}); db.getSiblingDB("MONGO_DBNAME_stat").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME_stat"}]}); ``` - + If you are using mongodb < 6.0, you can create a `init-mongo.sh` file with the following contents: ```sh #!/bin/bash @@ -93,12 +93,6 @@ app_setup_block: | EOF ``` - If you are using the Mongo v4 (the latest which does not require AVX): - - ```js - db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME"}, {role: "dbOwner", db: "MONGO_DBNAME_stat"}]}); - ``` - Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your *mongodb* container. For example: @@ -122,7 +116,7 @@ app_setup_block: | - /path/to/init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh:ro restart: unless-stopped ``` - + *Note that the init script method will only work on first run. If you start the Mongodb container without an init script it will generate test data automatically and you will have to manually create your databases, or restart with a clean `/data/db` volume and an init script mounted.* From e80cea2573d51d7e1a523a35b70bd79c109f7a0e Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Tue, 23 Jul 2024 14:01:24 +0000 Subject: [PATCH 2/3] Bot Updating Templated Files --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 225e4d6..c4dafe5 100644 --- a/README.md +++ b/README.md @@ -96,12 +96,6 @@ db.createUser({ EOF ``` -If you are using the Mongo v4 (the latest which does not require AVX): - -```js -db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME"}, {role: "dbOwner", db: "MONGO_DBNAME_stat"}]}); -``` - Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your *mongodb* container. For example: From 82d65a552c21b83b05f8f152ee1782abf80f0aa2 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Tue, 6 Aug 2024 17:30:58 +0000 Subject: [PATCH 3/3] Bot Updating Package Versions --- package_versions.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package_versions.txt b/package_versions.txt index c2c4ef6..c62b5ab 100755 --- a/package_versions.txt +++ b/package_versions.txt @@ -143,7 +143,7 @@ jmdns 3.4.1 jna 5.12.1 java-archive joda-time 2.10.4 java-archive jq 1.6-2.1ubuntu3 deb -jrt-fs 17.0.11 java-archive +jrt-fs 17.0.12 java-archive json 20231013 java-archive jsr305 3.0.1 java-archive jsr305 3.0.2 java-archive @@ -204,8 +204,8 @@ libkrb5-3 1.19.2-2ubuntu0.3 libkrb5support0 1.19.2-2ubuntu0.3 deb libksba8 1.6.0-2ubuntu0.2 deb liblcms2-2 2.12~rc1-2build2 deb -libldap-2.5-0 2.5.18+dfsg-0ubuntu0.22.04.1 deb -libldap-common 2.5.18+dfsg-0ubuntu0.22.04.1 deb +libldap-2.5-0 2.5.18+dfsg-0ubuntu0.22.04.2 deb +libldap-common 2.5.18+dfsg-0ubuntu0.22.04.2 deb liblz4-1 1.9.3-2build2 deb liblzma5 5.2.5-2ubuntu1 deb libmd0 1.0.4-1build1 deb @@ -280,7 +280,7 @@ ncurses-base 6.3-2ubuntu0.1 ncurses-bin 6.3-2ubuntu0.1 deb netcat 1.218-4ubuntu1 deb netcat-openbsd 1.218-4ubuntu1 deb -openjdk-17-jre-headless 17.0.11+9-1~22.04.1 deb +openjdk-17-jre-headless 17.0.12+7-1ubuntu2~22.04 deb openssh 1.0 java-archive openssl 3.0.2-0ubuntu1.16 deb org.eclipse.paho.client.mqttv3 1.1.0 java-archive