mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-10 07:56:26 +00:00
Compare commits
1 Commits
github-act
...
fix-paperc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b914363724 |
@@ -540,14 +540,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
## 2026-09-10
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- fix(hermesagent): wait for root gateway cleanup [@steveonjava](https://github.com/steveonjava) ([#17147](https://github.com/community-scripts/ProxmoxVE/pull/17147))
|
|
||||||
|
|
||||||
## 2026-09-09
|
## 2026-09-09
|
||||||
|
|
||||||
### 🆕 New Scripts
|
### 🆕 New Scripts
|
||||||
|
|||||||
@@ -56,11 +56,6 @@ function update_script() {
|
|||||||
mapfile -t root_gateway_pids < <(ps -eo user=,pid=,args= | awk '$1 == "root" && $0 ~ /\/home\/hermes\/\.hermes\/hermes-agent\/venv\/bin\/python -m hermes_cli\.main gateway run --replace$/ { print $2 }')
|
mapfile -t root_gateway_pids < <(ps -eo user=,pid=,args= | awk '$1 == "root" && $0 ~ /\/home\/hermes\/\.hermes\/hermes-agent\/venv\/bin\/python -m hermes_cli\.main gateway run --replace$/ { print $2 }')
|
||||||
if ((${#root_gateway_pids[@]})); then
|
if ((${#root_gateway_pids[@]})); then
|
||||||
kill -TERM "${root_gateway_pids[@]}"
|
kill -TERM "${root_gateway_pids[@]}"
|
||||||
for pid in "${root_gateway_pids[@]}"; do
|
|
||||||
while kill -0 "$pid" 2>/dev/null; do
|
|
||||||
sleep 0.1
|
|
||||||
done
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
chown -R hermes:hermes /home/hermes
|
chown -R hermes:hermes /home/hermes
|
||||||
msg_ok "Updated Hermes Agent"
|
msg_ok "Updated Hermes Agent"
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ function update_script() {
|
|||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
|
setup_rust
|
||||||
|
|
||||||
msg_info "Rebuilding Paperclip"
|
msg_info "Rebuilding Paperclip"
|
||||||
cd /opt/paperclip-ai
|
cd /opt/paperclip-ai
|
||||||
export HUSKY=0
|
export HUSKY=0
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ msg_ok "Installed Dependencies"
|
|||||||
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
|
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
|
||||||
PG_VERSION="17" setup_postgresql
|
PG_VERSION="17" setup_postgresql
|
||||||
PG_DB_NAME="paperclip" PG_DB_USER="paperclip" setup_postgresql_db
|
PG_DB_NAME="paperclip" PG_DB_USER="paperclip" setup_postgresql_db
|
||||||
|
setup_rust
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "paperclip-ai" "paperclipai/paperclip" "tarball"
|
fetch_and_deploy_gh_release "paperclip-ai" "paperclipai/paperclip" "tarball"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user