Skip to content

Commit 7670c74

Browse files
authored
Various fixes, bump to Debian 13 (#8158)
1 parent ecef9a3 commit 7670c74

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

ct/docmost.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-3}"
1111
var_ram="${var_ram:-4096}"
1212
var_disk="${var_disk:-8}"
1313
var_os="${var_os:-debian}"
14-
var_version="${var_version:-12}"
14+
var_version="${var_version:-13}"
1515

1616
header_info "$APP"
1717
variables

frontend/public/json/docmost.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"ram": 4096,
2424
"hdd": 8,
2525
"os": "debian",
26-
"version": "12"
26+
"version": "13"
2727
}
2828
}
2929
],

install/docmost-install.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ network_check
1414
update_os
1515

1616
msg_info "Installing Dependencies"
17-
$STD apt-get install -y \
17+
$STD apt install -y \
1818
redis \
1919
jq \
2020
make
@@ -48,6 +48,8 @@ mkdir data
4848
sed -i -e "s|APP_SECRET=.*|APP_SECRET=$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-32)|" \
4949
-e "s|DATABASE_URL=.*|DATABASE_URL=postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME|" \
5050
-e "s|FILE_UPLOAD_SIZE_LIMIT=.*|FILE_UPLOAD_SIZE_LIMIT=50mb|" \
51+
-e "s|DRAWIO_URL=.*|DRAWIO_URL=https://embed.diagrams.net|" \
52+
-e "s|DISABLE_TELEMETRY=.*|DISABLE_TELEMETRY=true|" \
5153
/opt/docmost/.env
5254
export NODE_OPTIONS="--max-old-space-size=2048"
5355
$STD pnpm install
@@ -76,6 +78,7 @@ motd_ssh
7678
customize
7779

7880
msg_info "Cleaning up"
79-
$STD apt-get -y autoremove
80-
$STD apt-get -y autoclean
81+
$STD apt -y autoremove
82+
$STD apt -y autoclean
83+
$STD apt -y clean
8184
msg_ok "Cleaned"

0 commit comments

Comments
 (0)