pin mesh version until this is fixed Ylianst/MeshCentral#1792

This commit is contained in:
wh1te909 2020-09-10 02:42:15 +00:00
parent 552e234fa1
commit c233fff0d8
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ ARG EMAIL_USER
ARG MONGODB_USER
ARG MONGODB_PASSWORD
RUN apt-get update && apt-get install -y gettext-base
RUN npm install meshcentral
RUN npm install meshcentral@0.6.27
COPY config.json ./meshcentral-data/config.json.tmp
RUN envsubst '\$MESH_HOST, \$MONGODB_USER, \$MONGODB_PASSWORD' < /home/node/app/meshcentral-data/config.json.tmp > /home/node/app/meshcentral-data/config.json && \
rm /home/node/app/meshcentral-data/config.json.tmp

View File

@ -169,7 +169,7 @@ print_green 'Installing MeshCentral'
sudo mkdir -p /meshcentral/meshcentral-data
sudo chown ${USER}:${USER} -R /meshcentral
cd /meshcentral
npm install meshcentral
npm install meshcentral@0.6.27
sudo chown ${USER}:${USER} -R /meshcentral
meshcfg="$(cat << EOF

View File

@ -128,7 +128,7 @@ sudo systemctl stop meshcentral
sudo chown ${USER}:${USER} -R /meshcentral
cd /meshcentral
rm -rf node_modules/
npm install meshcentral@latest
npm install meshcentral@0.6.27
sudo systemctl start meshcentral
sleep 10