fix joplin

This commit is contained in:
CanbiZ (MickLesk)
2026-01-21 14:58:55 +01:00
parent 477199a4c2
commit 2fab70294f
2 changed files with 4 additions and 5 deletions

View File

@@ -45,9 +45,8 @@ function update_script() {
$STD yarn config set --home enableTelemetry 0
export BUILD_SEQUENCIAL=1
$STD yarn workspaces focus @joplin/server
cd packages/server
$STD yarn run build
$STD yarn run tsc
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run build
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run tsc
msg_ok "Updated Joplin-Server"
msg_info "Starting Services"

View File

@@ -37,8 +37,8 @@ sed -i "/onenote-converter/d" packages/lib/package.json
$STD yarn config set --home enableTelemetry 0
export BUILD_SEQUENCIAL=1
$STD yarn workspaces focus @joplin/server
cd /opt/joplin-server/packages/server
$STD yarn rebuild
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run build
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run tsc
cat <<EOF >/opt/joplin-server/.env
PM2_HOME=/opt/pm2
NODE_ENV=production