mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-26 02:14:58 +02:00
Compare commits
3 Commits
CrazyWolf1
...
fix/open-a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dce2984ef0 | ||
|
|
62a6122fa6 | ||
|
|
45953e857a |
@@ -469,6 +469,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
## 2026-05-25
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- karakeep: fix: pip config [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14703](https://github.com/community-scripts/ProxmoxVE/pull/14703))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
@@ -46,6 +46,14 @@ function update_script() {
|
||||
fi
|
||||
msg_ok "Update prepared"
|
||||
|
||||
if [ ! -f ~/.config/pip/pip.conf ]; then
|
||||
mkdir -p ~/.config/pip
|
||||
cat <<EOF >~/.config/pip/pip.conf
|
||||
[global]
|
||||
break-system-packages = true
|
||||
EOF
|
||||
fi
|
||||
|
||||
if grep -q "start:prod" /etc/systemd/system/karakeep-workers.service; then
|
||||
sed -i 's|^ExecStart=.*$|ExecStart=/usr/bin/node dist/index.mjs|' /etc/systemd/system/karakeep-workers.service
|
||||
systemctl daemon-reload
|
||||
|
||||
@@ -43,6 +43,7 @@ function update_script() {
|
||||
msg_info "Updating Open Archiver"
|
||||
cd /opt/openarchiver
|
||||
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||
$STD pnpm approve-builds --yes
|
||||
$STD pnpm run build:oss
|
||||
$STD pnpm db:migrate
|
||||
msg_ok "Updated Open Archiver"
|
||||
|
||||
@@ -36,6 +36,11 @@ NODE_VERSION="24" NODE_MODULE="pnpm@${MODULE_VERSION}" setup_nodejs
|
||||
|
||||
msg_info "Installing external JavaScript Extension for yt-dlp"
|
||||
$STD pip install -U yt-dlp-ejs
|
||||
mkdir -p ~/.config/pip
|
||||
cat <<EOF >~/.config/pip/pip.conf
|
||||
[global]
|
||||
break-system-packages = true
|
||||
EOF
|
||||
msg_ok "Installed external JavaScript Extension for yt-dlp"
|
||||
|
||||
msg_info "Installing karakeep"
|
||||
|
||||
@@ -46,6 +46,7 @@ sed -i "s|^ENCRYPTION_KEY=.*|ENCRYPTION_KEY=$SECRET_KEY|g" /opt/openarchiver/.en
|
||||
sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env
|
||||
sed -i "s|^ORIGIN=.*|ORIGIN=http://$LOCAL_IP:3000|g" /opt/openarchiver/.env
|
||||
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||
$STD pnpm approve-builds --yes
|
||||
$STD pnpm run build:oss
|
||||
$STD pnpm db:migrate
|
||||
msg_ok "Setup Open Archiver"
|
||||
|
||||
Reference in New Issue
Block a user