update scripts and reqs
This commit is contained in:
parent
5b288b6fa1
commit
9421ae25f7
|
@ -27,7 +27,7 @@ hiredis==2.0.0
|
||||||
requests==2.27.1
|
requests==2.27.1
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
sqlparse==0.4.2
|
sqlparse==0.4.2
|
||||||
twilio==7.8.1
|
twilio==7.8.2
|
||||||
urllib3==1.26.9
|
urllib3==1.26.9
|
||||||
uWSGI==2.0.20
|
uWSGI==2.0.20
|
||||||
validators==0.18.2
|
validators==0.18.2
|
||||||
|
|
|
@ -17,11 +17,11 @@ LINUX_AGENT_SCRIPT = BASE_DIR / "core" / "agent_linux.sh"
|
||||||
AUTH_USER_MODEL = "accounts.User"
|
AUTH_USER_MODEL = "accounts.User"
|
||||||
|
|
||||||
# latest release
|
# latest release
|
||||||
TRMM_VERSION = "0.12.5-dev"
|
TRMM_VERSION = "0.13.0-dev"
|
||||||
|
|
||||||
# bump this version everytime vue code is changed
|
# bump this version everytime vue code is changed
|
||||||
# to alert user they need to manually refresh their browser
|
# to alert user they need to manually refresh their browser
|
||||||
APP_VER = "0.0.160"
|
APP_VER = "0.0.161"
|
||||||
|
|
||||||
# https://github.com/amidaware/rmmagent
|
# https://github.com/amidaware/rmmagent
|
||||||
LATEST_AGENT_VER = "2.0.2"
|
LATEST_AGENT_VER = "2.0.2"
|
||||||
|
@ -31,8 +31,8 @@ MESH_VER = "1.0.2"
|
||||||
NATS_SERVER_VER = "2.7.4"
|
NATS_SERVER_VER = "2.7.4"
|
||||||
|
|
||||||
# for the update script, bump when need to recreate venv or npm install
|
# for the update script, bump when need to recreate venv or npm install
|
||||||
PIP_VER = "28"
|
PIP_VER = "29"
|
||||||
NPM_VER = "31"
|
NPM_VER = "32"
|
||||||
|
|
||||||
SETUPTOOLS_VER = "59.6.0"
|
SETUPTOOLS_VER = "59.6.0"
|
||||||
WHEEL_VER = "0.37.1"
|
WHEEL_VER = "0.37.1"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_VERSION="18"
|
SCRIPT_VERSION="19"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/backup.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/backup.sh'
|
||||||
|
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_VERSION="61"
|
SCRIPT_VERSION="62"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/install.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/install.sh'
|
||||||
|
|
||||||
sudo apt install -y curl wget dirmngr gnupg lsb-release
|
sudo apt install -y curl wget dirmngr gnupg lsb-release
|
||||||
|
@ -211,10 +211,6 @@ sudo rm -rf Python-${PYTHON_VER} Python-${PYTHON_VER}.tgz
|
||||||
print_green 'Installing redis and git'
|
print_green 'Installing redis and git'
|
||||||
sudo apt install -y ca-certificates redis git
|
sudo apt install -y ca-certificates redis git
|
||||||
|
|
||||||
# apply redis configuration
|
|
||||||
sudo redis-cli config set appendonly no
|
|
||||||
sudo redis-cli config rewrite
|
|
||||||
|
|
||||||
print_green 'Installing postgresql'
|
print_green 'Installing postgresql'
|
||||||
|
|
||||||
echo "$postgresql_repo" | sudo tee /etc/apt/sources.list.d/pgdg.list
|
echo "$postgresql_repo" | sudo tee /etc/apt/sources.list.d/pgdg.list
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_VERSION="35"
|
SCRIPT_VERSION="36"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/restore.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/restore.sh'
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_VERSION="133"
|
SCRIPT_VERSION="134"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/update.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/update.sh'
|
||||||
LATEST_SETTINGS_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py'
|
LATEST_SETTINGS_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py'
|
||||||
YELLOW='\033[1;33m'
|
YELLOW='\033[1;33m'
|
||||||
|
@ -303,6 +303,11 @@ python manage.py create_natsapi_conf
|
||||||
python manage.py post_update_tasks
|
python manage.py post_update_tasks
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
|
printf >&2 "${GREEN}Turning off redis aof${NC}\n"
|
||||||
|
sudo redis-cli config set appendonly no
|
||||||
|
sudo redis-cli config rewrite
|
||||||
|
sudo rm -f /var/lib/redis/appendonly.aof
|
||||||
|
|
||||||
rm -rf /rmm/web/dist
|
rm -rf /rmm/web/dist
|
||||||
rm -rf /rmm/web/.quasar
|
rm -rf /rmm/web/.quasar
|
||||||
cd /rmm/web
|
cd /rmm/web
|
||||||
|
|
Loading…
Reference in New Issue