Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk eee2156161 FlowiseAI: align install to use pnpm instead of npm to fix missing dependencies 2026-07-01 21:54:45 +02:00
3 changed files with 3 additions and 17 deletions
-5
View File
@@ -38,11 +38,6 @@ function update_script() {
PYTHON_VERSION="3.12" setup_uv
JAVA_VERSION="25" setup_java
msg_info "Patching Native Libraries for LXC Compatibility"
ensure_dependencies patchelf
find /usr/lib -name "libicudata.so.*" -exec patchelf --clear-execstack {} \; || true
msg_ok "Patched Native Libraries"
msg_info "Stopping Services"
systemctl stop stirlingpdf libreoffice-listener unoserver
msg_ok "Stopped Services"
+2 -6
View File
@@ -20,16 +20,12 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
PYTHON_VERSION="3.11" setup_uv
NODE_VERSION="22" setup_nodejs #needed because better-sql break
NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs
msg_info "Installing FlowiseAI (Patience)"
PYTHON_BIN="$(uv python find 3.11)"
export npm_config_python="$PYTHON_BIN"
$STD npm install -g flowise \
@opentelemetry/exporter-trace-otlp-grpc \
@opentelemetry/exporter-trace-otlp-proto \
@opentelemetry/sdk-trace-node \
langchainhub
$STD pnpm add -g flowise
mkdir -p /opt/flowiseai
curl -fsSL "https://raw.githubusercontent.com/FlowiseAI/Flowise/main/packages/server/.env.example" -o "/opt/flowiseai/.env"
msg_ok "Installed FlowiseAI"
+1 -6
View File
@@ -27,8 +27,7 @@ $STD apt install -y \
fonts-urw-base35 \
qpdf \
poppler-utils \
jbig2 \
patchelf
jbig2
msg_ok "Installed Dependencies"
PYTHON_VERSION="3.12" setup_uv
@@ -116,10 +115,6 @@ EOF
fi
msg_ok "Created Environment Variables"
msg_info "Patching Native Libraries for LXC Compatibility"
find /usr/lib -name "libicudata.so.*" -exec patchelf --clear-execstack {} \; || true
msg_ok "Patched Native Libraries"
msg_info "Refreshing Font Cache"
$STD fc-cache -fv
msg_ok "Font Cache Updated"