From 0308c60e3534ad5f773b42e6380cbf0e0084b91a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 24 Nov 2026 09:18:52 +0000 Subject: [PATCH] Delete activepieces (ct) after migration to ProxmoxVE --- ct/activepieces.sh | 72 -------------------- install/activepieces-install.sh | 114 -------------------------------- json/activepieces.json | 54 --------------- 3 files changed, 240 deletions(-) delete mode 100644 ct/activepieces.sh delete mode 100644 install/activepieces-install.sh delete mode 100644 json/activepieces.json diff --git a/ct/activepieces.sh b/ct/activepieces.sh deleted file mode 100644 index d8eb60f81a..0000000000 --- a/ct/activepieces.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/usr/bin/env bash -_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/main" -_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" -source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/activepieces/activepieces - -APP="Activepieces" -var_tags="${var_tags:-automation;workflow;ai}" -var_cpu="${var_cpu:-4}" -var_ram="${var_ram:-6144}" -var_disk="${var_disk:-12}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-yes}" -var_unprivileged="${var_unprivileged:-1}" -var_testurl="${var_testurl:-https://github.com/community-scripts/DevScripts/issues/2402}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -d /opt/activepieces ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "activepieces" "activepieces/activepieces"; then - msg_info "Stopping Activepieces" - systemctl stop activepieces activepieces-worker - msg_ok "Stopped Activepieces" - - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "activepieces" "activepieces/activepieces" "tarball" - NODE_VERSION="24" NODE_MODULE="$(jq -r '.packageManager' /opt/activepieces/package.json)" setup_nodejs - fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "v$(jq -r '.devDependencies.deno' /opt/activepieces/packages/server/engine/package.json)" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip" - - msg_info "Building Activepieces" - cd /opt/activepieces - REDISMS_DISABLE_POSTINSTALL=1 $STD bun install --frozen-lockfile - $STD npx turbo run build --filter=web --filter=@activepieces/engine --filter=api --filter=worker - find dist/packages/web -name '*.map' -delete - rm -rf node_modules bun.lock packages/pieces/core packages/pieces/custom packages/web packages/cli packages/tests-e2e packages/ee - find packages/pieces/community -mindepth 1 -maxdepth 1 -type d ! -name slack ! -name square ! -name facebook-leads ! -name intercom ! -name microsoft-teams-bot -exec rm -rf {} + - node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));p.workspaces=p.workspaces.filter(w=>fs.existsSync(w.replace('/*','')));fs.writeFileSync('package.json',JSON.stringify(p,null,2))" - REDISMS_DISABLE_POSTINSTALL=1 $STD bun install --production - rm -rf ~/.bun/install/cache - msg_ok "Built Activepieces" - - msg_info "Starting Activepieces" - systemctl start activepieces activepieces-worker - msg_ok "Started Activepieces" - msg_ok "Updated successfully!" - fi - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW}Access it using the following URL:${CL}" -echo -e "${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/install/activepieces-install.sh b/install/activepieces-install.sh deleted file mode 100644 index dde9fae850..0000000000 --- a/install/activepieces-install.sh +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/activepieces/activepieces - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt install -y \ - build-essential \ - python3 \ - poppler-utils \ - redis-server -msg_ok "Installed Dependencies" - -PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql -PG_DB_NAME="activepieces" PG_DB_USER="activepieces" PG_DB_EXTENSIONS="vector" setup_postgresql_db - -fetch_and_deploy_gh_release "activepieces" "activepieces/activepieces" "tarball" -NODE_VERSION="24" NODE_MODULE="$(jq -r '.packageManager' /opt/activepieces/package.json)" setup_nodejs -fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "v$(jq -r '.devDependencies.deno' /opt/activepieces/packages/server/engine/package.json)" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip" - -msg_info "Building Activepieces" -cd /opt/activepieces -REDISMS_DISABLE_POSTINSTALL=1 $STD bun install --frozen-lockfile -$STD npx turbo run build --filter=web --filter=@activepieces/engine --filter=api --filter=worker -find dist/packages/web -name '*.map' -delete -rm -rf node_modules bun.lock packages/pieces/core packages/pieces/custom packages/web packages/cli packages/tests-e2e packages/ee -find packages/pieces/community -mindepth 1 -maxdepth 1 -type d ! -name slack ! -name square ! -name facebook-leads ! -name intercom ! -name microsoft-teams-bot -exec rm -rf {} + -node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));p.workspaces=p.workspaces.filter(w=>fs.existsSync(w.replace('/*','')));fs.writeFileSync('package.json',JSON.stringify(p,null,2))" -REDISMS_DISABLE_POSTINSTALL=1 $STD bun install --production -rm -rf ~/.bun/install/cache -msg_ok "Built Activepieces" - -msg_info "Configuring Activepieces" -mkdir -p /opt/activepieces_data/cache -JWT_SECRET=$(openssl rand -hex 32) -cat </opt/activepieces_data/.env -NODE_ENV=production -AP_ENVIRONMENT=prod -AP_PORT=80 -AP_FRONTEND_URL=http://${LOCAL_IP} -AP_API_KEY=$(openssl rand -hex 64) -AP_ENCRYPTION_KEY=$(openssl rand -hex 16) -AP_JWT_SECRET=${JWT_SECRET} -AP_WORKER_TOKEN=$(node -e "process.stdout.write(require('jsonwebtoken').sign({ id: require('crypto').randomUUID(), type: 'WORKER' }, process.argv[1], { expiresIn: '100y', keyid: '1', algorithm: 'HS256', issuer: 'activepieces' }))" "${JWT_SECRET}") -AP_POSTGRES_HOST=localhost -AP_POSTGRES_PORT=5432 -AP_POSTGRES_DATABASE=activepieces -AP_POSTGRES_USERNAME=activepieces -AP_POSTGRES_PASSWORD=${PG_DB_PASS} -AP_REDIS_HOST=localhost -AP_REDIS_PORT=6379 -AP_EXECUTION_MODE=UNSANDBOXED -AP_DENO_PATH=/usr/local/bin/deno -AP_CACHE_BASE_PATH=/opt/activepieces_data/cache -AP_CONFIG_PATH=/opt/activepieces_data -AP_TELEMETRY_ENABLED=false -EOF -chmod 600 /opt/activepieces_data/.env -msg_ok "Configured Activepieces" - -msg_info "Creating Services" -cat </etc/systemd/system/activepieces.service -[Unit] -Description=Activepieces -After=network.target postgresql.service redis-server.service -Wants=activepieces-worker.service - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/activepieces -EnvironmentFile=/opt/activepieces_data/.env -Environment=AP_CONTAINER_TYPE=APP -ExecStart=/usr/bin/node --enable-source-maps packages/server/api/dist/src/bootstrap.js -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -cat </etc/systemd/system/activepieces-worker.service -[Unit] -Description=Activepieces Worker -After=activepieces.service -PartOf=activepieces.service - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/activepieces -EnvironmentFile=/opt/activepieces_data/.env -ExecStart=/usr/bin/node --enable-source-maps packages/server/worker/dist/src/bootstrap.js -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now activepieces activepieces-worker -msg_ok "Created Services" - -motd_ssh -customize -cleanup_lxc diff --git a/json/activepieces.json b/json/activepieces.json deleted file mode 100644 index d025318197..0000000000 --- a/json/activepieces.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "Activepieces", - "slug": "activepieces", - "categories": [ - 19 - ], - "date_created": "2026-10-07", - "type": "ct", - "platforms": ["pve"], - "updateable": true, - "privileged": false, - "interface_port": 80, - "documentation": "https://www.activepieces.com/docs/install/overview", - "website": "https://www.activepieces.com/", - "repository": "https://github.com/activepieces/activepieces", - "architectures": [ - "amd64", - "arm64" - ], - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/activepieces.webp", - "description": "Activepieces is an open-source workflow automation platform and Zapier alternative. Flows are built visually from hundreds of integrations, branches, loops, approvals and TypeScript code steps, run on schedules, webhooks or app events, and every integration is also available as an MCP tool.", - "install_methods": [ - { - "type": "default", - "script": "ct/activepieces.sh", - "config_path": "/opt/activepieces_data/.env", - "resources": { - "cpu": 4, - "ram": 6144, - "hdd": 12, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "There is no default account: the first sign-up becomes the platform admin and closes sign-up. Anyone who reaches the port can claim it, so create it right after the install.", - "type": "warning" - }, - { - "text": "Code steps are not sandboxed, so anyone who can edit flows can run code in the container. Only give flow access to people you trust.", - "type": "warning" - }, - { - "text": "Webhook and OAuth2 URLs come from AP_FRONTEND_URL in /opt/activepieces_data/.env. Behind a reverse proxy or domain, change it and run systemctl restart activepieces.", - "type": "info" - } - ] -}