File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ function update_script() {
5252 curl -fsSL " https://github.com/karakeep-app/karakeep/archive/refs/tags/v${RELEASE} .zip" -o " v${RELEASE} .zip"
5353 $STD unzip " v${RELEASE} .zip"
5454 mv karakeep-" ${RELEASE} " /opt/karakeep
55+ export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=" true"
56+ export NEXT_TELEMETRY_DISABLED=1
57+ export CI=" true"
5558 cd /opt/karakeep/apps/web
5659 $STD pnpm install --frozen-lockfile
5760 $STD pnpm build
@@ -60,12 +63,10 @@ function update_script() {
6063 cd /opt/karakeep/apps/cli
6164 $STD pnpm install --frozen-lockfile
6265 $STD pnpm build
63- cd /opt/karakeep/apps/mcp
64- $STD pnpm install --frozen-lockfile
65- $STD pnpm build
6666 export DATA_DIR=/opt/karakeep_data
6767 cd /opt/karakeep/packages/db
6868 $STD pnpm migrate
69+ $STD pnpm store prune
6970 sed -i " s/SERVER_VERSION=${PREV_RELEASE} /SERVER_VERSION=${RELEASE} /" /etc/karakeep/karakeep.env
7071 msg_ok " Updated ${APP} to v${RELEASE} "
7172
Original file line number Diff line number Diff line change @@ -48,8 +48,10 @@ sed -i \
4848 /etc/meilisearch.toml
4949msg_ok " Installed Meilisearch"
5050
51- NODE_VERSION=" 22" NODE_MODULE=" yarn@latest" setup_nodejs
52- $STD npm install -g
[email protected] 51+ NODE_VERSION=" 22" \
52+ NODE_MODULE=" pnpm@$( curl -s https://raw.githubusercontent.com/karakeep-app/karakeep/main/package.json | jq -r ' .packageManager | split("@")[1]' ) " \
53+ setup_nodejs
54+ # $STD npm install -g [email protected] 5355
5456msg_info " Installing karakeep"
5557cd /opt
@@ -58,8 +60,8 @@ curl -fsSL "https://github.com/karakeep-app/karakeep/archive/refs/tags/v${RELEAS
5860$STD unzip " v${RELEASE} .zip"
5961mv karakeep-" ${RELEASE} " /opt/karakeep
6062cd /opt/karakeep
61- corepack enable
62- export PUPPETEER_SKIP_DOWNLOAD =" true"
63+ # corepack enable
64+ export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD =" true"
6365export NEXT_TELEMETRY_DISABLED=1
6466export CI=" true"
6567cd /opt/karakeep/apps/web
@@ -70,9 +72,7 @@ $STD pnpm install --frozen-lockfile
7072cd /opt/karakeep/apps/cli
7173$STD pnpm install --frozen-lockfile
7274$STD pnpm build
73- cd /opt/karakeep/apps/mcp
74- $STD pnpm install --frozen-lockfile
75- $STD pnpm build
75+ $STD pnpm store prune
7676
7777export DATA_DIR=/opt/karakeep_data
7878karakeep_SECRET=$( openssl rand -base64 36 | cut -c1-24)
You can’t perform that action at this time.
0 commit comments