Compare commits

..

20 Commits

Author SHA1 Message Date
MickLesk
c4adc1c99c fix(flowiseai): ensure setup_nodejs is called before updating FlowiseAI 2026-05-08 21:48:50 +02:00
MickLesk
52b7266db2 fix(flowiseai): update_script: switch npm to pnpm, fix service ExecStart
- Use pnpm add -g instead of npm install -g (apify-client enforces pnpm)
- Call setup_nodejs to ensure pnpm is available in existing containers
- Migrate ExecStart from 'npx flowise start' to 'flowise start' in
  existing installations on update
2026-05-08 21:47:51 +02:00
MickLesk
03aa4228b9 fix(flowiseai): switch from npm to pnpm for installation
apify-client (transitive dependency of Flowise) enforces pnpm via
a preinstall hook: 'npx only-allow pnpm'. This causes npm install -g
to fail with exit code 254 because the only-allow check detects npm
is being used.

Switch to pnpm add -g to satisfy the enforced package manager
requirement. Also replace 'npx flowise start' with 'flowise start'
in the service since the pnpm global binary is directly accessible
in PATH after setup_nodejs.

Fixes #14330
2026-05-08 21:45:08 +02:00
community-scripts-pr-app[bot]
a450266925 Update CHANGELOG.md (#14332)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-08 13:39:55 +00:00
CanbiZ (MickLesk)
02eaf288bf tools.func: add setup_nltk as new function (#14314) 2026-05-08 15:39:20 +02:00
community-scripts-pr-app[bot]
24fbf24c6d Update CHANGELOG.md (#14326)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-08 06:33:32 +00:00
Sergi
001bd8bf93 fix(homepage): fix ERR_PNPM_IGNORED_BUILDS error (#14315) 2026-05-08 08:32:59 +02:00
community-scripts-pr-app[bot]
03bd701926 Update CHANGELOG.md (#14325)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-08 06:29:54 +00:00
community-scripts-pr-app[bot]
61f3e32827 Update CHANGELOG.md (#14324)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-08 06:29:43 +00:00
CanbiZ (MickLesk)
a3844707ad Move threadfin-app to /opt/threadfin
Move the threadfin-app to the correct directory after deployment.
2026-05-08 08:29:33 +02:00
CanbiZ (MickLesk)
91fe10ec4b Move threadfin-app to /opt/threadfin
Move the threadfin-app to the correct directory after deployment.
2026-05-08 08:29:13 +02:00
community-scripts-pr-app[bot]
cd21d98854 Update CHANGELOG.md (#14321)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-07 21:56:30 +00:00
CanbiZ (MickLesk)
cb7d9037fb termix: create /tmp/nginx before nginx -t (#14312) 2026-05-07 23:56:00 +02:00
community-scripts-pr-app[bot]
cd314ddb3f Update CHANGELOG.md (#14319)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-07 20:11:04 +00:00
community-scripts-pr-app[bot]
45b9103657 Update CHANGELOG.md (#14318)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-07 20:10:50 +00:00
community-scripts-pr-app[bot]
8a6655b7d1 Update CHANGELOG.md (#14317)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-07 20:10:33 +00:00
Slaviša Arežina
32a4239f28 start service (#14311) 2026-05-07 22:10:28 +02:00
community-scripts-pr-app[bot]
1fc7368ff9 Update CHANGELOG.md (#14316)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-07 20:10:22 +00:00
CanbiZ (MickLesk)
9d9d763e63 netbird-lxc: fix installation check (#14309) 2026-05-07 22:10:06 +02:00
CanbiZ (MickLesk)
28ae38e502 databasus: Backup and secure configuration file (#14308) 2026-05-07 22:09:45 +02:00
11 changed files with 36 additions and 5 deletions

View File

@@ -458,12 +458,28 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-05-08
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- fix(homepage): fix ERR_PNPM_IGNORED_BUILDS error [@Sergih28](https://github.com/Sergih28) ([#14315](https://github.com/community-scripts/ProxmoxVE/pull/14315))
- #### ✨ New Features
- tools.func: add setup_nltk as new function [@MickLesk](https://github.com/MickLesk) ([#14314](https://github.com/community-scripts/ProxmoxVE/pull/14314))
## 2026-05-07
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- termix: create /tmp/nginx before nginx -t [@MickLesk](https://github.com/MickLesk) ([#14312](https://github.com/community-scripts/ProxmoxVE/pull/14312))
- The Lounge: Fix service not starting automaticaly [@tremor021](https://github.com/tremor021) ([#14311](https://github.com/community-scripts/ProxmoxVE/pull/14311))
- netbird-lxc: fix installation check [@MickLesk](https://github.com/MickLesk) ([#14309](https://github.com/community-scripts/ProxmoxVE/pull/14309))
- databasus: Backup and secure configuration file [@MickLesk](https://github.com/MickLesk) ([#14308](https://github.com/community-scripts/ProxmoxVE/pull/14308))
- vm: update disk image URL for Ubuntu 25.04 [@MickLesk](https://github.com/MickLesk) ([#14290](https://github.com/community-scripts/ProxmoxVE/pull/14290))
- #### ✨ New Features

View File

@@ -35,6 +35,8 @@ function update_script() {
msg_ok "Stopped Databasus"
msg_info "Backing up Configuration"
[[ ! -f /.env && -f /opt/databasus/.env ]] && cp /opt/databasus/.env /.env
chmod 600 /.env
cp /.env /opt/databasus.env.bak
chmod 600 /opt/databasus.env.bak
msg_ok "Backed up Configuration"

View File

@@ -27,9 +27,16 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
NODE_VERSION="20" NODE_MODULE="pnpm" setup_nodejs
msg_info "Updating FlowiseAI (this may take some time)"
systemctl stop flowise
$STD npm install -g flowise --upgrade
$STD pnpm add -g flowise
if grep -q 'ExecStart=npx flowise start' /etc/systemd/system/flowise.service; then
sed -i 's|ExecStart=npx flowise start|ExecStart=flowise start|' /etc/systemd/system/flowise.service
systemctl daemon-reload
fi
systemctl start flowise
msg_ok "Updated FlowiseAI"
msg_ok "Updated successfully!"

View File

@@ -54,6 +54,7 @@ function update_script() {
msg_info "Updating Homepage (Patience)"
RELEASE=$(get_latest_github_release "gethomepage/homepage")
cd /opt/homepage
echo 'onlyBuiltDependencies=*' >> .npmrc
$STD pnpm install
$STD pnpm update --no-save caniuse-lite
export NEXT_PUBLIC_VERSION="v$RELEASE"

View File

@@ -25,7 +25,7 @@ function update_script() {
check_container_storage
check_container_resources
if [[ ! -f /etc/netbird/config.json ]]; then
if [[ ! -d /var/lib/netbird/ ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi

View File

@@ -35,6 +35,7 @@ function update_script() {
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
mv /opt/threadfin/threadfin-app /opt/threadfin/threadfin
msg_info "Starting Service"
systemctl start threadfin

View File

@@ -13,10 +13,10 @@ setting_up_container
network_check
update_os
NODE_VERSION="20" setup_nodejs
NODE_VERSION="20" NODE_MODULE="pnpm" setup_nodejs
msg_info "Installing FlowiseAI (Patience)"
$STD npm install -g flowise \
$STD pnpm add -g flowise \
@opentelemetry/exporter-trace-otlp-grpc \
@opentelemetry/exporter-trace-otlp-proto \
@opentelemetry/sdk-trace-node \
@@ -33,7 +33,7 @@ After=network.target
[Service]
EnvironmentFile=/opt/flowiseai/.env
ExecStart=npx flowise start
ExecStart=flowise start
Restart=always
[Install]

View File

@@ -25,6 +25,7 @@ msg_info "Installing Homepage (Patience)"
mkdir -p /opt/homepage/config
cd /opt/homepage
cp /opt/homepage/src/skeleton/* /opt/homepage/config
echo 'onlyBuiltDependencies=*' >> .npmrc
$STD pnpm install
export NEXT_PUBLIC_VERSION="v$RELEASE"
export NEXT_PUBLIC_REVISION="source"

View File

@@ -100,6 +100,7 @@ sed -i 's|/app/html|/opt/termix/html|g' /etc/nginx/nginx.conf
sed -i 's|/app/nginx|/opt/termix/nginx|g' /etc/nginx/nginx.conf
sed -i 's|listen ${PORT};|listen 80;|g' /etc/nginx/nginx.conf
mkdir -p /tmp/nginx
rm -f /etc/nginx/sites-enabled/default
nginx -t
systemctl reload nginx

View File

@@ -14,6 +14,7 @@ network_check
update_os
fetch_and_deploy_gh_release "thelounge" "thelounge/thelounge-deb" "binary"
systemctl enable -q --now thelounge
motd_ssh
customize

View File

@@ -21,6 +21,7 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
mv /opt/threadfin/threadfin-app /opt/threadfin/threadfin
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/threadfin.service