mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-30 20:19:48 +01:00
Compare commits
9
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2807f7fa89 | ||
|
|
efda411789 | ||
|
|
cbe76cfc80 | ||
|
|
9495a57ddc | ||
|
|
3cc7e2554c | ||
|
|
868e7d2319 | ||
|
|
f4a79945ab | ||
|
|
be9aa0c75f | ||
|
|
1b652c3d8c |
No files matched your search
@@ -590,6 +590,17 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-11-30
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Authelia: drop the base_settings call before variables [@MickLesk](https://github.com/MickLesk) ([#19180](https://github.com/community-scripts/ProxmoxVE/pull/19180))
|
||||
- koillection: bump PHP from 8.5 to 8.6 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19200](https://github.com/community-scripts/ProxmoxVE/pull/19200))
|
||||
- nocobase: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19194](https://github.com/community-scripts/ProxmoxVE/pull/19194))
|
||||
- formbricks: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19193](https://github.com/community-scripts/ProxmoxVE/pull/19193))
|
||||
|
||||
## 2026-11-29
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
@@ -17,8 +17,6 @@ var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
base_settings
|
||||
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ function update_script() {
|
||||
msg_ok "Stopped Formbricks"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "formbricks" "formbricks/formbricks" "tarball"
|
||||
NODE_VERSION="24" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/formbricks/package.json)" setup_nodejs
|
||||
NODE_VERSION="26" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/formbricks/package.json)" setup_nodejs
|
||||
|
||||
msg_info "Building Formbricks (Patience)"
|
||||
cd /opt/formbricks
|
||||
|
||||
@@ -31,12 +31,41 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
if [[ ! -f /etc/systemd/system/kan-api.service ]]; then
|
||||
msg_info "Creating API Service"
|
||||
cat <<EOF >/etc/systemd/system/kan-api.service
|
||||
[Unit]
|
||||
Description=Kan API
|
||||
After=network.target postgresql.service
|
||||
Requires=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/kan/apps/api/dist
|
||||
EnvironmentFile=/opt/kan/.env
|
||||
ExecStart=/usr/bin/node main.mjs
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
if [[ -f /opt/kan/apps/api/build.mjs ]]; then
|
||||
cd /opt/kan/apps/api
|
||||
$STD node build.mjs
|
||||
systemctl enable -q --now kan-api
|
||||
fi
|
||||
msg_ok "Created API Service"
|
||||
fi
|
||||
|
||||
if check_for_gh_tag "kan" "kanbn/kan"; then
|
||||
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
|
||||
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop kan
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Stopping Services"
|
||||
systemctl stop kan kan-api
|
||||
msg_ok "Stopped Services"
|
||||
|
||||
create_backup /opt/kan/.env
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "kan" "kanbn/kan" "latest"
|
||||
@@ -50,6 +79,8 @@ function update_script() {
|
||||
export CI=true
|
||||
find /opt/kan/packages /opt/kan/apps -name 'tsconfig.json' -exec sed -i 's|"@kan/tsconfig/|"../../tooling/typescript/|g' {} +
|
||||
$STD pnpm build --filter=@kan/web
|
||||
cd /opt/kan/apps/api
|
||||
$STD node build.mjs
|
||||
unset NEXT_PUBLIC_USE_STANDALONE_OUTPUT CI
|
||||
msg_ok "Built Application"
|
||||
|
||||
@@ -64,9 +95,10 @@ function update_script() {
|
||||
$STD pnpm exec drizzle-kit migrate
|
||||
msg_ok "Ran Database Migrations"
|
||||
|
||||
msg_info "Starting Service"
|
||||
msg_info "Starting Services"
|
||||
systemctl enable -q --now kan-api
|
||||
systemctl start kan
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Started Services"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ function update_script() {
|
||||
systemctl stop apache2
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
PHP_VERSION="8.5" PHP_APACHE="YES" setup_php
|
||||
PHP_VERSION="8.6" PHP_APACHE="YES" setup_php
|
||||
setup_composer
|
||||
|
||||
msg_info "Creating a backup"
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
|
||||
NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs
|
||||
|
||||
msg_info "Stopping NocoBase"
|
||||
systemctl stop nocobase
|
||||
|
||||
@@ -26,7 +26,7 @@ PG_DB_NAME="spicedb" PG_DB_USER="spicedb" setup_postgresql_db
|
||||
|
||||
fetch_and_deploy_gh_release "spicedb" "authzed/spicedb" "binary"
|
||||
fetch_and_deploy_gh_release "formbricks" "formbricks/formbricks" "tarball"
|
||||
NODE_VERSION="24" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/formbricks/package.json)" setup_nodejs
|
||||
NODE_VERSION="26" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/formbricks/package.json)" setup_nodejs
|
||||
|
||||
msg_info "Building Formbricks (Patience)"
|
||||
cd /opt/formbricks
|
||||
|
||||
+28
-5
@@ -34,9 +34,11 @@ BETTER_AUTH_TRUSTED_ORIGINS=http://${LOCAL_IP}:3000
|
||||
POSTGRES_URL=postgres://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}
|
||||
NEXT_PUBLIC_ALLOW_CREDENTIALS=true
|
||||
TRELLO_APP_API_KEY=
|
||||
TRELLO_APP_API_SECRET=
|
||||
TRELLO_APP_SECRET=
|
||||
HOSTNAME=0.0.0.0
|
||||
PORT=3000
|
||||
API_PORT=4000
|
||||
KAN_API_URL=http://127.0.0.1:4000
|
||||
NODE_ENV=production
|
||||
EOF
|
||||
msg_ok "Configured Application"
|
||||
@@ -49,6 +51,8 @@ $STD pnpm install --ignore-scripts --prod=false
|
||||
export CI=true
|
||||
find /opt/kan/packages /opt/kan/apps -name 'tsconfig.json' -exec sed -i 's|"@kan/tsconfig/|"../../tooling/typescript/|g' {} +
|
||||
$STD pnpm build --filter=@kan/web
|
||||
cd /opt/kan/apps/api
|
||||
$STD node build.mjs
|
||||
unset NEXT_PUBLIC_USE_STANDALONE_OUTPUT CI
|
||||
msg_ok "Built Application"
|
||||
|
||||
@@ -63,12 +67,31 @@ cd /opt/kan/packages/db
|
||||
POSTGRES_URL="postgres://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}" $STD pnpm exec drizzle-kit migrate
|
||||
msg_ok "Ran Database Migrations"
|
||||
|
||||
msg_info "Creating Service"
|
||||
msg_info "Creating Services"
|
||||
cat <<EOF >/etc/systemd/system/kan-api.service
|
||||
[Unit]
|
||||
Description=Kan API
|
||||
After=network.target postgresql.service
|
||||
Requires=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/kan/apps/api/dist
|
||||
EnvironmentFile=/opt/kan/.env
|
||||
ExecStart=/usr/bin/node main.mjs
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
cat <<EOF >/etc/systemd/system/kan.service
|
||||
[Unit]
|
||||
Description=Kan Board
|
||||
After=network.target postgresql.service
|
||||
After=network.target postgresql.service kan-api.service
|
||||
Requires=postgresql.service
|
||||
Wants=kan-api.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
@@ -82,8 +105,8 @@ RestartSec=5
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now kan
|
||||
msg_ok "Created Service"
|
||||
systemctl enable -q --now kan-api kan
|
||||
msg_ok "Created Services"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
@@ -15,7 +15,7 @@ update_os
|
||||
|
||||
NODE_VERSION="26" NODE_MODULE="yarn" setup_nodejs
|
||||
PG_VERSION="16" setup_postgresql
|
||||
PHP_VERSION="8.5" PHP_APACHE="YES" setup_php
|
||||
PHP_VERSION="8.6" PHP_APACHE="YES" setup_php
|
||||
setup_composer
|
||||
PG_DB_NAME="koillection" PG_DB_USER="koillection" setup_postgresql_db
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
|
||||
NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs
|
||||
PG_VERSION="17" setup_postgresql
|
||||
PG_DB_NAME="nocobase" PG_DB_USER="nocobase" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db
|
||||
|
||||
|
||||
Reference in new issue
Block a user