Compare commits

...
Author SHA1 Message Date
MickLesk eecb57c7b4 LibreChat: rebuild the RAG API venv on update, keep uploads
The clean install of rag-api removed .venv, and the update called
.venv/bin/pip, so every rag-api update failed with exit 127 and left
the service stopped; the pending marker repeated it on each run. The
update now creates the venv like the install does, and keeps uploads/,
the RAG_UPLOAD_DIR. LibreChat's clean install likewise keeps
librechat.yaml, uploads/, client/public/images and api/logs instead of
deleting them.

Fixes #19042
2026-11-26 11:31:14 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 6176f76322 Update CHANGELOG.md (#19054)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-26 09:56:10 +00:00
2 changed files with 12 additions and 2 deletions

No files matched your search

+6
View File
@@ -595,6 +595,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- FreshRSS: fix automatic feeds update [@CrazyWolf13](https://github.com/CrazyWolf13) ([#19044](https://github.com/community-scripts/ProxmoxVE/pull/19044))
### 🧰 Tools
- #### ✨ New Features
- PVE Post Install: support Proxmox VE 9.3 [@MickLesk](https://github.com/MickLesk) ([#19053](https://github.com/community-scripts/ProxmoxVE/pull/19053))
## 2026-11-25
### 🆕 New Scripts
+6 -2
View File
@@ -40,7 +40,7 @@ function update_script() {
create_backup /opt/librechat/.env
CLEAN_INSTALL=1 fetch_and_deploy_gh_tag "librechat" "danny-avila/LibreChat"
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="librechat.yaml uploads client/public/images api/logs" fetch_and_deploy_gh_tag "librechat" "danny-avila/LibreChat"
restore_backup
@@ -68,13 +68,17 @@ function update_script() {
create_backup /opt/rag-api/.env
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rag-api" "danny-avila/rag_api" "tarball"
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="uploads" fetch_and_deploy_gh_release "rag-api" "danny-avila/rag_api" "tarball"
restore_backup
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating RAG API Dependencies"
cd /opt/rag-api
$STD uv venv --python 3.12 --seed .venv
$STD .venv/bin/pip install -r requirements.lite.txt
mkdir -p /opt/rag-api/uploads
msg_ok "Updated RAG API Dependencies"
msg_info "Starting RAG API"