mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
fix monogdb-js/saslprep actually needs installing #7265
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -154,7 +154,7 @@ RUN case "$INCLUDE_MONGODB_TOOLS" in \
|
|||||||
apk add --no-cache mongodb-tools && \
|
apk add --no-cache mongodb-tools && \
|
||||||
cd meshcentral && \
|
cd meshcentral && \
|
||||||
echo -e "----------\nPREINSTALLING MONGODB LIBRARIES...\n----------"; \
|
echo -e "----------\nPREINSTALLING MONGODB LIBRARIES...\n----------"; \
|
||||||
npm install mongodb@4.17.2;; \
|
npm install mongodb@4.17.2 @mongodb-js/saslprep@1.3.1;; \
|
||||||
false|no|FALSE|NO) \
|
false|no|FALSE|NO) \
|
||||||
echo "Not including MongoDB Tools.";; \
|
echo "Not including MongoDB Tools.";; \
|
||||||
*) \
|
*) \
|
||||||
|
|||||||
@@ -4337,7 +4337,7 @@ function mainStart() {
|
|||||||
if (config.settings.mqtt != null) { modules.push('aedes@0.39.0'); } // Add MQTT Modules
|
if (config.settings.mqtt != null) { modules.push('aedes@0.39.0'); } // Add MQTT Modules
|
||||||
if (config.settings.mysql != null) { modules.push('mysql2@3.11.4'); } // Add MySQL.
|
if (config.settings.mysql != null) { modules.push('mysql2@3.11.4'); } // Add MySQL.
|
||||||
//if (config.settings.mysql != null) { modules.push('@mysql/xdevapi@8.0.33'); } // Add MySQL, official driver (https://dev.mysql.com/doc/dev/connector-nodejs/8.0/)
|
//if (config.settings.mysql != null) { modules.push('@mysql/xdevapi@8.0.33'); } // Add MySQL, official driver (https://dev.mysql.com/doc/dev/connector-nodejs/8.0/)
|
||||||
if (config.settings.mongodb != null) { modules.push('mongodb@4.17.2'); } // Add MongoDB, official driver. 4.17.0 and above now includes saslprep by default https://github.com/mongodb/node-mongodb-native/releases/tag/v4.17.0
|
if (config.settings.mongodb != null) { modules.push('mongodb@4.17.2'); modules.push('@mongodb-js/saslprep@1.3.1')} // Add MongoDB, official driver.
|
||||||
if (config.settings.postgres != null) { modules.push('pg@8.14.1') } // Add Postgres, official driver.
|
if (config.settings.postgres != null) { modules.push('pg@8.14.1') } // Add Postgres, official driver.
|
||||||
if (config.settings.mariadb != null) { modules.push('mariadb@3.4.0'); } // Add MariaDB, official driver.
|
if (config.settings.mariadb != null) { modules.push('mariadb@3.4.0'); } // Add MariaDB, official driver.
|
||||||
if (config.settings.acebase != null) { modules.push('acebase@1.29.5'); } // Add AceBase, official driver.
|
if (config.settings.acebase != null) { modules.push('acebase@1.29.5'); } // Add AceBase, official driver.
|
||||||
|
|||||||
Reference in New Issue
Block a user